Skip to content

Commit 173f4be

Browse files
rev distro and only use nlsService when not using English (microsoft#153071)
1 parent 0dfbf42 commit 173f4be

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-oss-dev",
33
"version": "1.69.0",
4-
"distro": "f4476b744c188889b5baf5c4d6290682072e9775",
4+
"distro": "153eada52fcf75f3a9b88e5ed5a66e94b5f9c1cf",
55
"author": {
66
"name": "Microsoft Corporation"
77
},

src/vs/workbench/services/extensionManagement/browser/builtinExtensionsScannerService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export class BuiltinExtensionsScannerService implements IBuiltinExtensionsScanne
4141
) {
4242
if (isWeb) {
4343
const nlsBaseUrl = productService.extensionsGallery?.nlsBaseUrl;
44-
if (nlsBaseUrl && productService.commit) {
44+
// Only use the nlsBaseUrl if we are using a language other than the default, English.
45+
if (nlsBaseUrl && productService.commit && !Language.isDefaultVariant()) {
4546
this.nlsUrl = URI.joinPath(URI.parse(nlsBaseUrl), productService.commit, productService.version, Language.value());
4647
}
4748

0 commit comments

Comments
 (0)