fix(i18n): add missing translation keys for deeplink confirmation components

- Add i18n support to McpConfirmation, PromptConfirmation, SkillConfirmation
- Add nested translation keys: deeplink.mcp.*, deeplink.prompt.*, deeplink.skill.*
- Replace all hardcoded Chinese strings with t() function calls
- Ensure consistent localization across all deeplink import dialogs
This commit is contained in:
Jason
2025-11-25 09:52:19 +08:00
parent 60fa9654e1
commit fd46dde3fb
5 changed files with 75 additions and 21 deletions
+24 -1
View File
@@ -787,7 +787,30 @@
"configRemote": "Remote Config",
"configDetails": "Config Details",
"configUrl": "Config File URL",
"configMergeError": "Failed to merge configuration file"
"configMergeError": "Failed to merge configuration file",
"mcp": {
"title": "Batch Import MCP Servers",
"targetApps": "Target Apps",
"serverCount": "MCP Servers ({{count}})",
"enabledWarning": "After import, configurations will be written to all specified apps immediately"
},
"prompt": {
"title": "Import System Prompt",
"app": "App",
"name": "Name",
"description": "Description",
"contentPreview": "Content Preview",
"enabledWarning": "After import, this prompt will be enabled immediately and other prompts will be disabled"
},
"skill": {
"title": "Add Claude Skill Repository",
"repo": "GitHub Repository",
"directory": "Target Directory",
"branch": "Branch",
"skillsPath": "Skills Path",
"hint": "This will add the Skill repository to the list.",
"hintDetail": "After adding, you can install specific Skills from the Skills management page."
}
},
"iconPicker": {
"search": "Search Icons",
+24 -1
View File
@@ -787,7 +787,30 @@
"configRemote": "远程配置",
"configDetails": "配置详情",
"configUrl": "配置文件 URL",
"configMergeError": "合并配置文件失败"
"configMergeError": "合并配置文件失败",
"mcp": {
"title": "批量导入 MCP Servers",
"targetApps": "目标应用",
"serverCount": "MCP Servers ({{count}} 个)",
"enabledWarning": "导入后将立即写入所有指定应用的配置文件"
},
"prompt": {
"title": "导入系统提示词",
"app": "应用",
"name": "名称",
"description": "描述",
"contentPreview": "内容预览",
"enabledWarning": "导入后将立即启用此提示词,其他提示词将被禁用"
},
"skill": {
"title": "添加 Claude Skill 仓库",
"repo": "GitHub 仓库",
"directory": "目标目录",
"branch": "分支",
"skillsPath": "Skills 路径",
"hint": "此操作将添加 Skill 仓库到列表。",
"hintDetail": "添加后,您可以在 Skills 管理界面中选择安装具体的 Skill。"
}
},
"iconPicker": {
"search": "搜索图标",