Bugzilla – Attachment 166649 Details for
Bug 36837
XSLT CSS classes offered for translations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36837: (follow-up) UNIMARC case
Bug-36837-follow-up-UNIMARC-case.patch (text/plain), 1.99 KB, created by
Tomás Cohen Arazi
on 2024-05-13 15:11:58 UTC
(
hide
)
Description:
Bug 36837: (follow-up) UNIMARC case
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2024-05-13 15:11:58 UTC
Size:
1.99 KB
patch
obsolete
>From 943da79f3660f0d1a9d845f829c40af710325961 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 13 May 2024 12:06:02 -0300 >Subject: [PATCH] Bug 36837: (follow-up) UNIMARC case > >I checked the UNIMARC authResults counterpart file. And it only >contained a single case of generated elements like the previous patch. > >To test: >1. On latest main > $ ktd --shell > k$ cd misc/translator/po > k$ git fetch > k$ git reset --hard origin/main > k$ cd /kohadevbox/koha > k$ gulp po:update --lang es-ES > k$ cd misc/translator/po > k$ git add -u ; git commit -mWIP --no-verify >2. Apply this patches >3. Run: > k$ cd /kohadevbox/koha > k$ gulp po:update --lang es-ES > k$ cd misc/translator/po > k$ git diff >=> SUCCESS: Notice CSS class names are not translated anymore > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > .../intranet-tmpl/prog/en/xslt/UNIMARCauthResults.xsl | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCauthResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCauthResults.xsl >index cb69c107453..984cb3625da 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCauthResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCauthResults.xsl >@@ -66,10 +66,7 @@ > <!-- ****************** Authority display *************** --> > <xsl:template match="marc:record"> > <xsl:variable name="authid" select="marc:controlfield[@tag='001']"/> >- <xsl:element name="div"> >- <xsl:attribute name="class"> >- <xsl:text>authority-summary</xsl:text> >- </xsl:attribute> >+ <div class="authority-summary"> > <!-- *********** Personal Name 200 ********* --> > <xsl:if test="marc:datafield[@tag='200']"> > <ul> >@@ -537,8 +534,7 @@ > </ul> > </xsl:if> > <!-- *** End Subject **--> >- <!-- end div class authority-summary--> >- </xsl:element> >+ </div> <!-- /div.authority-summary --> > <!-- end template --> > </xsl:template> > </xsl:stylesheet> >-- >2.45.0
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 36837
:
166643
|
166647
| 166649