mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-31 11:01:36 +08:00
fix(ui): improve AboutSection styling and version detection
- Add framer-motion animations for smooth page transitions - Unify button sizes and add icons for consistency - Add gradient backgrounds and hover effects to cards - Add notInstalled i18n translations (zh/en/ja) - Fix version detection when stdout/stderr is empty
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
"about": "About",
|
||||
"version": "Version",
|
||||
"loading": "Loading...",
|
||||
"notInstalled": "Not installed",
|
||||
"success": "Success",
|
||||
"error": "Error",
|
||||
"unknown": "Unknown",
|
||||
@@ -28,7 +29,10 @@
|
||||
"formatError": "Format failed: {{error}}",
|
||||
"copy": "Copy",
|
||||
"view": "View",
|
||||
"back": "Back"
|
||||
"back": "Back",
|
||||
"refresh": "Refresh",
|
||||
"refreshing": "Refreshing...",
|
||||
"notInstalled": "Not installed"
|
||||
},
|
||||
"apiKeyInput": {
|
||||
"placeholder": "Enter API Key",
|
||||
@@ -205,6 +209,11 @@
|
||||
"releaseNotes": "Release Notes",
|
||||
"viewReleaseNotes": "View release notes for this version",
|
||||
"viewCurrentReleaseNotes": "View current version release notes",
|
||||
"oneClickInstall": "One-click Install",
|
||||
"oneClickInstallHint": "Install Claude Code / Codex / Gemini CLI",
|
||||
"localEnvCheck": "Local environment check",
|
||||
"installCommandsCopied": "Install commands copied",
|
||||
"installCommandsCopyFailed": "Copy failed, please copy manually.",
|
||||
"importFailedError": "Import config failed: {{message}}",
|
||||
"exportFailedError": "Export config failed:",
|
||||
"restartRequired": "Restart Required",
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"about": "バージョン情報",
|
||||
"version": "バージョン",
|
||||
"loading": "読み込み中...",
|
||||
"notInstalled": "未インストール",
|
||||
"success": "成功",
|
||||
"error": "エラー",
|
||||
"unknown": "不明",
|
||||
@@ -28,7 +29,10 @@
|
||||
"formatError": "整形に失敗しました: {{error}}",
|
||||
"copy": "コピー",
|
||||
"view": "表示",
|
||||
"back": "戻る"
|
||||
"back": "戻る",
|
||||
"refresh": "更新",
|
||||
"refreshing": "更新中...",
|
||||
"notInstalled": "未インストール"
|
||||
},
|
||||
"apiKeyInput": {
|
||||
"placeholder": "API Key を入力",
|
||||
@@ -205,6 +209,11 @@
|
||||
"releaseNotes": "リリースノート",
|
||||
"viewReleaseNotes": "このバージョンのリリースノートを見る",
|
||||
"viewCurrentReleaseNotes": "現在のバージョンのリリースノートを見る",
|
||||
"oneClickInstall": "ワンクリックインストール",
|
||||
"oneClickInstallHint": "Claude Code / Codex / Gemini CLI をインストール",
|
||||
"localEnvCheck": "ローカル環境チェック",
|
||||
"installCommandsCopied": "インストールコマンドをコピーしました",
|
||||
"installCommandsCopyFailed": "コピーに失敗しました。手動でコピーしてください。",
|
||||
"importFailedError": "設定のインポートに失敗しました: {{message}}",
|
||||
"exportFailedError": "設定のエクスポートに失敗しました:",
|
||||
"restartRequired": "再起動が必要です",
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"about": "关于",
|
||||
"version": "版本",
|
||||
"loading": "加载中...",
|
||||
"notInstalled": "未安装",
|
||||
"success": "成功",
|
||||
"error": "错误",
|
||||
"unknown": "未知",
|
||||
@@ -28,7 +29,10 @@
|
||||
"formatError": "格式化失败:{{error}}",
|
||||
"copy": "复制",
|
||||
"view": "查看",
|
||||
"back": "返回"
|
||||
"back": "返回",
|
||||
"refresh": "刷新",
|
||||
"refreshing": "刷新中...",
|
||||
"notInstalled": "未安装"
|
||||
},
|
||||
"apiKeyInput": {
|
||||
"placeholder": "请输入API Key",
|
||||
@@ -205,6 +209,11 @@
|
||||
"releaseNotes": "更新日志",
|
||||
"viewReleaseNotes": "查看该版本更新日志",
|
||||
"viewCurrentReleaseNotes": "查看当前版本更新日志",
|
||||
"oneClickInstall": "一键安装",
|
||||
"oneClickInstallHint": "安装 Claude Code / Codex / Gemini CLI",
|
||||
"localEnvCheck": "本地环境检查",
|
||||
"installCommandsCopied": "安装命令已复制",
|
||||
"installCommandsCopyFailed": "复制失败,请手动复制。",
|
||||
"importFailedError": "导入配置失败:{{message}}",
|
||||
"exportFailedError": "导出配置失败:",
|
||||
"restartRequired": "需要重启应用",
|
||||
|
||||
Reference in New Issue
Block a user