[Koha-bugs] [Bug 20195] New: Untranslatable Show/Hide title attr replacement in opac detail
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 14 11:58:24 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20195
Bug ID: 20195
Summary: Untranslatable Show/Hide title attr replacement in
opac detail
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: I18N/L10N
Assignee: koha-bugs at lists.koha-community.org
Reporter: pasi.kallinen at joensuu.fi
QA Contact: testopia at bugs.koha-community.org
CC: frederic at tamil.fr
opac-detail.tt contains this:
var newtitle = $(this).attr('title').replace('Show', 'Hide')
$(this).attr('title',newtitle);
This tries to replace "Show" in the title attribute of this element:
<a href="#" id="a_listResults" title="Show pagination list ([% indexPag %]-[%
indexPagEnd %] / [% totalPag %])">Browse results</a>
Which will of course fail on other languages.
(There's also the matching code to replace "Hide" with "Show")
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list