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
|
CODECFORTR = UTF-8
|
||||||
|
|
||||||
# for lrelease/lupdate
|
# for lrelease/lupdate
|
||||||
TRANSLATIONS = src/qt/locale/bitcoin_de.ts \
|
# also add new translations to src/qt/bitcoin.qrc under translations/
|
||||||
src/qt/locale/bitcoin_es.ts \
|
TRANSLATIONS = $$files(src/qt/locale/bitcoin_*.ts)
|
||||||
src/qt/locale/bitcoin_nl.ts \
|
|
||||||
src/qt/locale/bitcoin_ru.ts
|
|
||||||
|
|
||||||
isEmpty(QMAKE_LRELEASE) {
|
isEmpty(QMAKE_LRELEASE) {
|
||||||
win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
|
win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
|
||||||
|
@ -46,8 +46,11 @@
|
|||||||
<file alias="update_spinner">res/movies/update_spinner.mng</file>
|
<file alias="update_spinner">res/movies/update_spinner.mng</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="/translations">
|
<qresource prefix="/translations">
|
||||||
<file alias="de_DE">locale/bitcoin_de.qm</file>
|
<file alias="de_DE">locale/bitcoin_de_DE.qm</file>
|
||||||
<file alias="nl_NL">locale/bitcoin_nl.qm</file>
|
<file alias="es_CL">locale/bitcoin_es_CL.qm</file>
|
||||||
<file alias="ru_RU">locale/bitcoin_ru.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>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
Loading…
Reference in New Issue
Block a user