fix: ttag extract command

This commit is contained in:
Maël Gangloff
2024-07-28 19:52:26 +02:00
parent dd53ec0767
commit b170f28d96
2 changed files with 303 additions and 8 deletions

View File

@@ -52,7 +52,7 @@
"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 assets/**/*.{ts,tsx} -o translations/translations.pot"
"ttag:extract": "ttag extract $(find assets -name '*.ts' -or -name '*.tsx') -o translations/translations.pot"
},
"dependencies": {
"remove": "^0.1.5"