[gnumeric] appdata: translate.



commit 18189a33a38fa993960fc235271b39fa7349f07e
Author: Morten Welinder <terra gnome org>
Date:   Sat Jan 3 21:18:26 2015 -0500

    appdata: translate.
    
    Patch from bug 742262.

 Makefile.am                |    7 +++++--
 gnumeric.appdata.xml.in    |    6 +++---
 po-functions/POTFILES.skip |    1 +
 po/POTFILES.in             |    1 +
 4 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 455244d..fd52fc4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,11 +38,14 @@ libspreadsheet- GNUMERIC_API_VER@.pc: libspreadsheet.pc
        cp $< $@
 
 @INTLTOOL_DESKTOP_RULE@
+ INTLTOOL_XML_RULE@
 
 appdatadir = $(datadir)/appdata
+appdata_in_files = gnumeric.appdata.xml.in
 appdata_DATA = gnumeric.appdata.xml
-gnumeric.appdata.xml: gnumeric.appdata.xml.in
-       cp $< $@
+
+gnumeric.appdata.xml: gnumeric.appdata.xml.in Makefile $(INTLTOOL_MERGE) $(POFILES_FULL)
+       LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
 
 Applicationsdir = $(datadir)/applications/
 Applications_in_files = gnumeric.desktop.in
diff --git a/gnumeric.appdata.xml.in b/gnumeric.appdata.xml.in
index 7c54fa7..dbc9b1c 100644
--- a/gnumeric.appdata.xml.in
+++ b/gnumeric.appdata.xml.in
@@ -5,10 +5,10 @@
 <metadata_license>CC0-1.0</metadata_license>
 <project_license>GPL-2.0 and GPL-3.0</project_license>
 <description>
-<p>Gnumeric is a spreadsheet application for interactive manipulation of data.</p>
-<p>Gnumeric aims to provide high-accuracy computations, expressive graphs,
+<_p>Gnumeric is a spreadsheet application for interactive manipulation of data.</_p>
+<_p>Gnumeric aims to provide high-accuracy computations, expressive graphs,
 and a wide selection of statistical analysis tools.  Gnumeric can share
-files with Microsoft Excel and programs supporting the ODS standard.</p>
+files with Microsoft Excel and programs supporting the ODS standard.</_p>
 </description>
 <url type="homepage">http://www.gnumeric.org/</url>
 <screenshots>
diff --git a/po-functions/POTFILES.skip b/po-functions/POTFILES.skip
index 8ab53dd..08796d4 100644
--- a/po-functions/POTFILES.skip
+++ b/po-functions/POTFILES.skip
@@ -15,6 +15,7 @@ schemas/org.gnome.gnumeric.dialogs.gschema.xml.in
 schemas/org.gnome.gnumeric.gschema.xml.in
 schemas/org.gnome.gnumeric.plugin.gschema.xml.in
 gnumeric.desktop.in
+gnumeric.appdata.xml.in
 plugins/applix/plugin.xml.in
 plugins/dif/plugin.xml.in
 plugins/excel/plugin.xml.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f87b02c..ff9212b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,6 +4,7 @@
 #
 [encoding: UTF-8]
 gnumeric.desktop.in
+gnumeric.appdata.xml.in
 plugins/applix/applix-read.c
 plugins/applix/plugin.xml.in
 plugins/dif/dif.c


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