fix(i18n): complete Simplified Chinese core and plugin translations (#1542)

* fix(i18n): complete Chinese onboarding and navigation labels

* fix(i18n): translate remaining Chinese core and plugin interfaces

* fix(i18n): translate host editor tab overflow controls

* fix(i18n): use consistent Chinese fleet terminology

* fix(i18n): localize hardcoded controls and plugin views

* fix(i18n): translate built-in homepage widget catalog

* test(homepage): follow translated timezone placeholder

* fix(i18n): translate plugin-provided homepage widgets

* fix(i18n): localize feature settings section titles
This commit is contained in:
ZacharyZcR authored and GitHub committed 2026-10-03 21:37:00 +08:00
1 parent 13f5736d8f
commit 0214a81e5d
78 files changed
+2423 -1833

No files matched your search

+4 -1
View File
@@ -231,5 +231,8 @@
"targetTerminals": "Run in",
"targetTerminalsHint": "optional, else the active tab",
"selectAll": "All",
"selectNone": "None"
"selectNone": "None",
"plugin": {
"name": "Snippets"
}
}
+93 -90
View File
@@ -8,50 +8,50 @@
},
"permissions": {
"view": {
"title": "View snippets",
"description": "See your own snippets, notes and shared snippets."
"title": "查看代码片段",
"description": "查看你自己的代码片段、笔记及共享的代码片段。"
},
"create": {
"title": "Create snippets",
"description": "Create new snippets, notes and folders."
"title": "创建代码片段",
"description": "创建新的代码片段、笔记和文件夹。"
},
"edit": {
"title": "Edit snippets",
"description": "Rename or change existing snippets and folders."
"title": "编辑代码片段",
"description": "重命名或修改现有代码片段和文件夹。"
},
"delete": {
"title": "Delete snippets",
"description": "Delete snippets and folders."
"title": "删除代码片段",
"description": "删除代码片段和文件夹。"
},
"share": {
"title": "Share snippets",
"description": "Share snippets and folders with other users or roles."
"title": "共享代码片段",
"description": "与其他用户或角色共享代码片段和文件夹。"
}
},
"settings": {
"foldersCollapsed": {
"label": "默认折叠文件夹",
"description": "Start each snippet folder collapsed when you open the Snippets panel."
"description": "打开代码片段面板时,默认折叠所有代码片段文件夹。"
},
"showCommands": {
"label": "Show commands",
"description": "Show the first line of each snippet's command under its name."
"label": "显示命令",
"description": "在代码片段名称下方显示其命令的第一行。"
},
"confirmExecution": {
"label": "Confirm before running",
"description": "Ask before a command snippet runs in a terminal."
"label": "执行前确认",
"description": "在终端中执行命令类代码片段前询问。"
}
},
"cancel": "取消",
"loading": "加载中...",
"searchPlaceholder": "搜索代码片段",
"newFolder": "新建文件夹",
"newSnippet": "New snippet",
"newSnippet": "新建代码片段",
"noFolder": "无文件夹",
"noSnippetsInFolder": "此文件夹中没有代码片段",
"noTerminalTabsOpen": "No terminal tab is open",
"noTerminalTabsOpen": "没有打开的终端标签页",
"run": "运行",
"pasteToTerminal": "Paste to terminal",
"pasteToTerminal": "粘贴到终端",
"copySuccess": "已复制到剪贴板",
"importExport": "导入 / 导出",
"importFailed": "导入代码片段失败",
@@ -62,37 +62,37 @@
"folderLabel": "文件夹",
"typeLabel": "类型",
"typeCommand": "命令",
"typeNote": "Note",
"typeNote": "笔记",
"commandLabel": "命令",
"commandPlaceholder": "Command to run, e.g. systemctl status $HOST",
"noteLabel": "Note",
"notePlaceholder": "Text to paste into the terminal",
"createSnippetTitle": "Create snippet",
"createSnippetButton": "Create snippet",
"createSuccess": "Snippet created",
"commandPlaceholder": "要执行的命令,例如 systemctl status $HOST",
"noteLabel": "笔记",
"notePlaceholder": "要粘贴到终端的文本",
"createSnippetTitle": "创建代码片段",
"createSnippetButton": "创建代码片段",
"createSuccess": "代码片段已创建",
"createFailed": "创建代码片段失败",
"editSnippetTitle": "Edit snippet",
"saveSnippetButton": "Save snippet",
"updateSuccess": "Snippet updated",
"editSnippetTitle": "编辑代码片段",
"saveSnippetButton": "保存代码片段",
"updateSuccess": "代码片段已更新",
"updateFailed": "更新代码片段失败",
"deleteFailed": "删除代码片段失败",
"createFolderTitle": "创建文件夹",
"createFolderButton": "创建文件夹",
"folderCreateSuccess": "Folder created",
"folderCreateSuccess": "文件夹已创建",
"folderCreateFailed": "创建文件夹失败",
"editFolderTitle": "编辑文件夹",
"saveFolderButton": "保存文件夹",
"folderEditSuccess": "Folder updated",
"folderEditSuccess": "文件夹已更新",
"folderEditFailed": "更新文件夹失败",
"folderNameLabel": "文件夹名称",
"folderNamePlaceholder": "文件夹名称",
"folderIconLabel": "图标",
"folderDeleteSuccess": "Folder deleted",
"folderDeleteSuccess": "文件夹已删除",
"folderDeleteFailed": "删除文件夹失败",
"confirmRunMessage": "运行“{{name}}”?",
"confirmRunButton": "运行",
"runSuccess": "Ran \"{{name}}\" on {{count}} terminal(s)",
"pasteSuccess": "Pasted \"{{name}}\" into {{count}} terminal(s)",
"runSuccess": "已在 {{count}} 个终端中执行“{{name}}”",
"pasteSuccess": "已将“{{name}}”粘贴到 {{count}} 个终端",
"admin": {
"tabTitle": "代码片段",
"count": "{{count}} 个代码片段",
@@ -110,101 +110,101 @@
"saving": "保存中...",
"save": "保存"
},
"backToSnippets": "Back to snippets",
"settingsTitle": "Snippet settings",
"settingsDisplayTitle": "Display",
"backToSnippets": "返回代码片段",
"settingsTitle": "代码片段设置",
"settingsDisplayTitle": "显示",
"settingsBehaviorTitle": "交互",
"typeCommandHint": "Runs in the active terminal.",
"typeNoteHint": "Pastes into the active terminal without running.",
"typeCommandHint": "在当前终端中执行。",
"typeNoteHint": "粘贴到当前终端,但不执行。",
"variablesHint": "变量:$HOST、$USER、$PORT、$NAME、${INPUT_1:Label}",
"doubleClickToRun": "Double click to run",
"doubleClickToRun": "双击执行",
"sharedBadge": "已共享",
"copyToClipboard": "Copy to clipboard",
"copyToClipboard": "复制到剪贴板",
"copyFailed": "复制到剪贴板失败",
"moreOptions": "More options",
"moreOptions": "更多选项",
"moreActions": "更多操作",
"moveToFolder": "Move to folder",
"deleteSnippet": "Delete snippet",
"deleteSnippetConfirm": "Delete snippet \"{{name}}\"?",
"moveToFolder": "移至文件夹",
"deleteSnippet": "删除代码片段",
"deleteSnippetConfirm": "删除代码片段“{{name}}”?",
"deleteSuccess": "代码片段已删除",
"delete": "删除",
"folderActions": "Folder actions",
"addSnippetHere": "New snippet here",
"folderActions": "文件夹操作",
"addSnippetHere": "在此新建代码片段",
"deleteFolder": "删除文件夹",
"deleteFolderConfirm": "Delete folder \"{{name}}\"? Its snippets move out of the folder.",
"createFolderDescription": "Group related snippets together.",
"editFolderDescription": "Change this folder's name, color or icon.",
"deleteFolderConfirm": "删除文件夹“{{name}}”?其中的代码片段将移出文件夹。",
"createFolderDescription": "将相关代码片段归入同一组。",
"editFolderDescription": "更改此文件夹的名称、颜色或图标。",
"folderColorLabel": "颜色",
"loadFailed": "Failed to load snippets",
"loadFailed": "加载代码片段失败",
"importSkipExisting": "导入(跳过现有)",
"importOverwrite": "Import (overwrite existing)",
"importInvalidFile": "That file is not a valid snippets export",
"importSuccess": "Imported {{imported}}, updated {{updated}}, skipped {{skipped}}",
"exportSnippets": "Export snippets",
"exportSuccess": "Snippets exported",
"importOverwrite": "导入(覆盖已有内容)",
"importInvalidFile": "该文件不是有效的代码片段导出文件",
"importSuccess": "已导入 {{imported}} 项,更新 {{updated}} 项,跳过 {{skipped}} 项",
"exportSnippets": "导出代码片段",
"exportSuccess": "代码片段已导出",
"exportFailed": "导出代码片段失败",
"expandAll": "展开所有文件夹",
"collapseAll": "收起所有文件夹",
"docsLink": "文档",
"clearSearch": "Clear search",
"noSearchResults": "No snippets match your search",
"clearSearch": "清除搜索",
"noSearchResults": "没有符合搜索条件的代码片段",
"emptyTitle": "目前还没有代码片段",
"emptyDescription": "Save commands you run often, then run them in a terminal with one click.",
"shareSnippet": "Share snippet",
"shareFolder": "Share folder",
"emptyDescription": "保存常用命令,即可在终端中一键执行。",
"shareSnippet": "共享代码片段",
"shareFolder": "共享文件夹",
"shareExpiry": "过期时间",
"shareExpiryOptions": {
"h0": "从未",
"h1": "In 1 hour",
"h24": "In 1 day",
"h168": "In 7 days",
"h720": "In 30 days"
"h1": "1 小时后",
"h24": "1 天后",
"h168": "7 天后",
"h720": "30 天后"
},
"shareButton": "共享",
"shareSuccess": "Shared with {{count}}",
"shareSuccess": "已共享给 {{count}} 个对象",
"shareFailed": "共享失败",
"shareLoadFailed": "Failed to load sharing details",
"shareLoadFailed": "加载共享详情失败",
"currentAccess": "当前访问权限",
"notSharedYet": "Not shared with anyone yet",
"notSharedYet": "尚未共享给任何人",
"revokeAccess": "吊销",
"revokeSuccess": "访问权限已撤销",
"revokeFailed": "撤销访问权限失败",
"close": "关闭",
"targetHostsLabel": "Target hosts",
"targetHostsHint": "Pick hosts to run this command on directly, without a terminal open. Leave empty to run it in the active terminal.",
"targetHostsLabel": "目标主机",
"targetHostsHint": "选择直接执行此命令的主机,无需打开终端。留空则在当前终端中执行。",
"clearTargetHosts": "清除",
"noHostsAvailable": "暂无可用主机",
"searchHosts": "搜索主机",
"runOnTargets": "Run on target hosts",
"executionResultTitle": "Results for \"{{name}}\"",
"executionResultDescription": "Output from each target host.",
"runOnTargets": "在目标主机上执行",
"executionResultTitle": "“{{name}}”的执行结果",
"executionResultDescription": "各目标主机的输出。",
"executionSuccess": "成功",
"executionFailed": "失败",
"directRunSuccess": "已在 {{count}} 台主机上运行 \"{{name}}\"",
"directRunPartialFail": "\"{{name}}\" failed on some hosts",
"directRunPartialFail": "“{{name}}”在部分主机上执行失败",
"reorderFailed": "重新排序代码片段失败",
"dropToRemoveFromFolder": "Drop here to move out of the folder",
"shareSnippetTitle": "Share \"{{name}}\"",
"shareFolderTitle": "Share folder \"{{name}}\"",
"dropToRemoveFromFolder": "拖放到此处以移出文件夹",
"shareSnippetTitle": "共享“{{name}}”",
"shareFolderTitle": "共享文件夹“{{name}}”",
"shareWith": "共享给",
"usersTab": "用户",
"rolesTab": "角色",
"shareSearchPlaceholder": "搜索用户或角色",
"shareNoMatches": "No matches",
"shareWithCount": "Share with {{count}}",
"shareFolderHint": "Shares every snippet in this folder. Snippets added later are not shared automatically.",
"shareFolderSummary": "Shared {{count}} snippet(s) in this folder",
"shareNoMatches": "没有匹配项",
"shareWithCount": "共享给 {{count}} 个对象",
"shareFolderHint": "共享此文件夹中的所有代码片段,后续添加的代码片段不会自动共享。",
"shareFolderSummary": "已共享此文件夹中的 {{count}} 个代码片段",
"grantedBy": "授权者",
"expired": "已过期",
"variablesDialogTitle": "运行“{{name}}”",
"variablesDialogDescription": "Fill in the values this snippet needs before running it.",
"variablesDialogDescription": "执行前请填写此代码片段需要的值。",
"variablesPreviewLabel": "预览",
"variablesConfirmButton": "运行",
"keybindings": {
"runSnippet": "Run existing snippet",
"snippetLabel": "Snippet",
"runSnippet": "执行已有代码片段",
"snippetLabel": "代码片段",
"selectSnippet": "选择代码片段",
"snippetMissing": "snippet not found",
"snippetMissing": "未找到代码片段",
"snippetRequired": "选择代码片段"
},
"paletteHintRun": "在活动终端标签页中运行",
@@ -217,9 +217,9 @@
"selectSnippet": "选择代码片段……",
"addQuickAction": "添加操作",
"tabTitle": "代码片段",
"startupDescription": "Runs in the terminal each time it connects to this host. Variables like $HOST are filled in; a snippet that asks for inputs is skipped.",
"startupDescription": "每次连接此主机时在终端中执行。$HOST 等变量会自动填入;需要输入参数的代码片段将被跳过。",
"none": "全不选",
"removeQuickAction": "Remove quick action"
"removeQuickAction": "移除快捷操作"
},
"quickActions": {
"running": "正在执行 {{name}}...",
@@ -227,9 +227,12 @@
"failed": "{{name}} 执行失败",
"error": "执行 {{name}} 失败"
},
"paletteHintPaste": "Paste in the active terminal tab",
"targetTerminals": "Run in",
"targetTerminalsHint": "optional, else the active tab",
"paletteHintPaste": "粘贴到当前终端标签页",
"targetTerminals": "执行位置",
"targetTerminalsHint": "可选,留空则使用当前标签页",
"selectAll": "全部",
"selectNone": "全不选"
"selectNone": "全不选",
"plugin": {
"name": "代码片段"
}
}