loleaflet/html/loleaflet.html.m4 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
New commits: commit 0ae32391d0797b8d02fead8f5bd422eeee47002a Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Mon Apr 22 16:08:49 2019 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Mon Apr 22 17:33:25 2019 +0300 There is no l10n directory with localisation JSON files in the iOS app The localisation is handled differently on iOS, see the L10N_IOS_ALL_JS stuff in loleaflet/Makefile.am and the script loleaflet/util/create-l10n-all-js.pl. That part of loleaflet.html is not needed in the iOS app. Whether it will be needed in the Android app remains to be seen. Possibly we will want to handle localisation in that the same way as in the iOS app. Or not. So for now, do this change only for iOS. diff --git a/loleaflet/html/loleaflet.html.m4 b/loleaflet/html/loleaflet.html.m4 index 256fc4db7..4acb7f875 100644 --- a/loleaflet/html/loleaflet.html.m4 +++ b/loleaflet/html/loleaflet.html.m4 @@ -89,11 +89,14 @@ ifelse(MOBILEAPP,[true], ifelse(IOSAPP,[true], [<link rel="stylesheet" href="Branding/branding.css">]) ifelse(MOBILEAPP,[true], - [<link rel="localizations" href="l10n/uno-localizations-override.json" type="application/vnd.oftn.l10n+json"/> - <link rel="localizations" href="l10n/localizations.json" type="application/vnd.oftn.l10n+json"/> - <link rel="localizations" href="l10n/locore-localizations.json" type="application/vnd.oftn.l10n+json"/> - <link rel="localizations" href="l10n/help-localizations.json" type="application/vnd.oftn.l10n+json"/> - <link rel="localizations" href="l10n/uno-localizations.json" type="application/vnd.oftn.l10n+json"/>], + [ + ifelse(IOSAPP,[true], + [], + [<link rel="localizations" href="l10n/uno-localizations-override.json" type="application/vnd.oftn.l10n+json"/> + <link rel="localizations" href="l10n/localizations.json" type="application/vnd.oftn.l10n+json"/> + <link rel="localizations" href="l10n/locore-localizations.json" type="application/vnd.oftn.l10n+json"/> + <link rel="localizations" href="l10n/help-localizations.json" type="application/vnd.oftn.l10n+json"/> + <link rel="localizations" href="l10n/uno-localizations.json" type="application/vnd.oftn.l10n+json"/>])], [<link rel="localizations" href="%SERVICE_ROOT%/loleaflet/%VERSION%/l10n/uno-localizations-override.json" type="application/vnd.oftn.l10n+json"/> <link rel="localizations" href="%SERVICE_ROOT%/loleaflet/%VERSION%/l10n/localizations.json" type="application/vnd.oftn.l10n+json"/> <link rel="localizations" href="%SERVICE_ROOT%/loleaflet/%VERSION%/l10n/locore-localizations.json" type="application/vnd.oftn.l10n+json"/> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits