mirror of https://github.com/searxng/searxng.git
Don't create fuzzy translation
This commit is contained in:
parent
cacdb064db
commit
5e26ce63be
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue