From 1657fbf683151aff592e291895b8bad80fbb79dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Thu, 23 May 2024 11:29:58 -0700 Subject: [PATCH] Modernize metainfo (#105) --- data/meson.build | 11 +++--- ...a.xml.in => notifications.metainfo.xml.in} | 36 +++++++++++++------ po/extra/POTFILES | 2 +- 3 files changed, 33 insertions(+), 16 deletions(-) rename data/{notifications.appdata.xml.in => notifications.metainfo.xml.in} (72%) diff --git a/data/meson.build b/data/meson.build index 04034fc6..a7cccf1b 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,7 +1,8 @@ i18n.merge_file( - input: 'notifications.appdata.xml.in', - output: 'io.elementary.settings.notifications.appdata.xml', - po_dir: join_paths(meson.source_root (), 'po', 'extra'), - install_dir: join_paths(datadir, 'metainfo'), - install: true + input: 'notifications.metainfo.xml.in', + output: gettext_name + '.metainfo.xml', + po_dir: meson.project_source_root() / 'po' / 'extra', + type: 'xml', + install: true, + install_dir: datadir / 'metainfo', ) diff --git a/data/notifications.appdata.xml.in b/data/notifications.metainfo.xml.in similarity index 72% rename from data/notifications.appdata.xml.in rename to data/notifications.metainfo.xml.in index ada06b75..190ce0f2 100644 --- a/data/notifications.appdata.xml.in +++ b/data/notifications.metainfo.xml.in @@ -2,9 +2,32 @@ io.elementary.settings.notifications io.elementary.settings + io.elementary.settings.notifications + CC0-1.0 + GPL-2.0+ + + preferences-system-notifications Notifications Settings Configure notification bubbles, sounds, and notification center - preferences-system-notifications + + + + https://raw.githubusercontent.com/elementary/switchboard-plug-notifications/main/data/screenshot.png + + + + https://github.com/elementary/switchboard-plug-notifications/issues + https://elementary.io/get-involved#funding + https://github.com/elementary/switchboard-plug-notifications/discussions + https://elementary.io + https://l10n.elementary.io/engage/switchboard/ + + + elementary, Inc. + + elementary + contact_at_elementary.io + @@ -15,24 +38,17 @@ +

Updated translations

+

Updated translations

- - - https://raw.githubusercontent.com/elementary/switchboard-plug-notifications/main/data/screenshot.png - - - https://elementary.io - https://github.com/elementary/switchboard-plug-notifications/issues - CC0-1.0 - GPL-2.0+
diff --git a/po/extra/POTFILES b/po/extra/POTFILES index 167d66f0..35be4159 100644 --- a/po/extra/POTFILES +++ b/po/extra/POTFILES @@ -1 +1 @@ -data/notifications.appdata.xml.in +data/notifications.metainfo.xml.in