Polyglot Notebook: [NetTestingE2E][Loc] Some strings in the outputs are not translated when running the saved and removed password cells.
Opened this issue · 0 comments
REGRESSION: No regression info since it's our first time to try Loc test on this.
Describe the bug
Some strings in the outputs are not translated when running the saved and removed password cells.
Note:
- Repro VM: 10.158.80.11.
- This issue not only repro on ENU OS + VSCode language pack, also repro on Loc OS.
Pre-steps:
1.On ENU OS, install VSCode and dotnet-interactive-vscode-1.0.6323011.vsix extension componet.
2. Install the language package of Japanese from VSCode -> Change the display language of VSCode to Japanese
Steps:
- Ctrl+Shift+P => "Polyglot Notebook: Create new blank notebook"
- Select "Create as .dib" ->Select "C#"
- Set the contents as following
#!set --name rememberMe --value @password:{ "prompt": "Please enter a value", "saveAs": "rememberMe" }
rememberMe - Add a pwsh -PowerShell cell and set the contents to “Remove-Secret -Name rememberMe -Vault DotnetInteractive”
- Run the two cells twice one by one and observe the outputs
Build info:
Detailed Repro Build info: VSCodeUserSetup-x64-1.101.2 +dotnet-interactive-vscode-1.0.6323011.vsix
VSCode Link: https://code.visualstudio.com/insiders/#
dotnet-interactive-vscode-1.0.6323011.vsix
https://dev.azure.com/dnceng/internal/_build/results?buildId=2177104&view=artifacts&pathAsName=false&type=publishedArtifacts
Sdk info: dotnet-sdk-9.0.300-win-x64.exe
Actual Results:
Some strings of the outputs are not translated.


Expected Results:
All strings of the outputs should be translated.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
- OS
- [√] Windows 11
- Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
- Browser
- Chrome
- Edge
- Firefox
- Safari
- Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- [√] Visual Studio Code
- Visual Studio Code Insiders
- Visual Studio
- Other (please specify)