Bugzilla – Attachment 66687 Details for
Bug 17827
Untranslatable "by" in MARC21slim2intranetResults.xsl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17827 - Untranslatable "by" in MARC21slim2intranetResults.xsl
Bug-17827---Untranslatable-by-in-MARC21slim2intran.patch (text/plain), 2.33 KB, created by
Marcel de Rooy
on 2017-09-01 06:47:23 UTC
(
hide
)
Description:
Bug 17827 - Untranslatable "by" in MARC21slim2intranetResults.xsl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-09-01 06:47:23 UTC
Size:
2.33 KB
patch
obsolete
>From 12979088329eb9880370d60f4f96fe9123ddf52a Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Serhij=20Dubyk=20=7B=D0=A1=D0=B5=D1=80=D0=B3=D1=96=D0=B9?= > =?utf-8?q?=20=D0=94=D1=83=D0=B1=D0=B8=D0=BA=7D?= <serhijdubyk@gmail.com> >Date: Tue, 22 Aug 2017 17:19:32 +0300 >Subject: [PATCH] Bug 17827 - Untranslatable "by" in > MARC21slim2intranetResults.xsl >MIME-Version: 1.0 >Content-Type: text/plain; charset=utf-8 >Content-Transfer-Encoding: 8bit >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Serhij Dubyk {СеÑгÑй ÐÑбик} <serhijdubyk@gmail.com> > >The "by" after the title was not translatable in the result >lists of the intranet. This patch fixes it by removing >a comment, that caused a problem with the translation >scripts. > >To test: >Test: > >Before this patch in file en-GB-marc-MARC21.po present next paragraph: > >msgid "by " >msgstr " by " > >According string "by " in the file MARC21slim2intranetResults.xsl can not be translated (in other languages). > >After applying this patch performed next command: >cd /usr/share/koha/misc/translator >sudo env KOHA_CONF=/etc/koha/sites/mykohainstance/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl -I /usr/share/koha/lib "./translate" update > >Now in the file en-GB-marc-MARC21.po present the following (modified) paragraph: > >msgid "by " >msgstr " by " > >https://bugs.koha-community.org/show_bug.cgi?id=17827 >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index 6185c2d..0e8ebd6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -347,7 +347,7 @@ > <xsl:choose> > <xsl:when test="marc:datafield[@tag=100] or marc:datafield[@tag=110] or marc:datafield[@tag=111] or marc:datafield[@tag=700] or marc:datafield[@tag=710] or marc:datafield[@tag=711]"> > <p class="author">by >- <!-- #13383 --> >+ > <xsl:for-each select="marc:datafield[(@tag=100 or @tag=700 or @tag=110 or @tag=710 or @tag=111 or @tag=711) and @ind1!='z']"> > <a> > <xsl:choose> >-- >2.1.4
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 17827
:
58490
|
59578
|
66345
|
66510
| 66687