fix extract_strings_qt.py

- a recent pull changed xgettext to gettext, this is reverted here
pull/323/head
Philip Kaufmann 11 years ago
parent d969c2c073
commit 01cbaeb62f

@ -50,7 +50,7 @@ def parse_po(text):
files = glob.glob('src/*.cpp') + glob.glob('src/*.h')
# xgettext -n --keyword=_ $FILES
XGETTEXT=os.getenv('XGETTEXT', 'gettext')
XGETTEXT=os.getenv('XGETTEXT', 'xgettext')
child = Popen([XGETTEXT,'--output=-','-n','--keyword=_'] + files, stdout=PIPE)
(out, err) = child.communicate()

Loading…
Cancel
Save