diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e5cd3cd844..3839ff2a14 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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() diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index 2ad796d5b3..b982313f5f 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -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.