on master help sign in
Don't create fuzzy translation
5e26ce6Cqoicebordel
utils/update-translations.sh+1−1
@@ -9,7 +9,7 @@ SEARX_DIR='searx'
9
9
10pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR
10pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR
11for f in `ls $SEARX_DIR'/translations/'`; do
11for f in `ls $SEARX_DIR'/translations/'`; do
12− pybabel update -i messages.pot -d $SEARX_DIR'/translations/' -l $f
12+ pybabel update -N -i messages.pot -d $SEARX_DIR'/translations/' -l $f
13 # TODO - need to fix category translations
13 # TODO - need to fix category translations
14 sed -i 's/#~ //' $SEARX_DIR'/translations/'$f'/LC_MESSAGES/messages.po'
14 sed -i 's/#~ //' $SEARX_DIR'/translations/'$f'/LC_MESSAGES/messages.po'
15done
15done