Skip to content

Commit 2473d57

Browse files
sean-mcmanuscsigs
andauthored
Update localization and fix translations (#14790)
* Localization - Translated Strings * Fix localization translation errors * Fix Czech process filter sentence punctuation * Address localization review feedback --------- Co-authored-by: csigs <csigs@users.noreply.github.com>
1 parent 63d00c6 commit 2473d57

67 files changed

Lines changed: 259 additions & 77 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Extension/i18n/chs/package.i18n.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"c_cpp.command.installCompiler.title": "安装 C++ 编译器",
2121
"c_cpp.command.rescanCompilers.title": "重新扫描编译器",
2222
"c_cpp.command.switchHeaderSource.title": "切换标头/源",
23+
"c_cpp.command.selectTranslationUnit.title": "选择翻译单元...",
2324
"c_cpp.command.enableErrorSquiggles.title": "启用错误波形曲线",
2425
"c_cpp.command.disableErrorSquiggles.title": "禁用错误波形曲线",
2526
"c_cpp.command.toggleDimInactiveRegions.title": "切换非活动区域着色",
@@ -242,7 +243,6 @@
242243
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": "控制扩展是否将报告在 `c_cpp_properties.json` 中检测到的错误。",
243244
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": "未设置 `customConfigurationVariables` 时要在配置中使用的值,或 `${default}` 在 `customConfigurationVariables` 中作为键存在时要插入的值。",
244245
"c_cpp.configuration.default.dotConfig.markdownDescription": "`dotConfig` 未指定或设置为 `${default}` 时要在配置中使用的值。",
245-
"c_cpp.configuration.default.recursiveIncludes.reduce.markdownDescription": "`recursiveIncludes.reduce` 未指定或设置为 `${default}` 时要在配置中使用的值。",
246246
"c_cpp.configuration.default.recursiveIncludes.priority.markdownDescription": "`recursiveIncludes.priority` 未指定或设置为 `${default}` 时要在配置中使用的值。",
247247
"c_cpp.configuration.default.recursiveIncludes.order.markdownDescription": "`recursiveIncludes.order` 未指定或设置为 `${default}` 时要在配置中使用的值。",
248248
"c_cpp.configuration.experimentalFeatures.description": "控制“实验性”功能是否可用。",
@@ -332,6 +332,7 @@
332332
"c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "如果为 true,则禁用集成终端支持所需的调试对象控制台重定向。",
333333
"c_cpp.debuggers.sourceFileMap.markdownDescription": "传递到调试引擎的可选源文件映射。示例: `{ \"<原始源路径>\": \"<当前源路径>\" }`。",
334334
"c_cpp.debuggers.processId.anyOf.markdownDescription": "要将调试程序附加到的可选进程 ID。使用 `${command:pickProcess}` 获取要附加到的本地运行进程的列表。请注意,一些平台需要管理员权限才能附加到进程。",
335+
"c_cpp.debuggers.processFilter.description": "可选正则表达式,用于按标签、描述或详细信息匹配远程附加候选项。如果恰好匹配一个进程,调试程序会自动附加。如果匹配多个进程,则进程选取器仅显示匹配的条目。如果没有进程匹配,则显示完整的进程选取器。如果正则表达式无效,会报告错误。",
335336
"c_cpp.debuggers.program.attach.markdownDescription": "程序可执行文件的完整路径。调试器将搜索与此可执行文件路径匹配的正在运行的进程并附加到该进程。如果多个进程匹配,将显示选择提示。加载附加进程的调试符号需要此字段。",
336337
"c_cpp.debuggers.symbolSearchPath.description": "用于搜索符号(即 pdb 或 .so)文件的目录的分号分隔列表。示例: \"c:\\dir1;c:\\dir2\"。",
337338
"c_cpp.debuggers.dumpPath.description": "指定程序的转储文件的可选完整路径。例如: \"c:\\temp\\app.dmp\"。默认为 null。",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"invalid.processFilter.regex": "{0} 正则表达式无效: {1}"
8+
}

‎Extension/i18n/chs/src/LanguageServer/extension.i18n.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"learn.how.to.install.a.library": "了解如何使用 vcpkg 为此标头安装库",
88
"copy.vcpkg.command": "将用于安装“{0}”的 vcpkg 命令复制到剪贴板",
99
"on.disabled.command": "当 `C_Cpp.intelliSenseEngine` 设置为 `disabled` 时,无法执行与 IntelliSense 相关的命令。",
10+
"find.translation.units": "正在查找翻译单元...",
11+
"no.translation.units.found": "未找到活动文件的翻译单元。",
12+
"current.translation.unit": "当前翻译单元",
13+
"select.translation.unit": "选择翻译单元",
14+
"select.translation.unit.placeholder": "选择一个源文件作为翻译单元",
1015
"switch.header.source": "正在切换标头/源...",
1116
"client.not.found": "未找到客户端",
1217
"ok": "确定",

‎Extension/i18n/chs/src/nativeStrings.i18n.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,5 +434,7 @@
434434
"check_timed_out": "等待 {0} 分析完成时超时",
435435
"failed_to_open_browse_db_lock_file": "未能打开浏览数据库锁定文件: {0} (errno={1})",
436436
"failed_to_lock_browse_db_lock_file": "未能锁定浏览数据库锁定文件: {0} (errno={1})",
437-
"browse_database_disabled_incompatible_storage": "浏览数据库已禁用,因为其存储位置不支持 SQLite WAL 共享内存。将 browse.databaseFilename 设置为本地路径。"
437+
"browse_database_disabled_incompatible_storage": "浏览数据库已禁用,因为其存储位置不支持 SQLite WAL 共享内存。将 browse.databaseFilename 设置为本地路径。",
438+
"selected_translation_unit_not_include_file_previous": "所选翻译单元“{0}”不包含“{1}”。如果之前的翻译单元仍然可用,IntelliSense 将还原它;否则,将使用“{1}”作为仅包含头文件的翻译单元。",
439+
"selected_translation_unit_not_include_file_header_only": "所选翻译单元“{0}”不包含“{1}”。没有可用的之前的翻译单元,因此 IntelliSense 将使用“{1}”作为仅包含头文件的翻译单元。"
438440
}

‎Extension/i18n/chs/ui/settings.html.i18n.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767
"limit.symbols.checkbox": "如果为 {0} (或已勾选),则标记分析器将仅分析在 {1} 中由源文件直接或间接包含的代码文件。如果为 {2} (或未选中),标记分析器将分析在 {3} 列表内指定路径中找到的所有代码文件。",
6868
"database.filename": "浏览: 数据库文件名",
6969
"database.filename.description": "所生成的符号数据库的路径。这指示扩展将标记分析器的符号数据库保存在工作区默认存储位置以外的其他位置。如果指定了相对路径,则它将相对于工作区的默认存储位置(而不是工作区文件夹本身)。{0} 变量可用于指定相对于工作区文件夹的路径(例如 {1})。",
70-
"recursiveIncludes.reduce": "递归包括: 缩减",
71-
"recursiveIncludes.reduce.description": "设置为 {0} 可将提供给 IntelliSense 的递归包含路径数减少到仅限当前由 #include 语句引用的路径。这需要首先分析文件以确定包含哪些文件。设置为 {1} 可将所有递归包含路径提供给 IntelliSense。当涉及到大量递归包含路径时,减少递归包含路径的数量可能会提高 IntelliSense 性能。如果不减少递归包含路径的数量,则可以通过避免需要分析文件以确定要提供的包含路径来提高 IntelliSense 性能。",
7270
"recursiveIncludes.priority": "递归包括: 优先级",
7371
"recursiveIncludes.priority.description": "递归包含路径的优先级。如果设置为 {0},则将在系统包含路径之前搜索递归包含路径。如果设置为 {1},则将在系统包含路径之后搜索递归包含路径。",
7472
"recursiveIncludes.order": "递归包括: 顺序",

‎Extension/i18n/cht/package.i18n.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"c_cpp.command.installCompiler.title": "安裝 C++ 編譯器",
2121
"c_cpp.command.rescanCompilers.title": "掃描編譯器",
2222
"c_cpp.command.switchHeaderSource.title": "切換標頭/來源",
23+
"c_cpp.command.selectTranslationUnit.title": "選取翻譯單位...",
2324
"c_cpp.command.enableErrorSquiggles.title": "啟用錯誤波浪線",
2425
"c_cpp.command.disableErrorSquiggles.title": "停用錯誤波浪線",
2526
"c_cpp.command.toggleDimInactiveRegions.title": "切換非使用中的區域著色",
@@ -242,7 +243,6 @@
242243
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": "控制延伸模組是否會回報 `c_cpp_properties.json` 中偵測到的錯誤。",
243244
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": "當未設定 `customConfigurationVariables` 時要在組態中使用的值,或當 `${default}` 在 `customConfigurationVariables` 中顯示為索引鍵時要插入的值。",
244245
"c_cpp.configuration.default.dotConfig.markdownDescription": "當 `dotConfig` 未指定或設定為 `${default}` 時,要在組態中使用的值。",
245-
"c_cpp.configuration.default.recursiveIncludes.reduce.markdownDescription": "當 `recursiveIncludes.reduce` 未指定或設定為 `${default}` 時,要在組態中使用的值。",
246246
"c_cpp.configuration.default.recursiveIncludes.priority.markdownDescription": "當 `recursiveIncludes.priority` 未指定或設定為 `${default}` 時,要在組態中使用的值。",
247247
"c_cpp.configuration.default.recursiveIncludes.order.markdownDescription": "當 `recursiveIncludes.order` 未指定或設定為 `${default}` 時,要在組態中使用的值。",
248248
"c_cpp.configuration.experimentalFeatures.description": "控制「實驗性」功能是否可用。",
@@ -332,6 +332,7 @@
332332
"c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "若為 true,則停用整合式終端機支援需要的偵錯項目主控台重新導向。",
333333
"c_cpp.debuggers.sourceFileMap.markdownDescription": "傳遞至偵錯引擎的選擇性來源檔案對應。範例: `{ \"<原始來源路徑>\": \"<目前來源路徑>\" }`。",
334334
"c_cpp.debuggers.processId.anyOf.markdownDescription": "要附加偵錯工具的選擇性處理序識別碼。使用 `${command:pickProcess}` 可取得要附加的本機執行中處理序清單。請注意,某些平台需要系統管理員權限才能附加至處理序。",
335+
"c_cpp.debuggers.processFilter.description": "用於依標籤、描述或詳細資料比對遠端附加候選項的選用規則運算式。如果只有一個處理序符合,偵錯工具就會自動附加。如果有多個處理序符合,系統只會顯示符合的項目供您選取。如果沒有處理序符合,則會顯示完整的處理序選擇器。無效的規則運算式會回報錯誤。",
335336
"c_cpp.debuggers.program.attach.markdownDescription": "程式可執行檔的完整路徑。偵錯工具會搜尋符合此可執行路徑的執行中處理序,並連結至該處理序。如果有多個處理序相符,將會顯示選取提示。這是載入已連結處理序之偵錯符號的必要欄位。",
336337
"c_cpp.debuggers.symbolSearchPath.description": "要用於搜尋符號 (即 pdb 或 .so) 檔案的目錄清單 (以分號分隔)。範例: \"c:\\dir1;c:\\dir2\"。",
337338
"c_cpp.debuggers.dumpPath.description": "指定程式之傾印檔案的選擇性完整路徑。範例: \"c:\\temp\\app.dmp\"。預設為 null。",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
// Do not edit this file. It is machine generated.
6+
{
7+
"invalid.processFilter.regex": "無效的 {0} 規則運算式: {1}"
8+
}

‎Extension/i18n/cht/src/LanguageServer/devcmd.i18n.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Do not edit this file. It is machine generated.
66
{
77
"no.context.provided": "未提供內容",
8-
"not.windows": "“設定 Visual Studio 開發人員環境”命令僅可在 Windows 使用",
8+
"not.windows": "\"設定 Visual Studio 開發人員環境\" 命令僅可在 Windows 使用",
99
"error.no.vs": "找不到包含 C++ 編譯器的 Visual Studio 安裝",
1010
"operation.cancelled": "作業已取消",
1111
"no.hosts": "找不到主機",

‎Extension/i18n/cht/src/LanguageServer/extension.i18n.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"learn.how.to.install.a.library": "了解如何使用 vcpkg 安裝此標頭的程式庫",
88
"copy.vcpkg.command": "將用於安裝 '{0}' 的 vcpkg 命令複製到剪貼簿",
99
"on.disabled.command": "當 `C_Cpp.intelliSenseEngine` 設為 `disabled` 時,無法執行IntelliSense 的相關命令。",
10+
"find.translation.units": "正在尋找翻譯單位...",
11+
"no.translation.units.found": "找不到目前檔案的任何翻譯單位。",
12+
"current.translation.unit": "目前翻譯單位",
13+
"select.translation.unit": "選取翻譯單位",
14+
"select.translation.unit.placeholder": "選取要用作翻譯單位的來源檔案",
1015
"switch.header.source": "正在切換標頭/來源...",
1116
"client.not.found": "找不到用戶端",
1217
"ok": "確定",

‎Extension/i18n/cht/src/nativeStrings.i18n.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,5 +434,7 @@
434434
"check_timed_out": "等候 {0} 的分析完成時逾時",
435435
"failed_to_open_browse_db_lock_file": "無法開啟瀏覽資料庫鎖定檔案: {0} (errno={1})",
436436
"failed_to_lock_browse_db_lock_file": "無法鎖定瀏覽資料庫鎖定檔案: {0} (errno={1})",
437-
"browse_database_disabled_incompatible_storage": "瀏覽資料庫已停用,因為其儲存位置不支援 SQLite WAL 共用記憶體。請將 browse.databaseFilename 設定為本機路徑。"
437+
"browse_database_disabled_incompatible_storage": "瀏覽資料庫已停用,因為其儲存位置不支援 SQLite WAL 共用記憶體。請將 browse.databaseFilename 設定為本機路徑。",
438+
"selected_translation_unit_not_include_file_previous": "選取的編譯單位 '{0}' 不包含 '{1}'。如果先前的編譯單位仍然可用,IntelliSense 將會還原;否則,它會使用 '{1}' 作為僅標頭的編譯單位。",
439+
"selected_translation_unit_not_include_file_header_only": "所選的編譯單位 '{0}' 不包含 '{1}'。沒有可用的先前編譯單位,因此 IntelliSense 會將 '{1}' 當做僅標頭的編譯單位使用。"
438440
}

0 commit comments

Comments
 (0)