Set copyright holders displayed in notices separately from the package name

This helps avoid accidental removal of upstream copyright names
This commit is contained in:
Luke Dashjr
2015-12-22 12:29:13 +00:00
parent c39a6fffd7
commit 917b1d03cf
9 changed files with 22 additions and 5 deletions

View File

@@ -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: