[california] Make AppData file translatable: Bug #730667



commit afebd4a4a1d54d157c98ce07b08e901c425add53
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Tue Jul 8 14:02:42 2014 -0700

    Make AppData file translatable: Bug #730667

 THANKS                                             |    1 +
 data/Makefile.am                                   |   10 +++++++++-
 ...ornia.appdata.xml => california.appdata.xml.in} |    8 ++++----
 po/POTFILES.in                                     |    1 +
 4 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/THANKS b/THANKS
index 21733ff..9f456e8 100644
--- a/THANKS
+++ b/THANKS
@@ -1,4 +1,5 @@
 The California team would like to thank the following contributors:
 
 Yosef Or Boczko <yoseforb gmail com>
+Pierre-Yves Luyten <py luyten fr>
 
diff --git a/data/Makefile.am b/data/Makefile.am
index 5fa5269..4ed6d66 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,6 +2,11 @@ data_desktopdir = $(datadir)/applications
 data_desktop_in_files = data/california.desktop.in
 data_desktop_DATA = $(data_desktop_in_files:.desktop.in=.desktop)
 
+appdata_in_files = data/california.appdata.xml.in
+appdata_files = $(appdata_in_files:.xml.in=.xml)
+
+ INTLTOOL_XML_RULE@
+
 data_appdatadir = $(datadir)/appdata
 data_appdata_DATA = data/california.appdata.xml
 
@@ -17,20 +22,23 @@ BUILT_SOURCES += data/gschemas.compiled
 
 EXTRA_DIST += \
        $(data_desktop_in_files) \
-       data/california.appdata.xml \
+       $(appdata_in_files) \
        data/org.yorba.california.gschema.xml \
        $(NULL)
 
 CLEANFILES += \
        $(data_desktop_DATA) \
+       $(data_appdata_DATA) \
        data/gschemas.compiled \
        $(NULL)
 
 DISTCLEANFILES += \
        $(data_desktop_DATA) \
+       $(data_appdata_DATA) \
        $(NULL)
 
 GITIGNOREFILES += \
        $(data_desktop_in_files) \
+       $(data_appdata_DATA) \
        $(data_desktop_DATA) \
        $(NULL)
diff --git a/data/california.appdata.xml b/data/california.appdata.xml.in
similarity index 98%
rename from data/california.appdata.xml
rename to data/california.appdata.xml.in
index 11c9426..0e8cd9d 100644
--- a/data/california.appdata.xml
+++ b/data/california.appdata.xml.in
@@ -6,15 +6,15 @@
 <project_license>LGPL-2.1+</project_license>
 <summary>GNOME 3 calendar</summary>
 <description>
-<p>
+<_p>
 California is a new calendar application for GNOME 3 designed to let you work with your
 calendars quickly and easily.  It provides month and week views of your schedule and easy
 ways to add and update events, including a Quick Add feature which allows you to type the
 event details and have them added to your calendar without filling out a form.
-</p>
-<p>
+</_p>
+<_p>
 California is currently in beta development and has a limited but growing set of features:
-</p>
+</_p>
 <ul>
 <li>Modern, clean interface</li>
 <li>Month and week view of your schedule</li>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b7c7762..d6deb65 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,6 @@
 [encoding: UTF-8]
 # List of source files which contain translatable strings.
+data/california.appdata.xml.in
 data/california.desktop.in.in
 src/activator/activator.vala
 src/activator/google/activator-google-authenticating-pane.vala


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]