Bugzilla – Attachment 20565 Details for
Bug 10745
More fun on translation bug with XSLT subfieldSelect parameters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10745 - More fun on translation bug with XSLT subfieldSelect parameters
Bug-10745---More-fun-on-translation-bug-with-XSLT-.patch (text/plain), 7.37 KB, created by
Jared Camins-Esakov
on 2013-08-22 14:58:06 UTC
(
hide
)
Description:
Bug 10745 - More fun on translation bug with XSLT subfieldSelect parameters
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2013-08-22 14:58:06 UTC
Size:
7.37 KB
patch
obsolete
>From 4f921e5469a3848d171d4e5701b2bf6ceb3e37c4 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Fri, 16 Aug 2013 16:52:26 -0300 >Subject: [PATCH] Bug 10745 - More fun on translation bug with 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> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 6 +++--- > .../prog/en/xslt/NORMARCslim2intranetDetail.xsl | 2 +- > .../prog/en/xslt/NORMARCslim2intranetResults.xsl | 2 +- > .../prog/en/xslt/UNIMARCslim2intranetDetail.xsl | 4 ++-- > .../prog/en/xslt/NORMARCslim2OPACDetail.xsl | 2 +- > .../prog/en/xslt/NORMARCslim2OPACResults.xsl | 2 +- > 6 files changed, 9 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 98d5742..a47e6e8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -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> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl >index 4c56c4e..fb21015 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl >@@ -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> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl >index 5708190..6bde40a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl >@@ -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> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl >index f297cc7..f2e3bcc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl >@@ -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> > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl >index a6f1a2f..25f6604 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl >@@ -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> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >index 7206c7f..58ce6d9 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >@@ -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> >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10745
:
20431
|
20547
| 20565