Chore: translation sync

This commit is contained in:
Pieter Vander Vennet 2023-10-02 00:23:20 +02:00
parent 55c6442cac
commit 0c9a4576c0
32 changed files with 553 additions and 830 deletions

View file

@ -25,7 +25,7 @@ async function main(args: string[]) {
// Path within the JSON which will be removed - not the path in the filesystem!
const path = args[0].split(".")
console.log("Removing translation string ", path, "from the general translations")
console.log("Removing translation string ", path, "from the translations for " + directory)
const files = ScriptUtils.readDirRecSync(directory, 1).filter((f) => f.endsWith(".json"))
for (const file of files) {
const json = JSON.parse(fs.readFileSync(file, { encoding: "utf-8" }))