Write files in the weblate style

This commit is contained in:
Renan LE CARO 2025-05-23 21:58:58 +02:00
parent 35daa5d19a
commit 9ab547d2a9

View file

@ -10,5 +10,5 @@ for(let filename of files){
console.log(`Removed ${key} of ${filename}`) console.log(`Removed ${key} of ${filename}`)
} }
} }
fs.writeFileSync(`./src/i18n/${filename}`, JSON.stringify(content, null,2)) fs.writeFileSync(`./src/i18n/${filename}`, JSON.stringify(content, null,4)+'\n')
} }