"use client"; import React from "react"; import { RotateCcw } from "lucide-react"; import { BoothConfig } from "@/types/booth"; import { useI18n } from "@/lib/i18n"; interface RateLimitedScreenProps { config: BoothConfig; resetMinutes: number; onReset: () => void; } export const RateLimitedScreen: React.FC = ({ config, resetMinutes, onReset, }) => { const { t } = useI18n(); return (
⏳

{t({ en: "Martial Energy Cooling Down! ⚡", zh: "武道气合修整中!⚡" })}

{t({ en: "You have conjured the maximum number of Halloween portraits for this session.", zh: "当前设备生成的万圣武道照已达上限,稍作休息吧!" })}

{resetMinutes > 0 && (

{t({ en: `More energy ready in approx ${resetMinutes} minutes.`, zh: `预计约 ${resetMinutes} 分钟后恢复。` })}

)}
); };