summaryrefslogtreecommitdiff
path: root/po-locations/extract.xsl
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-09 20:54:19 +0200
committerraveit65 <[email protected]>2020-07-17 14:10:33 +0200
commitaf3af510ab5bfd750ef487a260e67fed4af37f85 (patch)
tree58126b710d530346e9d6062e2eaa4fe40ef34892 /po-locations/extract.xsl
parenta8e428b303205805ea13466f0980d799bd2fcee5 (diff)
downloadlibmateweather-af3af510ab5bfd750ef487a260e67fed4af37f85.tar.bz2
libmateweather-af3af510ab5bfd750ef487a260e67fed4af37f85.tar.xz
po-locations: Upgrade extract.xsl after migrating to gettext
Diffstat (limited to 'po-locations/extract.xsl')
-rw-r--r--po-locations/extract.xsl14
1 files changed, 7 insertions, 7 deletions
diff --git a/po-locations/extract.xsl b/po-locations/extract.xsl
index 8f64e9e..c518d02 100644
--- a/po-locations/extract.xsl
+++ b/po-locations/extract.xsl
@@ -24,28 +24,28 @@ char *s = N_("<xsl:call-template name="escape"><xsl:with-param name="string" sel
<xsl:template match="mateweather">
<!-- region names -->
- <xsl:for-each select="//region/_name">
+ <xsl:for-each select="//region/name">
<xsl:sort select="."/>
<xsl:call-template name="output_name" /></xsl:for-each>
<!-- country names -->
- <xsl:for-each select="//country/_name">
+ <xsl:for-each select="//country/name">
<xsl:sort select="."/>
<xsl:call-template name="output_name" /></xsl:for-each>
<!-- timezone names -->
- <xsl:for-each select="//timezone/_name">
+ <xsl:for-each select="//timezone/name">
<xsl:call-template name="output_name" /></xsl:for-each>
<!-- state names -->
- <xsl:for-each select="//state/_name">
- <xsl:sort select="ancestor::country/_name"/>
+ <xsl:for-each select="//state/name">
+ <xsl:sort select="ancestor::country/name"/>
<xsl:sort select="."/>
<xsl:call-template name="output_name" /></xsl:for-each>
<!-- city names -->
- <xsl:for-each select="//city/_name">
- <xsl:sort select="ancestor::country/_name"/>
+ <xsl:for-each select="//city/name">
+ <xsl:sort select="ancestor::country/name"/>
<xsl:sort select="."/>
<xsl:call-template name="output_name" /></xsl:for-each>