diff options
author | rbuj <[email protected]> | 2020-07-09 20:54:19 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-17 14:12:52 +0200 |
commit | 34ffe7097782539526092d402991ec4711434011 (patch) | |
tree | 62d1b0e4df78be12a5bcc98728866e0265bcc9b5 | |
parent | 6a37a0dd6fc3be4f54f6a31dbccacc97c24da604 (diff) | |
download | libmateweather-34ffe7097782539526092d402991ec4711434011.tar.bz2 libmateweather-34ffe7097782539526092d402991ec4711434011.tar.xz |
po-locations: Upgrade extract.xsl after migrating to gettext
-rw-r--r-- | po-locations/extract.xsl | 14 |
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> |