diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-09-27 20:47:51 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-09-27 20:47:51 +0200 |
| commit | 59020408744664fde902406cf41de125859d461f (patch) | |
| tree | d2cfda57aab61b753c64387192e9f661080c550e /src/qt/bitcoin.cpp | |
| parent | Merge pull request #25 from Matoking/master (diff) | |
| download | discoin-59020408744664fde902406cf41de125859d461f.tar.xz discoin-59020408744664fde902406cf41de125859d461f.zip | |
translation handling improvements
- automatically build binary translation files in qmake/make
- roll translations into resource file and executable, to simply installation
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index daba512ad..60a907420 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -120,7 +120,7 @@ int main(int argc, char *argv[]) // Load language file for system locale QString locale = QLocale::system().name(); QTranslator translator; - translator.load("bitcoin_"+locale); + translator.load(":/translations/"+locale); app.installTranslator(&translator); QSplashScreen splash(QPixmap(":/images/splash"), 0); |