aboutsummaryrefslogtreecommitdiff
path: root/share/qt
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
parentc39a6fffd789cb3591ae859c1464703c5fa7f668 (diff)
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')
-rw-r--r--share/qt/Info.plist.in2
-rwxr-xr-xshare/qt/extract_strings_qt.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/share/qt/Info.plist.in b/share/qt/Info.plist.in
index d1a9ed7040..6a34d64cd5 100644
--- a/share/qt/Info.plist.in
+++ b/share/qt/Info.plist.in
@@ -17,7 +17,7 @@
<string>APPL</string>
<key>CFBundleGetInfoString</key>
- <string>@CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_REVISION@, Copyright © 2009-@COPYRIGHT_YEAR@ The @PACKAGE_NAME@ developers</string>
+ <string>@CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_REVISION@, Copyright © 2009-@COPYRIGHT_YEAR@ @COPYRIGHT_HOLDERS_FINAL@</string>
<key>CFBundleShortVersionString</key>
<string>@CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_REVISION@</string>
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: