[rhythmbox/playlists-its-rule] data: Use i18n.merge() to translate appdata
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/playlists-its-rule] data: Use i18n.merge() to translate appdata
- Date: Thu, 18 Nov 2021 12:38:24 +0000 (UTC)
commit 6aa5ef09dadd37c90d054ca942d0dc9399778078
Author: Bastien Nocera <hadess hadess net>
Date: Thu Nov 18 13:36:14 2021 +0100
data: Use i18n.merge() to translate appdata
data/meson.build | 5 +++--
data/org.gnome.Rhythmbox3.appdata.xml.in | 12 ++++++------
2 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index b239eba7b..8e75e7757 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -64,12 +64,13 @@ install_man(mans)
appdata = 'org.gnome.Rhythmbox3.appdata.xml'
-appdata_file = custom_target('appdata',
+appdata_file = i18n.merge_file('appdata',
input: appdata + '.in',
output: appdata,
install: true,
install_dir: datadir / 'metainfo',
- command: [intltool_merge, '--quiet', '--xml-style', '--utf8', po_dir, '@INPUT@', '@OUTPUT@'],
+ po_dir: po_dir,
+ type: 'xml',
)
# Validate Appdata
diff --git a/data/org.gnome.Rhythmbox3.appdata.xml.in b/data/org.gnome.Rhythmbox3.appdata.xml.in
index 85040cf27..8d7568fe3 100644
--- a/data/org.gnome.Rhythmbox3.appdata.xml.in
+++ b/data/org.gnome.Rhythmbox3.appdata.xml.in
@@ -5,19 +5,19 @@
<id>org.gnome.Rhythmbox3.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
- <_name>Rhythmbox</_name>
- <_summary>Play and organize your music collection</_summary>
+ <name>Rhythmbox</name>
+ <summary>Play and organize your music collection</summary>
<description>
- <_p>
+ <p>
Rhythmbox is a music management application, designed to work well under the GNOME
desktop. In addition to music stored on your computer, it supports network shares,
podcasts, radio streams, portable music devices (including phones), and internet music
services such as Last.fm and Magnatune.
- </_p>
- <_p>
+ </p>
+ <p>
Rhythmbox is Free software, based on GTK+ and GStreamer, and is extensible via plugins
written in Python or C.
- </_p>
+ </p>
</description>
<url type="homepage">https://wiki.gnome.org/Apps/Rhythmbox</url>
<url type="bugtracker">https://gitlab.gnome.org/GNOME/rhythmbox/issues</url>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]