forked from MapComplete/MapComplete
Chore: translation sync
This commit is contained in:
parent
55c6442cac
commit
0c9a4576c0
32 changed files with 553 additions and 830 deletions
|
@ -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" }))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue