From 3f470de60854cc02c469ed78267a06c93d8e5589 Mon Sep 17 00:00:00 2001 From: YoVinchen Date: Fri, 21 Nov 2025 11:10:16 +0800 Subject: [PATCH] chore(i18n): add auto-launch translation keys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add translation keys for new auto-launch feature to support multi-language interface. Translation Keys Added: - autoLaunch: Label for auto-launch toggle - autoLaunchDescription: Explanation of auto-launch functionality - autoLaunchEnabled: Status message when enabled Languages Updated: - Chinese (zh.json): 简体中文翻译 - English (en.json): English translations The translations maintain consistency with existing terminology and provide clear, user-friendly descriptions of the auto-launch feature across both supported languages. --- src/i18n/locales/en.json | 3 +++ src/i18n/locales/zh.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index dd51dcb..bb35976 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -167,6 +167,9 @@ "languageOptionEnglish": "English", "windowBehavior": "Window Behavior", "windowBehaviorHint": "Configure window minimize and Claude plugin integration policies.", + "launchOnStartup": "Launch on Startup", + "launchOnStartupDescription": "Automatically run CC Switch when system starts", + "autoLaunchFailed": "Failed to set auto-launch", "minimizeToTray": "Minimize to tray on close", "minimizeToTrayDescription": "When checked, clicking the close button will hide to system tray, otherwise the app will exit directly.", "enableClaudePluginIntegration": "Apply to Claude Code extension", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index df54b58..e77f121 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -167,6 +167,9 @@ "languageOptionEnglish": "English", "windowBehavior": "窗口行为", "windowBehaviorHint": "配置窗口最小化与 Claude 插件联动策略。", + "launchOnStartup": "开机自启", + "launchOnStartupDescription": "随系统启动自动运行 CC Switch", + "autoLaunchFailed": "设置开机自启失败", "minimizeToTray": "关闭时最小化到托盘", "minimizeToTrayDescription": "勾选后点击关闭按钮会隐藏到系统托盘,取消则直接退出应用。", "enableClaudePluginIntegration": "应用到 Claude Code 插件",