Don't create fuzzy translation

This commit is contained in:
Cqoicebordel 2015-01-05 20:55:56 +01:00
parent cacdb064db
commit 5e26ce63be

View file

@ -9,7 +9,7 @@ SEARX_DIR='searx'
pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR
for f in `ls $SEARX_DIR'/translations/'`; do for f in `ls $SEARX_DIR'/translations/'`; do
pybabel update -i messages.pot -d $SEARX_DIR'/translations/' -l $f pybabel update -N -i messages.pot -d $SEARX_DIR'/translations/' -l $f
# TODO - need to fix category translations # TODO - need to fix category translations
sed -i 's/#~ //' $SEARX_DIR'/translations/'$f'/LC_MESSAGES/messages.po' sed -i 's/#~ //' $SEARX_DIR'/translations/'$f'/LC_MESSAGES/messages.po'
done done