Hold off translations until complete
This commit is contained in:
@@ -12,8 +12,5 @@
|
|||||||
<file>res/logobig.gif</file>
|
<file>res/logobig.gif</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="/translations">
|
<qresource prefix="/translations">
|
||||||
<file>res/zec_qt_wallet_es.qm</file>
|
|
||||||
<file>res/zec_qt_wallet_fr.qm</file>
|
|
||||||
<file>res/zec_qt_wallet_de.qm</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
@@ -11,7 +11,11 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
|
|
||||||
|
QCoreApplication::setOrganizationName("zec-qt-wallet-org");
|
||||||
|
QCoreApplication::setApplicationName("zec-qt-wallet");
|
||||||
|
|
||||||
QString locale = QLocale::system().name();
|
QString locale = QLocale::system().name();
|
||||||
|
locale.truncate(locale.lastIndexOf('_')); // Get the language code
|
||||||
qDebug() << "Loading locale " << locale;
|
qDebug() << "Loading locale " << locale;
|
||||||
|
|
||||||
QTranslator translator;
|
QTranslator translator;
|
||||||
@@ -35,7 +39,6 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
std::srand(seed);
|
std::srand(seed);
|
||||||
|
|
||||||
|
|
||||||
Settings::init();
|
Settings::init();
|
||||||
|
|
||||||
if (argc >= 2 && QString::fromStdString(argv[1]) == "--no-embedded") {
|
if (argc >= 2 && QString::fromStdString(argv[1]) == "--no-embedded") {
|
||||||
@@ -44,9 +47,6 @@ int main(int argc, char *argv[])
|
|||||||
Settings::getInstance()->setUseEmbedded(true);
|
Settings::getInstance()->setUseEmbedded(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCoreApplication::setOrganizationName("zec-qt-wallet-org");
|
|
||||||
QCoreApplication::setApplicationName("zec-qt-wallet");
|
|
||||||
|
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
w.setWindowTitle("zec-qt-wallet v" + QString(APP_VERSION));
|
w.setWindowTitle("zec-qt-wallet v" + QString(APP_VERSION));
|
||||||
w.show();
|
w.show();
|
||||||
|
|||||||
Reference in New Issue
Block a user