Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Extension/i18n/chs/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"c_cpp.command.installCompiler.title": "安装 C++ 编译器",
"c_cpp.command.rescanCompilers.title": "重新扫描编译器",
"c_cpp.command.switchHeaderSource.title": "切换标头/源",
"c_cpp.command.selectTranslationUnit.title": "选择翻译单元...",
"c_cpp.command.enableErrorSquiggles.title": "启用错误波形曲线",
"c_cpp.command.disableErrorSquiggles.title": "禁用错误波形曲线",
"c_cpp.command.toggleDimInactiveRegions.title": "切换非活动区域着色",
Expand Down Expand Up @@ -242,7 +243,6 @@
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": "控制扩展是否将报告在 `c_cpp_properties.json` 中检测到的错误。",
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": "未设置 `customConfigurationVariables` 时要在配置中使用的值,或 `${default}` 在 `customConfigurationVariables` 中作为键存在时要插入的值。",
"c_cpp.configuration.default.dotConfig.markdownDescription": "`dotConfig` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.reduce.markdownDescription": "`recursiveIncludes.reduce` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.priority.markdownDescription": "`recursiveIncludes.priority` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.order.markdownDescription": "`recursiveIncludes.order` 未指定或设置为 `${default}` 时要在配置中使用的值。",
"c_cpp.configuration.experimentalFeatures.description": "控制“实验性”功能是否可用。",
Expand Down Expand Up @@ -332,6 +332,7 @@
"c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "如果为 true,则禁用集成终端支持所需的调试对象控制台重定向。",
"c_cpp.debuggers.sourceFileMap.markdownDescription": "传递到调试引擎的可选源文件映射。示例: `{ \"<原始源路径>\": \"<当前源路径>\" }`。",
"c_cpp.debuggers.processId.anyOf.markdownDescription": "要将调试程序附加到的可选进程 ID。使用 `${command:pickProcess}` 获取要附加到的本地运行进程的列表。请注意,一些平台需要管理员权限才能附加到进程。",
"c_cpp.debuggers.processFilter.description": "可选正则表达式,用于按标签、描述或详细信息匹配远程附加候选项。如果恰好匹配一个进程,调试程序会自动附加。如果匹配多个进程,则进程选取器仅显示匹配的条目。如果没有进程匹配,则显示完整的进程选取器。如果正则表达式无效,会报告错误。",
"c_cpp.debuggers.program.attach.markdownDescription": "程序可执行文件的完整路径。调试器将搜索与此可执行文件路径匹配的正在运行的进程并附加到该进程。如果多个进程匹配,将显示选择提示。加载附加进程的调试符号需要此字段。",
"c_cpp.debuggers.symbolSearchPath.description": "用于搜索符号(即 pdb 或 .so)文件的目录的分号分隔列表。示例: \"c:\\dir1;c:\\dir2\"。",
"c_cpp.debuggers.dumpPath.description": "指定程序的转储文件的可选完整路径。例如: \"c:\\temp\\app.dmp\"。默认为 null。",
Expand Down Expand Up @@ -389,7 +390,7 @@
"c_cpp.taskDefinitions.detail.description": "任务的其他详细信息。",
"c_cpp.debuggers.sourceFileMap.sourceFileMapEntry.description": "相同源树的当前路径和编译时路径。EditorPath 下的文件会映射到 CompileTimePath 路径以进行断点匹配,并在显示 stacktrace 位置时,从 CompileTimePath 映射到 EditorPath。",
"c_cpp.debuggers.sourceFileMap.sourceFileMapEntry.editorPath.description": "编辑器将使用的源树的路径。",
"c_cpp.debuggers.sourceFileMap.sourceFileMapEntry.useForBreakpoints.description": "如果此条目仅用于堆栈帧位置映射,则设为 false。如果在指定断点位置时也需要使用此条目,则设为 true",
"c_cpp.debuggers.sourceFileMap.sourceFileMapEntry.useForBreakpoints.description": "如果此条目仅用于堆栈帧位置映射,则为设为 false。如果在指定断点位置时也需要使用此条目,则设为 true",
"c_cpp.debuggers.symbolOptions.description": "用于控制如何找到和加载符号(.pdb 文件)的选项。",
"c_cpp.debuggers.unknownBreakpointHandling.description": "控制在命中时如何处理(通常通过原始 GDB 命令)外部设置的断点。\n允许的值为 \"throw\" (好像应用程序抛出了异常)和 \"stop\" (只会暂停调试会话)。默认值为 \"throw\"。",
"c_cpp.debuggers.debuginfod.description": "控制 GDB 的 debuginfod 行为,以从 debuginfod 服务器下载调试符号。",
Expand Down
8 changes: 8 additions & 0 deletions Extension/i18n/chs/src/Debugger/processFilter.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"invalid.processFilter.regex": "{0} 正则表达式无效: {1}"
}
5 changes: 5 additions & 0 deletions Extension/i18n/chs/src/LanguageServer/extension.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"learn.how.to.install.a.library": "了解如何使用 vcpkg 为此标头安装库",
"copy.vcpkg.command": "将用于安装“{0}”的 vcpkg 命令复制到剪贴板",
"on.disabled.command": "当 `C_Cpp.intelliSenseEngine` 设置为 `disabled` 时,无法执行与 IntelliSense 相关的命令。",
"find.translation.units": "正在查找翻译单元...",
"no.translation.units.found": "未找到活动文件的翻译单元。",
"current.translation.unit": "当前翻译单元",
"select.translation.unit": "选择翻译单元",
"select.translation.unit.placeholder": "选择一个源文件作为翻译单元",
"switch.header.source": "正在切换标头/源...",
"client.not.found": "未找到客户端",
"ok": "确定",
Expand Down
4 changes: 3 additions & 1 deletion Extension/i18n/chs/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,5 +434,7 @@
"check_timed_out": "等待 {0} 分析完成时超时",
"failed_to_open_browse_db_lock_file": "未能打开浏览数据库锁定文件: {0} (errno={1})",
"failed_to_lock_browse_db_lock_file": "未能锁定浏览数据库锁定文件: {0} (errno={1})",
"browse_database_disabled_incompatible_storage": "浏览数据库已禁用,因为其存储位置不支持 SQLite WAL 共享内存。将 browse.databaseFilename 设置为本地路径。"
"browse_database_disabled_incompatible_storage": "浏览数据库已禁用,因为其存储位置不支持 SQLite WAL 共享内存。将 browse.databaseFilename 设置为本地路径。",
"selected_translation_unit_not_include_file_previous": "所选翻译单元“{0}”不包含“{1}”。如果之前的翻译单元仍然可用,IntelliSense 将还原它;否则,将使用“{1}”作为仅包含头文件的翻译单元。",
"selected_translation_unit_not_include_file_header_only": "所选翻译单元“{0}”不包含“{1}”。没有可用的之前的翻译单元,因此 IntelliSense 将使用“{1}”作为仅包含头文件的翻译单元。"
}
2 changes: 0 additions & 2 deletions Extension/i18n/chs/ui/settings.html.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@
"limit.symbols.checkbox": "如果为 {0} (或已勾选),则标记分析器将仅分析在 {1} 中由源文件直接或间接包含的代码文件。如果为 {2} (或未选中),标记分析器将分析在 {3} 列表内指定路径中找到的所有代码文件。",
"database.filename": "浏览: 数据库文件名",
"database.filename.description": "所生成的符号数据库的路径。这指示扩展将标记分析器的符号数据库保存在工作区默认存储位置以外的其他位置。如果指定了相对路径,则它将相对于工作区的默认存储位置(而不是工作区文件夹本身)。{0} 变量可用于指定相对于工作区文件夹的路径(例如 {1})。",
"recursiveIncludes.reduce": "递归包括: 缩减",
"recursiveIncludes.reduce.description": "设置为 {0} 可将提供给 IntelliSense 的递归包含路径数减少到仅限当前由 #include 语句引用的路径。这需要首先分析文件以确定包含哪些文件。设置为 {1} 可将所有递归包含路径提供给 IntelliSense。当涉及到大量递归包含路径时,减少递归包含路径的数量可能会提高 IntelliSense 性能。如果不减少递归包含路径的数量,则可以通过避免需要分析文件以确定要提供的包含路径来提高 IntelliSense 性能。",
"recursiveIncludes.priority": "递归包括: 优先级",
"recursiveIncludes.priority.description": "递归包含路径的优先级。如果设置为 {0},则将在系统包含路径之前搜索递归包含路径。如果设置为 {1},则将在系统包含路径之后搜索递归包含路径。",
"recursiveIncludes.order": "递归包括: 顺序",
Expand Down
3 changes: 2 additions & 1 deletion Extension/i18n/cht/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"c_cpp.command.installCompiler.title": "安裝 C++ 編譯器",
"c_cpp.command.rescanCompilers.title": "掃描編譯器",
"c_cpp.command.switchHeaderSource.title": "切換標頭/來源",
"c_cpp.command.selectTranslationUnit.title": "選取翻譯單位...",
"c_cpp.command.enableErrorSquiggles.title": "啟用錯誤波浪線",
"c_cpp.command.disableErrorSquiggles.title": "停用錯誤波浪線",
"c_cpp.command.toggleDimInactiveRegions.title": "切換非使用中的區域著色",
Expand Down Expand Up @@ -242,7 +243,6 @@
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": "控制延伸模組是否會回報 `c_cpp_properties.json` 中偵測到的錯誤。",
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": "當未設定 `customConfigurationVariables` 時要在組態中使用的值,或當 `${default}` 在 `customConfigurationVariables` 中顯示為索引鍵時要插入的值。",
"c_cpp.configuration.default.dotConfig.markdownDescription": "當 `dotConfig` 未指定或設定為 `${default}` 時,要在組態中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.reduce.markdownDescription": "當 `recursiveIncludes.reduce` 未指定或設定為 `${default}` 時,要在組態中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.priority.markdownDescription": "當 `recursiveIncludes.priority` 未指定或設定為 `${default}` 時,要在組態中使用的值。",
"c_cpp.configuration.default.recursiveIncludes.order.markdownDescription": "當 `recursiveIncludes.order` 未指定或設定為 `${default}` 時,要在組態中使用的值。",
"c_cpp.configuration.experimentalFeatures.description": "控制「實驗性」功能是否可用。",
Expand Down Expand Up @@ -332,6 +332,7 @@
"c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "若為 true,則停用整合式終端機支援需要的偵錯項目主控台重新導向。",
"c_cpp.debuggers.sourceFileMap.markdownDescription": "傳遞至偵錯引擎的選擇性來源檔案對應。範例: `{ \"<原始來源路徑>\": \"<目前來源路徑>\" }`。",
"c_cpp.debuggers.processId.anyOf.markdownDescription": "要附加偵錯工具的選擇性處理序識別碼。使用 `${command:pickProcess}` 可取得要附加的本機執行中處理序清單。請注意,某些平台需要系統管理員權限才能附加至處理序。",
"c_cpp.debuggers.processFilter.description": "用於依標籤、描述或詳細資料比對遠端附加候選項的選用規則運算式。如果只有一個處理序符合,偵錯工具就會自動附加。如果有多個處理序符合,系統只會顯示符合的項目供您選取。如果沒有處理序符合,則會顯示完整的處理序選擇器。無效的規則運算式會回報錯誤。",
"c_cpp.debuggers.program.attach.markdownDescription": "程式可執行檔的完整路徑。偵錯工具會搜尋符合此可執行路徑的執行中處理序,並連結至該處理序。如果有多個處理序相符,將會顯示選取提示。這是載入已連結處理序之偵錯符號的必要欄位。",
"c_cpp.debuggers.symbolSearchPath.description": "要用於搜尋符號 (即 pdb 或 .so) 檔案的目錄清單 (以分號分隔)。範例: \"c:\\dir1;c:\\dir2\"。",
"c_cpp.debuggers.dumpPath.description": "指定程式之傾印檔案的選擇性完整路徑。範例: \"c:\\temp\\app.dmp\"。預設為 null。",
Expand Down
8 changes: 8 additions & 0 deletions Extension/i18n/cht/src/Debugger/processFilter.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"invalid.processFilter.regex": "無效的 {0} 規則運算式: {1}"
}
2 changes: 1 addition & 1 deletion Extension/i18n/cht/src/LanguageServer/devcmd.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Do not edit this file. It is machine generated.
{
"no.context.provided": "未提供內容",
"not.windows": "設定 Visual Studio 開發人員環境命令僅可在 Windows 使用",
"not.windows": "\"設定 Visual Studio 開發人員環境\" 命令僅可在 Windows 使用",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears incorrect. No bug filed yet.

"error.no.vs": "找不到包含 C++ 編譯器的 Visual Studio 安裝",
"operation.cancelled": "作業已取消",
"no.hosts": "找不到主機",
Expand Down
5 changes: 5 additions & 0 deletions Extension/i18n/cht/src/LanguageServer/extension.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"learn.how.to.install.a.library": "了解如何使用 vcpkg 安裝此標頭的程式庫",
"copy.vcpkg.command": "將用於安裝 '{0}' 的 vcpkg 命令複製到剪貼簿",
"on.disabled.command": "當 `C_Cpp.intelliSenseEngine` 設為 `disabled` 時,無法執行IntelliSense 的相關命令。",
"find.translation.units": "正在尋找翻譯單位...",
"no.translation.units.found": "找不到目前檔案的任何翻譯單位。",
"current.translation.unit": "目前翻譯單位",
"select.translation.unit": "選取翻譯單位",
"select.translation.unit.placeholder": "選取要用作翻譯單位的來源檔案",
"switch.header.source": "正在切換標頭/來源...",
"client.not.found": "找不到用戶端",
"ok": "確定",
Expand Down
8 changes: 5 additions & 3 deletions Extension/i18n/cht/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@
"auth_denied": "使用者拒絕授權。",
"auth_unexpected_error": "輪詢期間發生未預期的錯誤: {0}",
"auth_login_failed": "GitHub 登入失敗。請嘗試使用命令列中的 --login 進行登入。",
"auth_login_failed_plugin": "GitHub 登入失敗。請執行 npx @microsoft/cpp-language-server --login",
"auth_login_failed_plugin": "GitHub 登入失敗。Run npx @microsoft/cpp-language-server --login",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug

"auth_eula_required": "必須接受 EULA 才能繼續。請使用 --accept-eula 執行。",
"auth_eula_required_plugin": "必須接受 EULA 才能繼續。請執行 npx @microsoft/cpp-language-server --accept-eula",
"auth_eula_required_plugin": "必須接受 EULA 才能繼續。Run npx @microsoft/cpp-language-server --accept-eula",
"auth_already_authenticated": "已使用 GitHub 驗證。使用 --force-login 重新驗證。",
"config_unsupported_version": "初始化失敗: 不支援的設定版本。僅支援版本 1。",
"config_file_not_found": "初始化失敗: 找不到設定檔 '{0}'。",
Expand Down Expand Up @@ -434,5 +434,7 @@
"check_timed_out": "等候 {0} 的分析完成時逾時",
"failed_to_open_browse_db_lock_file": "無法開啟瀏覽資料庫鎖定檔案: {0} (errno={1})",
"failed_to_lock_browse_db_lock_file": "無法鎖定瀏覽資料庫鎖定檔案: {0} (errno={1})",
"browse_database_disabled_incompatible_storage": "瀏覽資料庫已停用,因為其儲存位置不支援 SQLite WAL 共用記憶體。請將 browse.databaseFilename 設定為本機路徑。"
"browse_database_disabled_incompatible_storage": "瀏覽資料庫已停用,因為其儲存位置不支援 SQLite WAL 共用記憶體。請將 browse.databaseFilename 設定為本機路徑。",
"selected_translation_unit_not_include_file_previous": "選取的編譯單位 '{0}' 不包含 '{1}'。如果先前的編譯單位仍然可用,IntelliSense 將會還原;否則,它會使用 '{1}' 作為僅標頭的翻譯單位。",
"selected_translation_unit_not_include_file_header_only": "所選的翻譯單位 '{0}' 不包含 '{1}'。沒有可用的先前翻譯單位,因此 IntelliSense 會將 '{1}' 當做僅標頭的翻譯單位使用。"
}
2 changes: 0 additions & 2 deletions Extension/i18n/cht/ui/settings.html.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@
"limit.symbols.checkbox": "若為 {0} (或已選取),標籤剖析器只會剖析 {1} 中原始程式檔直接或間接包含的程式碼檔。若為 {2} (或未選取),標籤剖析器會剖析在 {3} 清單中的指定路徑找到的所有程式碼檔。",
"database.filename": "瀏覽: 資料庫檔案名稱",
"database.filename.description": "產生符號資料庫路徑。這會指示延伸模組將標籤剖析器的符號資料庫儲存在工作區預設儲存位置以外的某處。如果指定了相對路徑,就會是相對於工作區預設儲存位置 (非工作區資料夾本身) 的路徑。{0} 變數可用於指定相對於工作區資料夾的路徑 (例如 {1})。",
"recursiveIncludes.reduce": "遞迴包含: 減少",
"recursiveIncludes.reduce.description": "設定為 {0},可使 IntelliSense 僅提供目前由 #include 陳述式參考的遞迴包含路徑。這需要先剖析檔案,以確定包含哪些檔案。設定為 {1} 以將所有遞迴包含路徑提供給 IntelliSense。當涉及非常大量的遞迴包含路徑時,減少遞迴包含路徑數目可能會改善 IntelliSense 的效能。不減少遞迴包含路徑的數量,可避免需要剖析檔案以決定要提供哪些包含路徑,從而 IntelliSense 效能。",
"recursiveIncludes.priority": "遞迴包含: 優先順序",
"recursiveIncludes.priority.description": "遞迴包含路徑的優先順序。如果設定為 {0},則會在系統包含路徑之前搜尋遞迴包含路徑。如果設定為 {1},則會在系統包含路徑之後搜尋遞迴包含路徑。",
"recursiveIncludes.order": "遞迴包含: 順序",
Expand Down
Loading
Loading