mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
add application path back to translation laoding.
This commit is contained in:
parent
a2b5596ee1
commit
f4bb981ad4
@ -107,7 +107,7 @@ Application::Application(int &argc, char **argv) :
|
||||
mirallTranslator->load(QLatin1String("mirall_") + QLocale::system().name(), applicationDirPath()+QLatin1String("/../translations") ); // path defaults to app dir.
|
||||
#endif
|
||||
#ifdef Q_OS_WIN32
|
||||
mirallTranslator->load(QLatin1String("mirall_") + QLocale::system().name()); // path defaults to app dir.
|
||||
mirallTranslator->load(QLatin1String("mirall_") + QLocale::system().name(), applicationDirPath());
|
||||
#endif
|
||||
|
||||
installTranslator(mirallTranslator);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user