mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
MacOS: Move translations to the right place
This commit is contained in:
parent
cb99ccf75d
commit
689ef1254b
@ -156,7 +156,7 @@ else()
|
||||
|
||||
#FIXME: hardcoded path
|
||||
install(FILES /usr/local/lib/csync-0/csync_owncloud.so DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/Plugins)
|
||||
install(FILES ${mirall_I18N} DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/MacOS)
|
||||
install(FILES ${mirall_I18N} DESTINATION ${OWNCLOUD_OSX_BUNDLE}/Contents/translations)
|
||||
|
||||
list(APPEND dirs "/usr/local/lib")
|
||||
endif()
|
||||
|
||||
@ -100,7 +100,7 @@ Application::Application(int &argc, char **argv) :
|
||||
mirallTranslator->load("mirall_" + QLocale::system().name(), QLatin1String("/usr/share/mirall/i18n/"));
|
||||
#endif
|
||||
#ifdef Q_OS_MAC
|
||||
mirallTranslator->load("mirall_" + QLocale::system().name(), applicationDirPath()+QLatin1String("/translations") ); // path defaults to app dir.
|
||||
mirallTranslator->load("mirall_" + QLocale::system().name(), applicationDirPath()+QLatin1String("/../translations") ); // path defaults to app dir.
|
||||
#endif
|
||||
#ifdef Q_QS_WIN32
|
||||
mirallTranslator->load("mirall_" + QLocale::system().name()); // path defaults to app dir.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user