mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-14 18:25:11 -04:00
Auto trim all translations
This commit is contained in:
parent
30bff774a2
commit
6619c2e44a
12 changed files with 198 additions and 196 deletions
|
@ -9,6 +9,8 @@ for(let filename of files){
|
|||
content[key]=''
|
||||
console.log(`Removed ${key} of ${filename}`)
|
||||
}
|
||||
content[key]=content[key].trim()
|
||||
|
||||
}
|
||||
fs.writeFileSync(`./src/i18n/${filename}`, JSON.stringify(content, null,4)+'\n')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue