uppercase h in localization

This commit is contained in:
Tyler Leonhardt
2021-06-03 17:50:45 -07:00
parent 885ac7f1c1
commit ae0e8f0446

View File

@@ -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 + '\'...');