https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43946

--- Comment #3 from David Nind <[email protected]> ---
Created attachment 210045
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210045&action=edit
Bug 43946: Do not translate the subject and contributors CSS classes - OPAC
XSLT

In <xsl:attribute name="class">subject</xsl:attribute> "subject" is
picked for translation.
In es-ES, "subject" becomes "asunto", in fr-FR "sujet"
=> XSLT outputs class="asunto"
opac-detail.tt has its JS looking for ".contributors,.subject" and so finds
nothing
=> the popup never opens.

Test plan:
1. Install a translation, e.g. es-ES, and update the po files
2. Open an OPAC detail page of a record with subjects and contributors
3. Click a subject or contributor link
=> Without this patch the popup does not open in es-ES or fr-FR
=> With this patch it does

Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to