fix: sort strings before generating the translation file

Co-authored-by: Vincent <contact@vinceh121.me>
This commit is contained in:
Maël Gangloff
2024-09-23 12:48:40 +02:00
parent 5455c5312e
commit a00cc7e75d
2 changed files with 232 additions and 232 deletions

View File

@@ -64,6 +64,6 @@
"watch": "encore dev --watch",
"build": "encore production --progress",
"ttag:po2json": "cd translations; for i in $(find . -name \"*.po\"); do ttag po2json $i > ../public/locales/$i.json; done; cd ..",
"ttag:extract": "ttag extract $(find assets -name '*.ts' -or -name '*.tsx') -o translations/translations.pot"
"ttag:extract": "ttag extract $(find assets -name '*.ts' -or -name '*.tsx' | sort) -o translations/translations.pot"
}
}