mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 06:19:58 +02:00
See #161: ensure we have proper paths in po files
This commit is contained in:
parent
f5dbdd0701
commit
8056e718ee
4 changed files with 57 additions and 49 deletions
|
@ -14,6 +14,9 @@ xgettext --language=JavaScript --keyword=npgettext:1c,2,3 \
|
|||
--package-version=$(node -e "console.log(require('./package.json').version);") \
|
||||
--output $locales_dir/app.pot $js_sources
|
||||
|
||||
# Fix broken files path/lines in pot
|
||||
sed -e 's|#: src/|#: front/src/|' -i $locales_dir/app.pot
|
||||
|
||||
# Generate .po files for each available language.
|
||||
echo $locales
|
||||
for lang in $locales; do \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue