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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 537d5aac5a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Tomas Cohen Arazi 2024-05-13 12:06:02 -03:00 committed by Fridolin Somers
parent 22ff328708
commit efcc5f576d
1 changed files with 2 additions and 6 deletions

View File

@ -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>