mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 02:09:55 +02:00
See #161: initial setup to collect/compile messages with vue-gettext
This commit is contained in:
parent
a1b8555c17
commit
a0a75c9919
7 changed files with 381 additions and 10 deletions
3
front/scripts/i18n-compile.sh
Executable file
3
front/scripts/i18n-compile.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash -eux
|
||||
locales=$(tail -n +2 src/locales.js | sed -e 's/export default //' | jq '.locales[].code' | xargs echo)
|
||||
find locales -name '*.po' | xargs $(yarn bin gettext-extract)/gettext-compile --output src/translations.json
|
Loading…
Add table
Add a link
Reference in a new issue