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>
This commit is contained in:
Dirk Hohndel 2018-07-03 11:46:24 -07:00
parent 15cbbc8cf9
commit 63297562e6
2 changed files with 24 additions and 24 deletions

View file

@ -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