[frogr] Make Appdata file translatable
- From: Daniel Mustieles García <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Make Appdata file translatable
- Date: Tue, 5 Nov 2013 08:42:49 +0000 (UTC)
commit a563120713cf4c94bca83a3596751a58c4f797e4
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Mon Nov 4 17:44:16 2013 +0100
Make Appdata file translatable
data/Makefile.am | 9 ++++++++-
data/{frogr.appdata.xml => frogr.appdata.xml.in} | 12 ++++++------
po/POTFILES.in | 1 +
3 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 788b03e..7de1e47 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,2 +1,9 @@
appdatadir = $(datadir)/appdata
-dist_appdata_DATA = frogr.appdata.xml
+appdata_in_files = frogr.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
+
+CLEANFILES = $(appdata_DATA) \
+ $(desktop_DATA)
+
+EXTRA_DIST = $(appdata_in_files)
diff --git a/data/frogr.appdata.xml b/data/frogr.appdata.xml.in
similarity index 95%
rename from data/frogr.appdata.xml
rename to data/frogr.appdata.xml.in
index e1da1ab..188cab0 100644
--- a/data/frogr.appdata.xml
+++ b/data/frogr.appdata.xml.in
@@ -5,19 +5,19 @@
<name>Frogr</name>
<summary>Frogr: a Flickr Remote Organizer for GNOME</summary>
<description>
- <p>
+ <_p>
Frogr: a Flickr Remote Organizer for GNOME
- </p>
- <p>
+ </_p>
+ <_p>
Frogr is a small application for the GNOME desktop that allows
users to manage their accounts in the Flickr image hosting
website.
- </p>
- <p>
+ </_p>
+ <_p>
It supports all the basic Flickr features, including uploading
pictures, adding descriptions, setting tags and managing sets
and groups pools.
- </p>
+ </_p>
</description>
<screenshots>
<screenshot type="default" width="377" height="236">
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 766f258..905b5fc 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
# List of source files containing translatable strings.
+data/frogr.appdata.xml.in
data/frogr.desktop.in.in
src/frogr-about-dialog.c
src/frogr-add-tags-dialog.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]