mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
translation handling improvements
- automatically build binary translation files in qmake/make - roll translations into resource file and executable, to simply installation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user