Sfoglia il codice sorgente

Don't create fuzzy translation

Cqoicebordel 10 anni fa
parent
commit
5e26ce63be
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      utils/update-translations.sh

+ 1
- 1
utils/update-translations.sh Vedi File

@@ -9,7 +9,7 @@ SEARX_DIR='searx'
9 9
 
10 10
 pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR
11 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 13
     # TODO - need to fix category translations
14 14
     sed -i 's/#~ //' $SEARX_DIR'/translations/'$f'/LC_MESSAGES/messages.po'
15 15
 done