Regenerate translations
This commit is contained in:
parent
93689bb159
commit
2a49074ab6
117 changed files with 42830 additions and 42819 deletions
|
@ -242,7 +242,7 @@ function generateTranslationsObjectFrom(objects: { path: string, parsed: { id: s
|
|||
let json = tr.toJson(lang)
|
||||
try {
|
||||
|
||||
json = JSON.stringify(JSON.parse(json), null, " ");
|
||||
json = JSON.stringify(JSON.parse(json), null, " ");
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ function mergeLayerTranslations() {
|
|||
const layerFiles = ScriptUtils.getLayerFiles();
|
||||
for (const layerFile of layerFiles) {
|
||||
mergeLayerTranslation(layerFile.parsed, layerFile.path, loadTranslationFilesFrom("layers"))
|
||||
writeFileSync(layerFile.path, JSON.stringify(layerFile.parsed, null, " "))
|
||||
writeFileSync(layerFile.path, JSON.stringify(layerFile.parsed, null, " "))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue