From b897da59146cf9351fbd4245f10e26582057b08c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Thu, 16 May 2024 10:32:44 -0700 Subject: [PATCH] Metainfo Improvements (#143) --- data/meson.build | 4 +- data/shortcut-overlay.appdata.xml.in | 116 -------------------------- data/shortcut-overlay.metainfo.xml.in | 92 ++++++++++++++++++++ po/extra/POTFILES | 2 +- 4 files changed, 95 insertions(+), 119 deletions(-) delete mode 100644 data/shortcut-overlay.appdata.xml.in create mode 100644 data/shortcut-overlay.metainfo.xml.in diff --git a/data/meson.build b/data/meson.build index 09feaa78..9a421774 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,6 +1,6 @@ i18n.merge_file ( - input: 'shortcut-overlay.appdata.xml.in', - output: meson.project_name() + '.appdata.xml', + input: 'shortcut-overlay.metainfo.xml.in', + output: meson.project_name() + '.metainfo.xml', po_dir: join_paths(meson.source_root(), 'po', 'extra'), type: 'xml', install: true, diff --git a/data/shortcut-overlay.appdata.xml.in b/data/shortcut-overlay.appdata.xml.in deleted file mode 100644 index e396bcee..00000000 --- a/data/shortcut-overlay.appdata.xml.in +++ /dev/null @@ -1,116 +0,0 @@ - - - - io.elementary.shortcut-overlay - CC0-1.0 - GPL-3.0+ - Shortcuts - View system shortcuts - -

-
- - - -
    -
  • Show in the applications menu
  • -
  • Replace keyboard settings button with a labeled link button
  • -
  • Show on-screen keyboard shortcut
  • -
  • Close with the shortcut Ctrl + Q
  • -
  • Updated translations
  • -
-
-
- - - -
    -
  • Update for OS 7 and Gtk 4
  • -
  • Updated translations
  • -
-
-
- - -
    -
  • Fix the app not launching if a shortcut key is set to blank
  • -
  • Updated translations
  • -
-
-
- - -
    -
  • Add screenshot shortcuts
  • -
  • Fix issues with multiple windows
  • -
  • Updated translations
  • -
-
-
- - -
    -
  • Updated translations
  • -
-
-
- - -
    -
  • Updated translations
  • -
-
-
- - -
    -
  • Add "Switch Layout" and "Close Window", shortcuts
  • -
  • Updated translations
  • -
-
-
-
- - io.elementary.shortcut-overlay - - - - https://raw.githubusercontent.com/elementary/shortcut-overlay/master/data/screenshot.png - - - - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - none - - io.elementary.shortcut-overlay - - elementary, Inc. - - http://elementary.io - https://github.com/elementary/shortcut-overlay/issues -
diff --git a/data/shortcut-overlay.metainfo.xml.in b/data/shortcut-overlay.metainfo.xml.in new file mode 100644 index 00000000..f38623f4 --- /dev/null +++ b/data/shortcut-overlay.metainfo.xml.in @@ -0,0 +1,92 @@ + + + + io.elementary.shortcut-overlay + io.elementary.shortcut-overlay + io.elementary.shortcut-overlay + CC0-1.0 + GPL-3.0+ + + Shortcuts + View system shortcuts + +

+
+ + + + https://raw.githubusercontent.com/elementary/shortcut-overlay/master/data/screenshot.png + + + + + + + io.elementary.shortcut-overlay + + + https://elementary.io/ + https://github.com/elementary/shortcut-overlay/issues + https://elementary.io/get-involved#funding + https://github.com/elementary/shortcut-overlay/discussions + https://l10n.elementary.io/engage/desktop/ + + + elementary, Inc. + + elementary + contact_at_elementary.io + + + + +
    +
  • Show in the applications menu
  • +
  • Replace keyboard settings button with a labeled link button
  • +
  • Show on-screen keyboard shortcut
  • +
  • Close with the shortcut Ctrl + Q
  • +
  • Updated translations
  • +
+
+
+ + + +
    +
  • Update for OS 7 and Gtk 4
  • +
  • Updated translations
  • +
+
+
+ + + +
    +
  • Fix the app not launching if a shortcut key is set to blank
  • +
  • Updated translations
  • +
+
+
+ + + +
    +
  • Add screenshot shortcuts
  • +
  • Fix issues with multiple windows
  • +
  • Updated translations
  • +
+
+
+ + + +
    +
  • Updated translations
  • +
+
+
+ + + +
+
diff --git a/po/extra/POTFILES b/po/extra/POTFILES index a069e513..8969220d 100644 --- a/po/extra/POTFILES +++ b/po/extra/POTFILES @@ -1,2 +1,2 @@ data/shortcut-overlay.desktop.in -data/shortcut-overlay.appdata.xml.in +data/shortcut-overlay.metainfo.xml.in