mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
15cbbc8cf9
commit
63297562e6
2 changed files with 24 additions and 24 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue