|
@@ -12625,12 +12625,12 @@ details, see the Qt Linguist manual.
|
12625
|
12625
|
|
12626
|
12626
|
@<Load translation objects@>=
|
12627
|
12627
|
QTranslator *base = new QTranslator;
|
12628
|
|
-if(base->load(QString("qt_%1").arg(QLocale::system().name())))
|
|
12628
|
+if(base->load(QString("qt_%1").arg(QLocale::system().name()), QString("%1/Translations").arg(QCoreApplication::applicationDirPath())))
|
12629
|
12629
|
{
|
12630
|
12630
|
installTranslator(base);
|
12631
|
12631
|
}
|
12632
|
12632
|
QTranslator *app = new QTranslator;
|
12633
|
|
-if(app->load(QString("%1_%2").arg("Typica").arg(QLocale::system().name())))
|
|
12633
|
+if(app->load(QString("%1_%2").arg("Typica").arg(QLocale::system().name()), QString("%1/Translations").arg(QCoreApplication::applicationDirPath())))
|
12634
|
12634
|
{
|
12635
|
12635
|
installTranslator(app);
|
12636
|
12636
|
}
|