[Libreoffice-commits] online.git: ios/Mobile loleaflet/util

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 23 08:43:18 UTC 2019


 ios/Mobile/Info.plist.in             |   19 ++++++++++++++++++-
 loleaflet/util/create-l10n-all-js.pl |   30 ++++++------------------------
 2 files changed, 24 insertions(+), 25 deletions(-)

New commits:
commit 94799fbce3e1b019b40a3da92c606b83c2e33121
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu May 30 12:26:09 2019 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Sep 23 10:43:01 2019 +0200

    Try to unify the list of localisations with what I use to build LO core
    
    (In the tree where I building the core branch used for the app as
    distributed, that is.)
    
    Change-Id: Ice622c79ff9c7f56f4e58f68fe65e5d89696681b
    (cherry picked from commit 21dc19f7a28174fbd5eabd0f60b6f1cedcafd89c)
    Reviewed-on: https://gerrit.libreoffice.org/79381
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/ios/Mobile/Info.plist.in b/ios/Mobile/Info.plist.in
index 103b720d9..f58d87765 100644
--- a/ios/Mobile/Info.plist.in
+++ b/ios/Mobile/Info.plist.in
@@ -201,11 +201,28 @@
 	<key>CFBundleLocalizations</key>
 	<array>
 		<string>en</string>
+		<string>da</string>
 		<string>de</string>
-		<string>fi</string>
+		<string>el</string>
+        <string>es</string>
 		<string>fr</string>
+		<string>hu</string>
+		<string>is</string>
 		<string>it</string>
+		<string>ja</string>
+		<string>ko</string>
+		<string>nb</string>
+		<string>nl</string>
+		<string>nn</string>
+		<string>pl</string>
+		<string>pt</string>
+		<string>pt-BR</string>
+		<string>ru</string>
+		<string>sk</string>
 		<string>sv</string>
+		<string>tr</string>
+		<string>zh-CN</string>
+		<string>zh-TW</string>
 	</array>
     <key>CFBundleDevelopmentRegion</key>
     <string>$(DEVELOPMENT_LANGUAGE)</string>
diff --git a/loleaflet/util/create-l10n-all-js.pl b/loleaflet/util/create-l10n-all-js.pl
index 0cdba7db2..22307a987 100644
--- a/loleaflet/util/create-l10n-all-js.pl
+++ b/loleaflet/util/create-l10n-all-js.pl
@@ -42,18 +42,6 @@ if (underscore > 0) {
 
 if (false) {
     ;
-} else if (onlylang == 'am') {
-    window.LOCALIZATIONS = " . insert('am') . ";
-} else if (onlylang == 'ar') {
-    window.LOCALIZATIONS = " . insert('ar') . ";
-} else if (onlylang == 'bg') {
-    window.LOCALIZATIONS = " . insert('bg') . ";
-} else if (onlylang == 'ca') {
-    window.LOCALIZATIONS = " . insert('ca') . ";
-} else if (onlylang == 'cs') {
-    window.LOCALIZATIONS = " . insert('cs') . ";
-} else if (onlylang == 'cy') {
-    window.LOCALIZATIONS = " . insert('cy') . ";
 } else if (onlylang == 'da') {
     window.LOCALIZATIONS = " . insert('da') . ";
 } else if (onlylang == 'de') {
@@ -62,34 +50,28 @@ if (false) {
     window.LOCALIZATIONS = " . insert('el') . ";
 } else if (window.LANG == 'en_GB') {
     window.LOCALIZATIONS = " . insert('en_GB') . ";
-} else if (onlylang == 'eo') {
-    window.LOCALIZATIONS = " . insert('eo') . ";
 } else if (onlylang == 'es') {
     window.LOCALIZATIONS = " . insert('es') . ";
-} else if (onlylang == 'eu') {
-    window.LOCALIZATIONS = " . insert('eu') . ";
-} else if (onlylang == 'et') {
-    window.LOCALIZATIONS = " . insert('et') . ";
 } else if (onlylang == 'fr') {
     window.LOCALIZATIONS = " . insert('fr') . ";
-} else if (onlylang == 'gd') {
-    window.LOCALIZATIONS = " . insert('gd') . ";
-} else if (onlylang == 'gl') {
-    window.LOCALIZATIONS = " . insert('gl') . ";
-} else if (onlylang == 'hr') {
-    window.LOCALIZATIONS = " . insert('hr') . ";
 } else if (onlylang == 'hu') {
     window.LOCALIZATIONS = " . insert('hu') . ";
 } else if (onlylang == 'is') {
     window.LOCALIZATIONS = " . insert('is') . ";
 } else if (onlylang == 'it') {
     window.LOCALIZATIONS = " . insert('it') . ";
+} else if (onlylang == 'ja') {
+    window.LOCALIZATIONS = " . insert('ja') . ";
+} else if (onlylang == 'ko') {
+    window.LOCALIZATIONS = " . insert('ko') . ";
 } else if (onlylang == 'nb') {
     window.LOCALIZATIONS = " . insert('nb') . ";
 } else if (onlylang == 'nl') {
     window.LOCALIZATIONS = " . insert('nl') . ";
 } else if (onlylang == 'nn') {
     window.LOCALIZATIONS = " . insert('nn') . ";
+} else if (onlylang == 'pl') {
+    window.LOCALIZATIONS = " . insert('pl') . ";
 } else if (window.LANG == 'pt_BR') {
     window.LOCALIZATIONS = " . insert('pt_BR') . ";
 } else if (onlylang == 'pt') {


More information about the Libreoffice-commits mailing list