translation fixes
- use wildcard for TRANSLATIONS in bitcoin-qt.pro to automatically build all translations present in src/qt/locale (thanks @tcatm) - rename language files to the usual <lang>_<TERRITORY> - include recently added language files for es_ES and nb_NO
This commit is contained in:
parent
38a9edba20
commit
f86ecd4a06
@ -175,10 +175,8 @@ FORMS += \
|
||||
CODECFORTR = UTF-8
|
||||
|
||||
# for lrelease/lupdate
|
||||
TRANSLATIONS = src/qt/locale/bitcoin_de.ts \
|
||||
src/qt/locale/bitcoin_es.ts \
|
||||
src/qt/locale/bitcoin_nl.ts \
|
||||
src/qt/locale/bitcoin_ru.ts
|
||||
# also add new translations to src/qt/bitcoin.qrc under translations/
|
||||
TRANSLATIONS = $$files(src/qt/locale/bitcoin_*.ts)
|
||||
|
||||
isEmpty(QMAKE_LRELEASE) {
|
||||
win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
|
||||
|
@ -46,8 +46,11 @@
|
||||
<file alias="update_spinner">res/movies/update_spinner.mng</file>
|
||||
</qresource>
|
||||
<qresource prefix="/translations">
|
||||
<file alias="de_DE">locale/bitcoin_de.qm</file>
|
||||
<file alias="nl_NL">locale/bitcoin_nl.qm</file>
|
||||
<file alias="ru_RU">locale/bitcoin_ru.qm</file>
|
||||
<file alias="de_DE">locale/bitcoin_de_DE.qm</file>
|
||||
<file alias="es_CL">locale/bitcoin_es_CL.qm</file>
|
||||
<file alias="es_ES">locale/bitcoin_es_ES.qm</file>
|
||||
<file alias="nb_NO">locale/bitcoin_nb_NO.qm</file>
|
||||
<file alias="nl_NL">locale/bitcoin_nl_NL.qm</file>
|
||||
<file alias="ru_RU">locale/bitcoin_ru_RU.qm</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Loading…
Reference in New Issue
Block a user