[gnome-contacts] Make the AppData file translatable and validate
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Make the AppData file translatable and validate
- Date: Thu, 26 Sep 2013 16:41:55 +0000 (UTC)
commit 4c615502478b096677ba58012df5a1062f20c371
Author: Richard Hughes <richard hughsie com>
Date: Thu Sep 26 17:40:33 2013 +0100
Make the AppData file translatable and validate
data/Makefile.am | 7 +++++--
...s.appdata.xml => gnome-contacts.appdata.xml.in} | 15 ++++++---------
po/POTFILES.in | 1 +
3 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 1a463e7..eb56108 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -21,8 +21,10 @@ service_DATA = $(service_in_files:.service.in=.service)
$(AM_V_GEN) [ -d $(@D) ] || $(mkdir_p) $(@D) ; \
sed -e "s|\ libexecdir\@|$(libexecdir)|" $< > $ tmp && mv $ tmp $@
+ INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
-appdata_DATA = gnome-contacts.appdata.xml
+dist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = gnome-contacts.appdata.xml.in
EXTRA_DIST = \
gnome-contacts.desktop.in.in \
@@ -31,7 +33,8 @@ EXTRA_DIST = \
$(service_in_files) \
$(NULL)
-CLEANFILES = $(service_DATA)
+CLEANFILES = $(service_DATA) \
+ gnome-contacts.appdata.xml
DISTCLEANFILES = \
gnome-contacts.desktop \
gnome-contacts.desktop.in
diff --git a/data/gnome-contacts.appdata.xml b/data/gnome-contacts.appdata.xml.in
similarity index 73%
rename from data/gnome-contacts.appdata.xml
rename to data/gnome-contacts.appdata.xml.in
index f3bbd58..8e06681 100644
--- a/data/gnome-contacts.appdata.xml
+++ b/data/gnome-contacts.appdata.xml.in
@@ -3,19 +3,16 @@
<id type="desktop">gnome-contacts.desktop</id>
<licence>CC0</licence>
<description>
- <p>
+ <_p>
Contacts keeps and organize your contacts information. You can create,
edit, delete and link together pieces of information about your contacts.
Contacts aggreagates the details from all your sources providing a
centralized place for managing your contacts.
- </p>
- <p>Features</p>
- <ul>
- <li>Search for and view contacts</li>
- <li>Edit contact details and make new contacts</li>
- <li>Integration with online address books</li>
- <li>Automatic linking of contacts from different online sources</li>
- </ul>
+ </_p>
+ <_p>
+ Contacts will also integrate with online address books and automatically
+ link contacts from different online sources.
+ </_p>
</description>
<screenshots>
<screenshot type="default" width="800" height="575">
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 009cb33..889ec4c 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+data/gnome-contacts.appdata.xml.in
data/gnome-contacts.desktop.in.in
[type: gettext/glade]src/app-menu.ui
src/contacts-accounts-list.vala
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]