Skip to content

Commit fe3743d

Browse files
committed
i18n: translations for zh-cn, zh-tw
1 parent 6c51981 commit fe3743d

File tree

5 files changed

+26
-6
lines changed

5 files changed

+26
-6
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"typescript.tsdk": "node_modules\\typescript\\lib",
1717
"i18n-ally.localesPaths": ".",
18-
"i18n-ally.sourceLanguage": "en",
18+
"i18n-ally.sourceLanguage": "zh-CN",
1919
"i18n-ally.keystyle": "flat",
2020
"i18n-ally.preferredDelimiter": "_",
2121
"i18n-ally.sortKeys": true,

package.nls.es-es.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,6 @@
8787
"view.progress_submenu.empty_keys": "Vacío",
8888
"view.progress_submenu.missing_keys": "Falta",
8989
"view.progress_submenu.translated_keys": "Traducido",
90-
"view.tree": "Árbol"
90+
"view.tree": "Árbol",
91+
"view.usage": "Informe de uso"
9192
}

package.nls.ja-jp.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"feedback.report_issues": "Issuesを報告する",
4343
"feedback.support": "支援する",
4444
"feedback.twitter_feedback": "Feedbackする",
45+
"misc.missing_key": "{0}: \"{1}\"は存在しません",
4546
"misc.missing_translation": "{0}: \"{1}\"の翻訳がありません",
4647
"misc.not_exists": "翻訳がありません",
4748
"prompt.button_cancel": "キャンセル",
@@ -95,4 +96,4 @@
9596
"view.usage": "使用状況レポート",
9697
"view.usage_keys_in_use": "{0} キーを使用中",
9798
"view.usage_keys_not_in_use": "{0} キーは使用していません"
98-
}
99+
}

package.nls.zh-cn.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"command.locale_visibility_show": "显示此语言",
1212
"command.open_key": "转到定义",
1313
"command.open_url": "打开网址",
14+
"command.refresh_usage": "刷新使用情况分析",
1415
"command.rename_key": "重命名路径",
1516
"command.set_display_language": "设为显示语言",
1617
"command.set_source_language": "设为源语言",
@@ -19,8 +20,10 @@
1920
"config.annotation_delimiter": "内联注释的分隔符",
2021
"config.annotation_max_length": "内联注释显示的最大字符数。超出的部分将显示为省略号(...)",
2122
"config.annotations": "启用内联注释",
23+
"config.deprecated": "不推荐使用。\n 请使用 \"i18n-ally\" 前缀",
2224
"config.dir_structure": "用于组织本地文件的首选目录结构",
2325
"config.display_language": "显示语言",
26+
"config.enabled_frameworks": "指定要使用的框架支持。\n如果未设置任何值,插件将自动检测框架。",
2427
"config.encoding": "语言文件编码,默认为 \"auto\"(自动识别)",
2528
"config.force_enabled": "无论如何都启用此扩展",
2629
"config.full_reload_on_changed": "当语言文件被修改时执行完整的重载。(用于.js/.ts动态导入)",
@@ -39,6 +42,7 @@
3942
"feedback.report_issues": "报告问题",
4043
"feedback.support": "支持我们",
4144
"feedback.twitter_feedback": "提供意见反馈",
45+
"misc.missing_key": "{0}: 文案路径 \"{1}\" 不存在",
4246
"misc.missing_translation": "{0}: 缺少 \"{1}\" 的翻译",
4347
"misc.not_exists": "无翻译",
4448
"prompt.button_cancel": "取消",
@@ -58,6 +62,7 @@
5862
"prompt.enter_new_keypath": "输入新的路径",
5963
"prompt.extraction_canceled": "文案提取已取消",
6064
"prompt.failed_to_locate_key": "找不到路径 \"{0}\"",
65+
"prompt.frameworks_not_found": "找不到以下框架,请检查您的设置。\n{0}",
6166
"prompt.fullfill_missing_all_confirm": "您确定要使用空字符串来填充所有丢失的文案吗?\n\n此操作无法撤消。",
6267
"prompt.fullfill_missing_confirm": "您确定要用空字符串来填充 {1} 中的 {0} 个缺失文案吗?\n\n此操作将无法撤消。",
6368
"prompt.key_already_exists": "路径已存在。覆盖当前路径或是重新输入路径?",
@@ -87,5 +92,9 @@
8792
"view.progress_submenu.empty_keys": "空值",
8893
"view.progress_submenu.missing_keys": "缺失的文案",
8994
"view.progress_submenu.translated_keys": "已翻译",
90-
"view.tree": "翻译树"
95+
"view.tree": "翻译树",
96+
"view.usage": "使用情况分析",
97+
"view.usage_keys_in_use": "{0}个文案使用中",
98+
"view.usage_keys_missing": "{0}个文案缺失",
99+
"view.usage_keys_not_in_use": "{0}个文案未被使用"
91100
}

package.nls.zh-tw.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"command.locale_visibility_show": "顯示此語言",
1212
"command.open_key": "轉到定義",
1313
"command.open_url": "打開網址",
14+
"command.refresh_usage": "刷新使用情況分析",
1415
"command.rename_key": "重命名路徑",
1516
"command.set_display_language": "設定為顯示語言",
1617
"command.set_source_language": "設定為源語言",
@@ -19,8 +20,10 @@
1920
"config.annotation_delimiter": "內聯註釋的分隔符",
2021
"config.annotation_max_length": "內聯註釋顯示的最大字符數。超出的部分將顯示為省略號(...)",
2122
"config.annotations": "啟用內聯註釋",
23+
"config.deprecated": "不推薦使用。\n請使用 \"i18n-ally\" 前綴",
2224
"config.dir_structure": "用於組織本地文件的首選目錄結構",
2325
"config.display_language": "顯示語言",
26+
"config.enabled_frameworks": "指定要使用的框架支持。\n如果未設置任何值,插件將自動檢測框架。",
2427
"config.encoding": "語言文件編碼,默認為 \"auto\"(自動識別)",
2528
"config.force_enabled": "無論如何都啟用此擴展",
2629
"config.full_reload_on_changed": "當語言文件被修改時執行完整的重載。\n(用於.js/.ts動態導入)",
@@ -39,6 +42,7 @@
3942
"feedback.report_issues": "報告問題",
4043
"feedback.support": "支持我們",
4144
"feedback.twitter_feedback": "提供意見反饋",
45+
"misc.missing_key": "{0}: 文案路徑 \"{1}\" 不存在",
4246
"misc.missing_translation": "{0}: 缺少 \"{1}\" 的翻譯",
4347
"misc.not_exists": "無翻譯",
4448
"prompt.button_cancel": "取消",
@@ -58,6 +62,7 @@
5862
"prompt.enter_new_keypath": "輸入新的路徑",
5963
"prompt.extraction_canceled": "文案提取已取消",
6064
"prompt.failed_to_locate_key": "找不到路徑 \"{0}\"",
65+
"prompt.frameworks_not_found": "找不到以下框架,請檢查您的設置。\n{0}",
6166
"prompt.fullfill_missing_all_confirm": "您確定要使用空字符串來填充所有丟失的文案嗎?\n\n此操作無法撤消。",
6267
"prompt.fullfill_missing_confirm": "您確定要用空字串來填充 {1} 中的 {0} 個缺失文案嗎?\n\n此操作將無法撤消。",
6368
"prompt.key_already_exists": "路徑已存在。覆蓋當前路徑或是重新輸入路徑?",
@@ -87,5 +92,9 @@
8792
"view.progress_submenu.empty_keys": "空值",
8893
"view.progress_submenu.missing_keys": "缺失的文案",
8994
"view.progress_submenu.translated_keys": "已翻譯",
90-
"view.tree": "翻譯樹"
91-
}
95+
"view.tree": "翻譯樹",
96+
"view.usage": "使用情況報告",
97+
"view.usage_keys_in_use": "{0}個文案使用中",
98+
"view.usage_keys_missing": "{0}個文案缺失",
99+
"view.usage_keys_not_in_use": "{0}個文案未被使用"
100+
}

0 commit comments

Comments
 (0)