mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 20:38:00 +01:00
Don't use fuzzy matching when updating translations
This commit is contained in:
2
setup.py
2
setup.py
@@ -444,7 +444,7 @@ class update_translations(Command):
|
|||||||
def run(self):
|
def run(self):
|
||||||
for pofile in glob('po/*.po'):
|
for pofile in glob('po/*.po'):
|
||||||
lang = pofile.replace('po/', '').replace('.po', '')
|
lang = pofile.replace('po/', '').replace('.po', '')
|
||||||
os.system('pybabel update -o %s -i po/wicd.pot -D wicd -l %s' % (pofile, lang))
|
os.system('pybabel update -N -o %s -i po/wicd.pot -D wicd -l %s' % (pofile, lang))
|
||||||
|
|
||||||
class compile_translations(Command):
|
class compile_translations(Command):
|
||||||
description = 'compile po-files to binary mo'
|
description = 'compile po-files to binary mo'
|
||||||
|
|||||||
Reference in New Issue
Block a user