aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.qrc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-10-23 13:37:39 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-10-23 13:42:11 +0200
commit5c92622ad631d3fea5f173e5c0267b9bd1b15b2d (patch)
tree749a36bc1eeb817c5428d2fde85319ba7166667b /src/qt/bitcoin.qrc
parent3a30f34f1adcd152fbc40e51c8e6ad0ff74a199f (diff)
Translation lookup logic improvements
- use wildcard for TRANSLATIONS in bitcoin-qt.pro to automatically build all translations present in src/qt/locale (thanks @tcatm) - first load translations/<language>.qm, then translations/<language>_<TERRITORY>.qm, so that territory-specific translations take precedence, but the fallback is on the base language if no territory-specific translation exists.
Diffstat (limited to 'src/qt/bitcoin.qrc')
-rw-r--r--src/qt/bitcoin.qrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc
index 2985bb60ef..145574df55 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">locale/bitcoin_de.qm</file>
+ <file alias="es">locale/bitcoin_es.qm</file>
+ <file alias="es_CL">locale/bitcoin_es_CL.qm</file>
+ <file alias="nb">locale/bitcoin_nb.qm</file>
+ <file alias="nl">locale/bitcoin_nl.qm</file>
+ <file alias="ru">locale/bitcoin_ru.qm</file>
</qresource>
</RCC>