]> git.koha-community.org Git - koha.git/commit
Bug 21130: Prevent HTML class from being translated
authorDavid Bourgault <dav.bour@gmail.com>
Fri, 27 Jul 2018 21:13:42 +0000 (17:13 -0400)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 1 Apr 2019 15:41:14 +0000 (15:41 +0000)
commit3b01a0b0029a6ee01275a54efa294d9a03a9e5f4
treed3015e6ca62acc27f89ccfa993fb6b68eca476ac
parent12127972ad15bfd71d764c4db5dd5afa7638f487
Bug 21130: Prevent HTML class from being translated

Adds a xsl:value-of tag to prevent the value from being translated.

TEST PLAN
0) Apply patch
1) Translate
2) In the opac, div.record has not changed

NOTE:
I don't know if this bug affects all translations, I noticed it when translating to fr-CA.
The fix will work for all languages.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e64fb90311a9f2b37b49fc670962089cbb3d32de)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 84787c1eee9db11f779273ba5f83ddd4d8f91efb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl