microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.48k stars 453 forks source link

[loc][Regression] The drop-down lists when adding a preset and selecting a preset are not translated. #4166

Closed v-frankwang closed 1 week ago

v-frankwang commented 2 weeks ago

Brief Issue Summary

More info: This issue is not reproduced in the pre-release version v1.20.17 (pre-release), so it is a regression bug.

Repro Steps:

  1. Create a folder named demo and open it with vscode.
  2. Create a project using the CMake: Quick Start command.
  3. Reopen the project and run the command CMake: Add Configure Preset

When creating a project: Expected results: The contents of the dropdown list when adding a preset and the values of the displayName and description attributes in the added preset code are translated. Image

Actual result: The contents of the drop-down list and the values of the displayName and description attributes in the preset code are not translated when the preset is added. Image

When adding a new preset: Expected results: When adding a new preset, the content in the drop-down list is correctly translated Image

Actual result: When adding a new preset, the contents of the drop-down list are not translated Image

CMake Tools Diagnostics

{ "os": "win32", "vscodeVersion": "1.95.1", "cmtVersion": "1.20.22", "configurations": [ { "folder": "c:\Users\v-frankwang\Desktop\test", "cmakeVersion": "3.30.4", "configured": true, "generator": "Ninja", "usesPresets": true, "compilers": { "C": "C:/Program Files/Microsoft Visual Studio/2022/IntPreview/VC/Tools/MSVC/14.42.34430/bin/Hostx86/x64/cl.exe", "CXX": "C:/Program Files/Microsoft Visual Studio/2022/IntPreview/VC/Tools/MSVC/14.42.34430/bin/Hostx86/x64/cl.exe" } } ], "cpptoolsIntegration": { "isReady": true, "hasCodeModel": true, "activeBuildType": "Debug", "buildTypesSeen": [ "Debug" ], "requests": [], "responses": [], "partialMatches": [], "targetCount": 1, "executablesCount": 1, "librariesCount": 0, "targets": [ { "name": "helloworld", "type": "EXECUTABLE" } ] }, "settings": [ { "communicationMode": "automatic", "useCMakePresets": "auto", "configureOnOpen": true } ] }

Debug Log

No response

Additional Information

No response