[libgweather] build: Add named-timezone support to extract.xsl
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather] build: Add named-timezone support to extract.xsl
- Date: Wed, 6 Dec 2017 17:15:56 +0000 (UTC)
commit 9f30cf65794eaf4de6abac9173695eafad6a3041
Author: Piotr Drąg <piotrdrag gmail com>
Date: Wed Dec 6 18:14:56 2017 +0100
build: Add named-timezone support to extract.xsl
po-locations/extract.xsl | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/po-locations/extract.xsl b/po-locations/extract.xsl
index 1c1d803..7776ab5 100644
--- a/po-locations/extract.xsl
+++ b/po-locations/extract.xsl
@@ -23,6 +23,11 @@ char *s = NC_("<xsl:call-template name="escape"><xsl:with-param name="string" se
char *s = N_("<xsl:call-template name="escape"><xsl:with-param name="string"
select="."/></xsl:call-template>");</xsl:otherwise></xsl:choose></xsl:template>
<xsl:template match="gweather">
+ <!-- named-timezone names -->
+ <xsl:for-each select="//named-timezone/_name">
+ <xsl:sort select="."/>
+ <xsl:call-template name="output_name" /></xsl:for-each>
+
<!-- region names -->
<xsl:for-each select="//region/_name">
<xsl:sort select="."/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]