浏览代码

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