We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 669c800 commit 85f64ccCopy full SHA for 85f64cc
1 file changed
scripts/translate-missings.mjs
@@ -84,6 +84,7 @@ function unflattenYaml(flat) {
84
async function syncTranslations(englishFile, targetFiles, dryRun = false) {
85
const englishYaml = yaml.parse(await fs.readFile(englishFile, 'utf8'));
86
const englishFlat = flattenYaml(englishYaml);
87
+ await fs.writeFile(englishFile, yaml.stringify(unflattenYaml(englishFlat)), 'utf8');
88
89
let totalChars = 0;
90
0 commit comments