fix extract_strings_qt.py
- a recent pull changed xgettext to gettext, this is reverted here
This commit is contained in:
parent
d969c2c073
commit
01cbaeb62f
@ -50,7 +50,7 @@ def parse_po(text):
|
|||||||
files = glob.glob('src/*.cpp') + glob.glob('src/*.h')
|
files = glob.glob('src/*.cpp') + glob.glob('src/*.h')
|
||||||
|
|
||||||
# xgettext -n --keyword=_ $FILES
|
# xgettext -n --keyword=_ $FILES
|
||||||
XGETTEXT=os.getenv('XGETTEXT', 'gettext')
|
XGETTEXT=os.getenv('XGETTEXT', 'xgettext')
|
||||||
child = Popen([XGETTEXT,'--output=-','-n','--keyword=_'] + files, stdout=PIPE)
|
child = Popen([XGETTEXT,'--output=-','-n','--keyword=_'] + files, stdout=PIPE)
|
||||||
(out, err) = child.communicate()
|
(out, err) = child.communicate()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user