mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
uppercase h in localization
This commit is contained in:
@@ -49,10 +49,10 @@ function update(options) {
|
||||
let languageId = localization.languageId;
|
||||
let translationDataFolder = path.join(locExtFolder, 'translations');
|
||||
if (languageId === "zh-cn") {
|
||||
languageId = "zh-hans";
|
||||
languageId = "zh-Hans";
|
||||
}
|
||||
if (languageId === "zh-tw") {
|
||||
languageId = "zh-hant";
|
||||
languageId = "zh-Hant";
|
||||
}
|
||||
if (fs.existsSync(translationDataFolder) && fs.existsSync(path.join(translationDataFolder, 'main.i18n.json'))) {
|
||||
console.log('Clearing \'' + translationDataFolder + '\'...');
|
||||
|
||||
Reference in New Issue
Block a user