Преглед изворни кода

Don't create fuzzy translation

Cqoicebordel пре 10 година
родитељ
комит
5e26ce63be
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      utils/update-translations.sh

+ 1
- 1
utils/update-translations.sh Прегледај датотеку

9
 
9
 
10
 pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR
10
 pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR
11
 for f in `ls $SEARX_DIR'/translations/'`; do
11
 for 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'
15
 done
15
 done