Browse Source

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
miguelfreitas
Wladimir J. van der Laan 13 years ago
parent
commit
f86ecd4a06
  1. 6
      bitcoin-qt.pro
  2. 9
      src/qt/bitcoin.qrc
  3. 0
      src/qt/locale/bitcoin_de_DE.ts
  4. 0
      src/qt/locale/bitcoin_es_ES.ts
  5. 0
      src/qt/locale/bitcoin_nb_NO.ts
  6. 0
      src/qt/locale/bitcoin_nl_NL.ts
  7. 0
      src/qt/locale/bitcoin_ru_RU.ts

6
bitcoin-qt.pro

@ -175,10 +175,8 @@ FORMS += \ @@ -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

9
src/qt/bitcoin.qrc

@ -46,8 +46,11 @@ @@ -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>

0
src/qt/locale/bitcoin_de.ts → src/qt/locale/bitcoin_de_DE.ts

0
src/qt/locale/bitcoin_es.ts → src/qt/locale/bitcoin_es_ES.ts

0
src/qt/locale/bitcoin_nb.ts → src/qt/locale/bitcoin_nb_NO.ts

0
src/qt/locale/bitcoin_nl.ts → src/qt/locale/bitcoin_nl_NL.ts

0
src/qt/locale/bitcoin_ru.ts → src/qt/locale/bitcoin_ru_RU.ts

Loading…
Cancel
Save