fix extract_strings_qt.py

- a recent pull changed xgettext to gettext, this is reverted here
This commit is contained in:
Philip Kaufmann 2013-09-19 14:59:45 +02:00
parent d969c2c073
commit 01cbaeb62f

View file

@ -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()