Browse Source

fix extract_strings_qt.py

- a recent pull changed xgettext to gettext, this is reverted here
0.10
Philip Kaufmann 11 years ago
parent
commit
01cbaeb62f
  1. 2
      share/qt/extract_strings_qt.py

2
share/qt/extract_strings_qt.py

@ -50,7 +50,7 @@ def parse_po(text): @@ -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