aboutsummaryrefslogtreecommitdiff
path: root/share/qt
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-01-19 08:42:05 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2016-01-19 08:42:05 +0000
commit3cae14056a1cd8f01dc4943fa0b78315734d741a (patch)
treedc5adad1ac1de73b8a8fd2e9f2564530909d01a6 /share/qt
parent4d5a3df9d4ea920bb2c63e17a044d14f3eb0fe90 (diff)
Bugfix: Actually use _COPYRIGHT_HOLDERS_SUBSTITUTION everywhere
Diffstat (limited to 'share/qt')
-rwxr-xr-xshare/qt/extract_strings_qt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qt/extract_strings_qt.py b/share/qt/extract_strings_qt.py
index 470d1f2b49..2a6e4b930c 100755
--- a/share/qt/extract_strings_qt.py
+++ b/share/qt/extract_strings_qt.py
@@ -72,6 +72,8 @@ f.write("""
f.write('static const char UNUSED *bitcoin_strings[] = {\n')
f.write('QT_TRANSLATE_NOOP("bitcoin-core", "%s"),\n' % (os.getenv('PACKAGE_NAME'),))
f.write('QT_TRANSLATE_NOOP("bitcoin-core", "%s"),\n' % (os.getenv('COPYRIGHT_HOLDERS'),))
+if os.getenv('COPYRIGHT_HOLDERS_SUBSTITUTION') != os.getenv('PACKAGE_NAME'):
+ f.write('QT_TRANSLATE_NOOP("bitcoin-core", "%s"),\n' % (os.getenv('COPYRIGHT_HOLDERS_SUBSTITUTION'),))
messages.sort(key=operator.itemgetter(0))
for (msgid, msgstr) in messages:
if msgid != EMPTY: