aboutsummaryrefslogtreecommitdiff
path: root/share/qt/extract_strings_qt.py
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2015-12-22 12:29:13 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2015-12-22 12:29:18 +0000
commit917b1d03cf3afa6939113e2fb0bf89dbfd9db2d7 (patch)
tree3a432549bdbbd012b9e2442f605aab8851992b31 /share/qt/extract_strings_qt.py
parentc39a6fffd789cb3591ae859c1464703c5fa7f668 (diff)
downloadbitcoin-917b1d03cf3afa6939113e2fb0bf89dbfd9db2d7.tar.xz
Set copyright holders displayed in notices separately from the package name
This helps avoid accidental removal of upstream copyright names
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 045eb27f47..470d1f2b49 100755
--- a/share/qt/extract_strings_qt.py
+++ b/share/qt/extract_strings_qt.py
@@ -71,6 +71,7 @@ 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'),))
messages.sort(key=operator.itemgetter(0))
for (msgid, msgstr) in messages:
if msgid != EMPTY: