diff --git a/locales/en.json b/locales/en.json index 91da559..7dccc9e 100644 --- a/locales/en.json +++ b/locales/en.json @@ -218,6 +218,32 @@ "title": "title", "proxy_settings": "Proxy Settings", "remember_window_size": "Remember Window Size", + "scheduled_shutdown": "Scheduled Shutdown Settings", + "scheduled_shutdown_time": "Daily shutdown time", + "scheduled_shutdown_pick_time": "Select daily shutdown time", + "scheduled_shutdown_more": "Open shutdown settings", + "scheduled_shutdown_tip": "Start the shutdown countdown at the selected time every day", + "scheduled_shutdown_system_message": "StreamCap scheduled shutdown started; it can be cancelled within 60 seconds", + "scheduled_shutdown_countdown": "The system will shut down in {seconds} seconds.", + "scheduled_shutdown_cancel": "Cancel this shutdown", + "scheduled_shutdown_cancelled": "This shutdown has been cancelled", + "scheduled_shutdown_failed": "Unable to start scheduled shutdown: {error}", + "scheduled_shutdown_cancel_failed": "Unable to cancel this shutdown: {error}", + "quick_shutdown": "Quick Shutdown", + "quick_shutdown_hours_suffix": "hours", + "quick_shutdown_ready": "Enter 1-{max_hours} hours, then start", + "quick_shutdown_invalid_hours": "Enter a number of hours from 1 to {max_hours}", + "quick_shutdown_start": "Start", + "quick_shutdown_start_tip": "Schedule shutdown after a number of hours", + "quick_shutdown_cancel": "Cancel quick shutdown", + "quick_shutdown_confirm_title": "Confirm Quick Shutdown", + "quick_shutdown_confirm_content": "The computer will shut down in {hours} hour(s), at {time}. Start the timer?", + "quick_shutdown_active": "Scheduled shutdown: {time}", + "quick_shutdown_started": "Shutdown scheduled for {time}", + "quick_shutdown_cancelled": "Quick shutdown cancelled", + "quick_shutdown_failed": "Unable to schedule quick shutdown: {error}", + "quick_shutdown_cancel_failed": "Unable to cancel quick shutdown: {error}", + "quick_shutdown_system_message": "StreamCap quick shutdown: {hours}-hour countdown", "is_proxy_enabled": "Configuration for using proxy and related settings", "enable_proxy": "Enable Proxy", "proxy_address": "Proxy Address", @@ -511,4 +537,4 @@ "login_failed": "Username or password is incorrect", "login_success": "Login successful" } -} +} \ No newline at end of file diff --git a/locales/zh_CN.json b/locales/zh_CN.json index eeadfa4..7e7eefe 100644 --- a/locales/zh_CN.json +++ b/locales/zh_CN.json @@ -217,6 +217,32 @@ "time": "时间", "title": "标题", "remember_window_size": "退出时记住窗口大小", + "scheduled_shutdown": "定时关机设置", + "scheduled_shutdown_time": "每日关机时间", + "scheduled_shutdown_pick_time": "选择每日关机时间", + "scheduled_shutdown_more": "打开关机设置", + "scheduled_shutdown_tip": "启用后,程序将在每天指定时间启动关机倒计时", + "scheduled_shutdown_system_message": "StreamCap 定时关机任务已触发,可在 60 秒内取消", + "scheduled_shutdown_countdown": "系统将在 {seconds} 秒后关机。", + "scheduled_shutdown_cancel": "取消本次关机", + "scheduled_shutdown_cancelled": "已取消本次关机", + "scheduled_shutdown_failed": "无法启动定时关机:{error}", + "scheduled_shutdown_cancel_failed": "无法取消本次关机:{error}", + "quick_shutdown": "快捷关机", + "quick_shutdown_hours_suffix": "小时后", + "quick_shutdown_ready": "输入 1–{max_hours} 小时后开始", + "quick_shutdown_invalid_hours": "请输入 1 到 {max_hours} 之间的小时数", + "quick_shutdown_start": "开始", + "quick_shutdown_start_tip": "设置小时倒计时关机", + "quick_shutdown_cancel": "取消快捷关机", + "quick_shutdown_confirm_title": "确认快捷关机", + "quick_shutdown_confirm_content": "电脑将在 {hours} 小时后({time})关机,是否开始?", + "quick_shutdown_active": "计划关机时间:{time}", + "quick_shutdown_started": "已设置在 {time} 关机", + "quick_shutdown_cancelled": "已取消快捷关机", + "quick_shutdown_failed": "无法设置快捷关机:{error}", + "quick_shutdown_cancel_failed": "无法取消快捷关机:{error}", + "quick_shutdown_system_message": "StreamCap 快捷关机:{hours} 小时倒计时", "proxy_settings": "代理设置", "is_proxy_enabled": "设置是否使用代理及相关配置", "enable_proxy": "开启代理", @@ -511,4 +537,4 @@ "login_failed": "用户名或密码错误", "login_success": "登录成功" } -} +} \ No newline at end of file