Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[loc] The content of the prompt box is not translated when hovering over the default value in the project status #3802

Closed
v-frankwang opened this issue May 31, 2024 · 3 comments
Assignees
Labels
bug a bug in the product
Milestone

Comments

@v-frankwang
Copy link
Collaborator

v-frankwang commented May 31, 2024

Brief Issue Summary

Repro steps:

  1. Create a new folder named 'Test' and open it with vscode.
  2. Create a file named CMakeLists.txt with the following content:
        cmake_minimum_required(VERSION 3.8) 
        project(Test)
        add_executable(Test "main.cpp")

  1. Create a file named test.cpp with the following content:
         #include <iostream> 
         auto main() -> int { std::cout << "hello world" << std::endl; }
  1. Create a file named CMakePresets.json with the following content:
 {
            "version": 3,
            "configurePresets": [
                  {
                       "name": "windows-base",
                       "hidden": true,
                       "generator": "Ninja",
                       "binaryDir": "${sourceDir}/out/build/${presetName}",
                       "installDir": "${sourceDir}/out/install/${presetName}",
                       "cacheVariables": {
                       "CMAKE_C_COMPILER": "cl.exe",
                       "CMAKE_CXX_COMPILER": "cl.exe"
                       },
                      "condition": {
                      "type": "equals",
                      "lhs": "${hostSystemName}",
                      "rhs": "Windows"
                    }
                 },
                {
                     "name": "x64-debug",
                     "displayName": "x64 Debug",
                     "inherits": "windows-base",
                     "architecture": {
                     "value": "x64",
                      "strategy": "external"
                 },
                      "cacheVariables": {
                       "CMAKE_BUILD_TYPE": "Debug"
                }
             },
                  {
                      "name": "x64-release",
                      "displayName": "x64 Release",
                      "inherits": "x64-debug",
                      "cacheVariables": {
                      "CMAKE_BUILD_TYPE": "Release"
               }
            },
           {
                 "name": "x86-debug",
                 "displayName": "x86 Debug",
                 "inherits": "windows-base",
                 "architecture": {
                 "value": "x86",
                 "strategy": "external"
            },
                 "cacheVariables": {
                 "CMAKE_BUILD_TYPE": "Debug"
              }
              },
              {
                  "name": "x86-release",
                  "displayName": "x86 Release",
                  "inherits": "x86-debug",
                  "cacheVariables": {
                  "CMAKE_BUILD_TYPE": "Release"
                }
           }
       ]
 }
  1. Run command: “CMake:configure”
  2. Click on CMake in the left navigation bar
  3. Default value for hovering the mouse over the item state

Actual results:
image

issue1.mp4

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

@v-frankwang
Copy link
Collaborator Author

@gcampbell-msft I verified the issue on the latest version:v1.18.42 of CMake tools and it still reproduced, so I reopen this issue.

Actual results:
image

@Ashley-Li
Copy link
Collaborator

Ashley-Li commented Jul 9, 2024

Verified on CMake Tools v1.18.43(release), this issue still repro:
image

@gcampbell-msft gcampbell-msft added this to the 1.19 milestone Jul 11, 2024
@v-frankwang
Copy link
Collaborator Author

We verified this issue on CMake Tools: v1.20.3 (pre-release), and it has been fixed.

Actual result:
3802

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the product
Projects
Status: Completed
Development

No branches or pull requests

3 participants