Added path to translations.
--HG-- branch : develop
This commit is contained in:
parent
db004d4521
commit
66e6f11104
|
@ -69,10 +69,14 @@ int main(int argc, char *argv[])
|
|||
app.installTranslator(&qtTranslator);
|
||||
|
||||
QTranslator appTranslator;
|
||||
#ifdef QT_DEBUG
|
||||
#ifdef Q_OS_WIN32
|
||||
appTranslator.load("valentina_" + QLocale::system().name(), ".");
|
||||
#else
|
||||
#ifdef QT_DEBUG
|
||||
appTranslator.load("valentina_" + QLocale::system().name(), ".");
|
||||
#else
|
||||
appTranslator.load("valentina_" + QLocale::system().name(), "/usr/share/valentina/translations");
|
||||
#endif
|
||||
#endif
|
||||
app.installTranslator(&appTranslator);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user