diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-10-23 10:08:44 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-10-23 10:35:00 +0200 |
commit | f86ecd4a062b7f6515208c217f6405e47fa742f5 (patch) | |
tree | 6d7481deabc8d39fa9040e1dd3495c734fb6861c /bitcoin-qt.pro | |
parent | 38a9edba2058324941ec28e78973ad1280a80ed7 (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
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r-- | bitcoin-qt.pro | 6 |
1 files changed, 2 insertions, 4 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 |