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 e64fb90311)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
2712e1ee55
commit
84787c1eee
|
|
@ -112,7 +112,7 @@
|
|||
|
||||
<!-- Wrapper div for our schema.org object -->
|
||||
<xsl:element name="div">
|
||||
<xsl:attribute name="class">record</xsl:attribute>
|
||||
<xsl:attribute name="class"><xsl:value-of select="'record'" /></xsl:attribute>
|
||||
<xsl:attribute name="vocab">http://schema.org/</xsl:attribute>
|
||||
<xsl:attribute name="typeof"><xsl:value-of select='$schemaOrgType' /> Product</xsl:attribute>
|
||||
<xsl:attribute name="resource">#record</xsl:attribute>
|
||||
|
|
|
|||
Loading…
Reference in New Issue