|
@@ -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
|