We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 102cfce commit 8c97e19Copy full SHA for 8c97e19
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