forked from Ponysearch/Ponysearch
Don't create fuzzy translation
This commit is contained in:
parent
cacdb064db
commit
5e26ce63be
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue