diff options
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r-- | core/qt-init.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp index 3d07899ce..6e018faec 100644 --- a/core/qt-init.cpp +++ b/core/qt-init.cpp @@ -42,8 +42,10 @@ void init_qt_late() if (!uiLang.startsWith("en") || uiLang.startsWith("en-GB")) { qtTranslator = new QTranslator; QString translationLocation; -#ifdef Q_OS_ANDROID +#if defined(Q_OS_ANDROID) translationLocation = QLatin1Literal("assets:/translations"); +#elif defined(Q_OS_IOS) + translationLocation = QLatin1Literal(":/translations/"); #else translationLocation = QLibraryInfo::location(QLibraryInfo::TranslationsPath); #endif |