aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-10-23 10:08:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-10-23 10:35:00 +0200
commitf86ecd4a062b7f6515208c217f6405e47fa742f5 (patch)
tree6d7481deabc8d39fa9040e1dd3495c734fb6861c
parent38a9edba2058324941ec28e78973ad1280a80ed7 (diff)
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
-rw-r--r--bitcoin-qt.pro6
-rw-r--r--src/qt/bitcoin.qrc9
-rw-r--r--src/qt/locale/bitcoin_de_DE.ts (renamed from src/qt/locale/bitcoin_de.ts)0
-rw-r--r--src/qt/locale/bitcoin_es_ES.ts (renamed from src/qt/locale/bitcoin_es.ts)0
-rw-r--r--src/qt/locale/bitcoin_nb_NO.ts (renamed from src/qt/locale/bitcoin_nb.ts)0
-rw-r--r--src/qt/locale/bitcoin_nl_NL.ts (renamed from src/qt/locale/bitcoin_nl.ts)0
-rw-r--r--src/qt/locale/bitcoin_ru_RU.ts (renamed from src/qt/locale/bitcoin_ru.ts)0
7 files changed, 8 insertions, 7 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index 2e4000e52a..e9dc6f787c 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -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
diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc
index 2985bb60ef..57addbdbeb 100644
--- a/src/qt/bitcoin.qrc
+++ b/src/qt/bitcoin.qrc
@@ -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>
diff --git a/src/qt/locale/bitcoin_de.ts b/src/qt/locale/bitcoin_de_DE.ts
index c674eb439b..c674eb439b 100644
--- a/src/qt/locale/bitcoin_de.ts
+++ b/src/qt/locale/bitcoin_de_DE.ts
diff --git a/src/qt/locale/bitcoin_es.ts b/src/qt/locale/bitcoin_es_ES.ts
index 7ee8b452fb..7ee8b452fb 100644
--- a/src/qt/locale/bitcoin_es.ts
+++ b/src/qt/locale/bitcoin_es_ES.ts
diff --git a/src/qt/locale/bitcoin_nb.ts b/src/qt/locale/bitcoin_nb_NO.ts
index c44fd89b71..c44fd89b71 100644
--- a/src/qt/locale/bitcoin_nb.ts
+++ b/src/qt/locale/bitcoin_nb_NO.ts
diff --git a/src/qt/locale/bitcoin_nl.ts b/src/qt/locale/bitcoin_nl_NL.ts
index a7ea7e666a..a7ea7e666a 100644
--- a/src/qt/locale/bitcoin_nl.ts
+++ b/src/qt/locale/bitcoin_nl_NL.ts
diff --git a/src/qt/locale/bitcoin_ru.ts b/src/qt/locale/bitcoin_ru_RU.ts
index b6127959fb..b6127959fb 100644
--- a/src/qt/locale/bitcoin_ru.ts
+++ b/src/qt/locale/bitcoin_ru_RU.ts