summaryrefslogtreecommitdiffstats
path: root/core/qt-init.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-03 11:46:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-03 14:58:00 -0700
commit63297562e6f1b2435ba71a6570daa4de00ed1752 (patch)
tree29b72341f07cbaca1a4d6233b0bc9d86abd40725 /core/qt-init.cpp
parent15cbbc8cf9b4b06bc2cd7f0986135f195f003f1a (diff)
downloadsubsurface-63297562e6f1b2435ba71a6570daa4de00ed1752.tar.gz
iOS: find translations again
commit ec0511e824 ("ios: concentrate build dirs") moved the translations around without updating the way they are accessed, causing our release 2.1.0 on iOS to not be localized. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r--core/qt-init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp
index f06da0cab..b1a235cb6 100644
--- a/core/qt-init.cpp
+++ b/core/qt-init.cpp
@@ -55,7 +55,7 @@ void init_qt_late()
#if defined(Q_OS_ANDROID)
translationLocation = QLatin1Literal("assets:/translations");
#elif defined(Q_OS_IOS)
- translationLocation = QLatin1Literal(":/translations/");
+ translationLocation = QLatin1Literal(":/");
#else
translationLocation = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
#endif