[gnome-subtitles] Improving appdata and desktop files



commit 7ff3371628307661e70c1bcada4ffc074c1305cd
Author: Pedro Castro <pedro gnomesubtitles org>
Date:   Sat Oct 19 13:12:45 2019 +0100

    Improving appdata and desktop files

 data/org.gnome.GnomeSubtitles.appdata.xml.in | 21 +++++++++++++++++----
 data/org.gnome.GnomeSubtitles.desktop.in.in  |  6 +++---
 2 files changed, 20 insertions(+), 7 deletions(-)
---
diff --git a/data/org.gnome.GnomeSubtitles.appdata.xml.in b/data/org.gnome.GnomeSubtitles.appdata.xml.in
index 8f7583d..8d1a1db 100644
--- a/data/org.gnome.GnomeSubtitles.appdata.xml.in
+++ b/data/org.gnome.GnomeSubtitles.appdata.xml.in
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2018 Pedro Castro -->
-<component type="desktop">
+<component type="desktop-application">
   <id>org.gnome.GnomeSubtitles.desktop</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-2.0-only</project_license>
@@ -15,21 +15,34 @@
       A total of 22 subtitle formats are supported, including but not limited to: SubRip, MicroDVD, FAB 
Subtitler, MPlayer, Sub Station Alpha, MPSub and SubViewer.
     </_p>
   </description>
+  <categories>
+    <category>AudioVideo</category>
+    <category>Video</category>
+    <category>Audio</category>
+    <category>GTK</category>
+    <category>GNOME</category>
+  </categories>
   <url type="homepage">https://gnomesubtitles.org</url>
   <url type="bugtracker">https://gitlab.gnome.org/GNOME/gnome-subtitles/issues/</url>
   <url type="donation">https://www.gnomesubtitles.org/donate</url>
   <screenshots>
     <screenshot type="default">
       
<image>https://gnomesubtitles.org/files/screenshots/Screenshot-GnomeSubtitles-VideoTimesTranslation.png</image>
+      <caption>Main window</caption>
     </screenshot>
     <screenshot>
       <image>https://gnomesubtitles.org/files/screenshots/Screenshot-GnomeSubtitles-VideoFrames.png</image>
-    </screenshot>
-    <screenshot>
-      
<image>https://gnomesubtitles.org/files/screenshots/Screenshot-GnomeSubtitles-SynchronizeTimings.png</image>
+      <caption>Main window (frames view)</caption>
     </screenshot>
   </screenshots>
   <launchable type="desktop-id">org.gnome.GnomeSubtitles.desktop</launchable>
+  <mimetypes>
+    <mimetype>application/x-subrip</mimetype>
+    <mimetype>text/vtt</mimetype>
+    <mimetype>text/x-microdvd</mimetype>
+    <mimetype>text/x-ssa</mimetype>
+    <mimetype>text/x-subviewer</mimetype>
+  </mimetypes>
   <project_group>GNOME</project_group>
   <translation type="gettext">gnome-subtitles</translation>
 </component>
diff --git a/data/org.gnome.GnomeSubtitles.desktop.in.in b/data/org.gnome.GnomeSubtitles.desktop.in.in
index 763ea6e..734d35b 100644
--- a/data/org.gnome.GnomeSubtitles.desktop.in.in
+++ b/data/org.gnome.GnomeSubtitles.desktop.in.in
@@ -9,9 +9,9 @@ Icon=gnome-subtitles
 StartupNotify=true
 Terminal=false
 Type=Application
-Categories=GNOME;GTK;Video;AudioVideo;AudioVideoEditing;
-_Keywords=Subtitles;Video;
-MimeType=application/x-subrip;text/x-mpsub;text/x-ssa;text/x-microdvd;
+Categories=AudioVideo;Video;GTK;AudioVideoEditing;GNOME;
+Keywords=subtitles;video;captions;
+MimeType=application/x-subrip;text/x-mpsub;text/x-ssa;text/x-microdvd;text/x-subviewer;text/vtt;
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gnome-subtitles
 X-GNOME-Bugzilla-Component=general


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]