|
|
|
@ -76,10 +76,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'),))
|
|
|
|
|
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:
|
|
|
|
|