summaryrefslogtreecommitdiff
path: root/utils/update-translations.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/update-translations.sh')
-rwxr-xr-xutils/update-translations.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/update-translations.sh b/utils/update-translations.sh
index 00e7fb1..240387a 100755
--- a/utils/update-translations.sh
+++ b/utils/update-translations.sh
@@ -7,9 +7,9 @@
SEARX_DIR='searx'
-pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR
-for f in `ls $SEARX_DIR'/translations/'`; do
- pybabel update -N -i messages.pot -d $SEARX_DIR'/translations/' -l $f
+pybabel extract -F babel.cfg -o messages.pot "$SEARX_DIR"
+for f in `ls "$SEARX_DIR"'/translations/'`; do
+ pybabel update -N -i messages.pot -d "$SEARX_DIR"'/translations/' -l "$f"
done
echo '[!] update done, edit .po files if required and run pybabel compile -d searx/translations/'