Skip to content

Commit

Permalink
use upper lang id
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed May 28, 2018
1 parent e3635ac commit 0ab3785
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ export class ExtensionGalleryService implements IExtensionGalleryService {
}

getCoreTranslations(extension: IGalleryExtension, languageId: string): TPromise<{}> {
const asset = extension.assets.coreTranslations[languageId];
const asset = extension.assets.coreTranslations[languageId.toUpperCase()];
if (asset) {
return this.getAsset(asset)
.then(asText)
Expand Down

0 comments on commit 0ab3785

Please sign in to comment.