aboutsummaryrefslogtreecommitdiff
path: root/share/qt/extract_strings_qt.py
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2015-12-09 10:53:12 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2015-12-14 02:11:10 +0000
commitd5f46832de900cee0801ca40bba743c9564cccb8 (patch)
tree6cf53662ecd4e95a8803e7e51d6fe59f3e321708 /share/qt/extract_strings_qt.py
parent348b281f8a672e02c066b452793f22231010fac1 (diff)
Unify package name to as few places as possible without major changes
Diffstat (limited to 'share/qt/extract_strings_qt.py')
-rwxr-xr-xshare/qt/extract_strings_qt.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qt/extract_strings_qt.py b/share/qt/extract_strings_qt.py
index d4bd585138..045eb27f47 100755
--- a/share/qt/extract_strings_qt.py
+++ b/share/qt/extract_strings_qt.py
@@ -70,6 +70,7 @@ f.write("""
#endif
""")
f.write('static const char UNUSED *bitcoin_strings[] = {\n')
+f.write('QT_TRANSLATE_NOOP("bitcoin-core", "%s"),\n' % (os.getenv('PACKAGE_NAME'),))
messages.sort(key=operator.itemgetter(0))
for (msgid, msgstr) in messages:
if msgid != EMPTY: