Bug 10745: remove more ambiguity for translators for XSLT subfieldSelect parameters
As in Bug 6278, this patch replace ">at<" with ">a_t<" so not to mislead translators. Found more cases that initial description. To test: 1) Check that problem exists and only on xslt files, using your preferred language egrep -B10 "^msgid \"at\"" misc/translator/po/xx-YY-i-staff-t* 2) Apply the patch 3) Update translation file (cd misc/translator; perl translate update xx-YY) 4) Verify the problem is gone, repeat 1 5) If you like verify new entries in PO file egrep -B15 "^msgid \"a_t\"" misc/translator/po/xx-YY-i-staff-t* Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Tested this with field 780 and running a Dutch translation. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
8e7379342d
commit
5b9cd85dd0
|
|
@ -618,7 +618,7 @@
|
|||
</span>
|
||||
<xsl:variable name="f773">
|
||||
<xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template></xsl:with-param></xsl:call-template>
|
||||
</xsl:variable>
|
||||
<xsl:choose>
|
||||
|
|
@ -744,7 +744,7 @@
|
|||
<xsl:text> </xsl:text>
|
||||
<xsl:variable name="f780">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:variable>
|
||||
<xsl:choose>
|
||||
|
|
@ -805,7 +805,7 @@
|
|||
<xsl:text> </xsl:text>
|
||||
<xsl:variable name="f785">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:variable>
|
||||
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@
|
|||
</span>
|
||||
<xsl:variable name="f773">
|
||||
<xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template></xsl:with-param></xsl:call-template>
|
||||
</xsl:variable>
|
||||
<xsl:choose>
|
||||
|
|
|
|||
|
|
@ -418,7 +418,7 @@
|
|||
</span>
|
||||
<xsl:variable name="f773">
|
||||
<xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template></xsl:with-param></xsl:call-template>
|
||||
</xsl:variable>
|
||||
<xsl:choose>
|
||||
|
|
|
|||
|
|
@ -417,7 +417,7 @@
|
|||
|
||||
<xsl:variable name="f780">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:variable>
|
||||
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute>
|
||||
|
|
@ -469,7 +469,7 @@
|
|||
</xsl:choose>
|
||||
<xsl:variable name="f785">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:variable>
|
||||
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@
|
|||
</span>
|
||||
<xsl:variable name="f773">
|
||||
<xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template></xsl:with-param></xsl:call-template>
|
||||
</xsl:variable>
|
||||
<xsl:choose>
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@
|
|||
</span>
|
||||
<xsl:variable name="f773">
|
||||
<xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">at</xsl:with-param>
|
||||
<xsl:with-param name="codes">a_t</xsl:with-param>
|
||||
</xsl:call-template></xsl:with-param></xsl:call-template>
|
||||
</xsl:variable>
|
||||
<xsl:choose>
|
||||
|
|
|
|||
Loading…
Reference in New Issue