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

port localization to stable #2962

Merged
merged 7 commits into from
May 5, 2023
Merged

Conversation

colombod
Copy link
Member

@colombod colombod commented May 3, 2023

No description provided.

@colombod colombod marked this pull request as ready for review May 4, 2023 20:00
@@ -36,6 +36,12 @@ try {
Remove-Item -Path "$stableDirectory\src\*" -Filter "*.ts"
Copy-Item -Path "$insidersDirectory\src\*" -Destination "$stableDirectory\src\" -Filter "*.ts"

# copy localization files
Copy link
Contributor

Choose a reason for hiding this comment

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

Quick question: So if we have this in the script, do we still need the package.nls.*.json files below? Looks like they exist here: https://github.com/dotnet/interactive/tree/main/src/polyglot-notebooks-vscode-insiders

Copy link
Contributor

Choose a reason for hiding this comment

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

package.nls.*.json should override the existing ones to keep in sync with the ones in insiders

@@ -841,6 +841,6 @@
"vscode-oniguruma": "1.6.1",
"vscode-textmate": "6.0.0",
"vscode-uri": "3.0.6",
"@vscode/l10n": "^0.0.10"
"@vscode/l10n": "0.0.10"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

"l10n": "./l10n" needs to be added to package.json like in insiders in order to recognize the strings in l10n\bungle.l10n.json

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

the release branch has that change already

@ocallesp
Copy link
Contributor

ocallesp commented May 5, 2023

Polyglot-notebooks-vscode
Testing Spanish
image

Testing English
image

@ocallesp ocallesp merged commit a5c8615 into dotnet:main May 5, 2023
@colombod colombod deleted the lockalization_stable branch May 5, 2023 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants