aboutsummaryrefslogtreecommitdiff
path: root/share/qt
diff options
context:
space:
mode:
Diffstat (limited to 'share/qt')
-rwxr-xr-xshare/qt/extract_strings_qt.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/qt/extract_strings_qt.py b/share/qt/extract_strings_qt.py
index e6afe3b48b..d4bd585138 100755
--- a/share/qt/extract_strings_qt.py
+++ b/share/qt/extract_strings_qt.py
@@ -7,8 +7,9 @@ from subprocess import Popen, PIPE
import glob
import operator
import os
+import sys
-OUT_CPP="src/qt/bitcoinstrings.cpp"
+OUT_CPP="qt/bitcoinstrings.cpp"
EMPTY=['""']
def parse_po(text):
@@ -47,7 +48,7 @@ def parse_po(text):
return messages
-files = glob.glob('src/*.cpp') + glob.glob('src/*.h')
+files = sys.argv[1:]
# xgettext -n --keyword=_ $FILES
XGETTEXT=os.getenv('XGETTEXT', 'xgettext')