[Libreoffice-commits] online.git: 2 commits - Mobile/Mobile

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 2 15:21:56 UTC 2018


 Mobile/Mobile/Info.plist.in |   64 +++++++++++++++++++++++---------------------
 1 file changed, 34 insertions(+), 30 deletions(-)

New commits:
commit e47ebb4e86cef5c934a06bc7d14862849f94c55f
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Nov 2 17:21:22 2018 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Nov 2 17:21:22 2018 +0200

    Use consistent Title Case for the document type names
    
    Change-Id: I0122d55415dfd9aaf06c46691283967846759169

diff --git a/Mobile/Mobile/Info.plist.in b/Mobile/Mobile/Info.plist.in
index 123beebe4..b54a079af 100644
--- a/Mobile/Mobile/Info.plist.in
+++ b/Mobile/Mobile/Info.plist.in
@@ -34,7 +34,7 @@
             <key>CFBundleTypeIconFiles</key>
             <array/>
             <key>CFBundleTypeName</key>
-            <string>Office Open XML text</string>
+            <string>Office Open XML Text</string>
             <key>CFBundleTypeRole</key>
             <string>Editor</string>
             <key>LSHandlerRank</key>
@@ -91,7 +91,7 @@
             <key>CFBundleTypeIconFiles</key>
             <array/>
             <key>CFBundleTypeName</key>
-            <string>Office Open XML spreadsheet</string>
+            <string>Office Open XML Spreadsheet</string>
             <key>CFBundleTypeRole</key>
             <string>Editor</string>
             <key>LSHandlerRank</key>
@@ -130,7 +130,7 @@
             <key>CFBundleTypeIconFiles</key>
             <array/>
             <key>CFBundleTypeName</key>
-            <string>Office Open XML presentation</string>
+            <string>Office Open XML Presentation</string>
             <key>CFBundleTypeRole</key>
             <string>Editor</string>
             <key>LSHandlerRank</key>
@@ -272,7 +272,7 @@
                 <string>public.composite-content</string>
             </array>
             <key>UTTypeDescription</key>
-            <string>Office Open XML text</string>
+            <string>Office Open XML Text</string>
             <key>UTTypeIdentifier</key>
             <string>org.openxmlformats.wordprocessingml.document</string>
             <key>UTTypeTagSpecification</key>
@@ -294,7 +294,7 @@
                 <string>public.composite-content</string>
             </array>
             <key>UTTypeDescription</key>
-            <string>Office Open XML spreadsheet</string>
+            <string>Office Open XML Spreadsheet</string>
             <key>UTTypeIdentifier</key>
             <string>org.openxmlformats.spreadsheetml.sheet</string>
             <key>UTTypeTagSpecification</key>
@@ -316,7 +316,7 @@
                 <string>public.presentation</string>
             </array>
             <key>UTTypeDescription</key>
-            <string>Office Open XML presentation</string>
+            <string>Office Open XML Presentation</string>
             <key>UTTypeIdentifier</key>
             <string>org.openxmlformats.presentationml.presentation</string>
             <key>UTTypeTagSpecification</key>
commit 8faba4929b6e2287b17e3f7e59d941246b5709b5
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Nov 2 17:19:15 2018 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Nov 2 17:19:15 2018 +0200

    Sort types in order of "importance" and add a few comments
    
    Change-Id: I869031776ef5e571a84ceafabd3e419d9a41cb7b

diff --git a/Mobile/Mobile/Info.plist.in b/Mobile/Mobile/Info.plist.in
index 0ad318ea3..123beebe4 100644
--- a/Mobile/Mobile/Info.plist.in
+++ b/Mobile/Mobile/Info.plist.in
@@ -8,6 +8,18 @@
     <string>@IOSAPP_NAME@</string>
     <key>CFBundleDocumentTypes</key>
     <array>
+       <!-- Document sub-types are listed in order ODF, OOXML, MSO, other -->
+       <!-- Writer document types -->
+        <dict>
+            <key>CFBundleTypeName</key>
+            <string>OpenDocument Text</string>
+            <key>LSHandlerRank</key>
+            <string>Owner</string>
+            <key>LSItemContentTypes</key>
+            <array>
+                <string>org.oasis-open.opendocument.text</string>
+            </array>
+        </dict>
         <dict>
             <key>CFBundleTypeName</key>
             <string>OpenDocument Flat Text</string>
@@ -22,54 +34,45 @@
             <key>CFBundleTypeIconFiles</key>
             <array/>
             <key>CFBundleTypeName</key>
-            <string>Plain Text</string>
+            <string>Office Open XML text</string>
             <key>CFBundleTypeRole</key>
             <string>Editor</string>
             <key>LSHandlerRank</key>
             <string>Alternate</string>
             <key>LSItemContentTypes</key>
             <array>
-                <string>public.text</string>
-            </array>
-        </dict>
-        <dict>
-            <key>CFBundleTypeName</key>
-            <string>OpenDocument Text</string>
-            <key>LSHandlerRank</key>
-            <string>Owner</string>
-            <key>LSItemContentTypes</key>
-            <array>
-                <string>org.oasis-open.opendocument.text</string>
+                <string>org.openxmlformats.wordprocessingml.document</string>
             </array>
         </dict>
         <dict>
             <key>CFBundleTypeIconFiles</key>
             <array/>
             <key>CFBundleTypeName</key>
-            <string>Office Open XML text</string>
+            <string>Microsoft Word Document</string>
             <key>CFBundleTypeRole</key>
             <string>Editor</string>
             <key>LSHandlerRank</key>
             <string>Alternate</string>
             <key>LSItemContentTypes</key>
             <array>
-                <string>org.openxmlformats.wordprocessingml.document</string>
+                <string>com.microsoft.word.doc</string>
             </array>
         </dict>
-        <dict>
+       <dict>
             <key>CFBundleTypeIconFiles</key>
             <array/>
             <key>CFBundleTypeName</key>
-            <string>Microsoft Word Document</string>
+            <string>Plain Text</string>
             <key>CFBundleTypeRole</key>
             <string>Editor</string>
             <key>LSHandlerRank</key>
             <string>Alternate</string>
             <key>LSItemContentTypes</key>
             <array>
-                <string>com.microsoft.word.doc</string>
+                <string>public.text</string>
             </array>
         </dict>
+       <!-- Calc document types -->
         <dict>
             <key>CFBundleTypeIconFiles</key>
             <array/>
@@ -112,6 +115,7 @@
                 <string>com.microsoft.excel.xls</string>
             </array>
         </dict>
+       <!-- Impress document types -->
         <dict>
             <key>CFBundleTypeName</key>
             <string>OpenDocument Presentation</string>
@@ -199,12 +203,16 @@
             <array>
                 <string>public.data</string>
             </array>
+            <key>UTTypeDescription</key>
+            <string>OpenDocument Text</string>
+            <key>UTTypeIconFiles</key>
+            <array/>
             <key>UTTypeIdentifier</key>
-            <string>com.collabora.office.uti.fodt</string>
+            <string>org.oasis-open.opendocument.text</string>
             <key>UTTypeTagSpecification</key>
             <dict>
                 <key>public.filename-extension</key>
-                <string>fodt</string>
+                <string>odt</string>
             </dict>
         </dict>
         <dict>
@@ -212,16 +220,12 @@
             <array>
                 <string>public.data</string>
             </array>
-            <key>UTTypeDescription</key>
-            <string>OpenDocument Text</string>
-            <key>UTTypeIconFiles</key>
-            <array/>
             <key>UTTypeIdentifier</key>
-            <string>org.oasis-open.opendocument.text</string>
+            <string>com.collabora.office.uti.fodt</string>
             <key>UTTypeTagSpecification</key>
             <dict>
                 <key>public.filename-extension</key>
-                <string>odt</string>
+                <string>fodt</string>
             </dict>
         </dict>
         <dict>


More information about the Libreoffice-commits mailing list