Button in Patron Messages interface in OPAC are not translatable

Bug #1919501 reported by Eva Cerninakova
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
3.10
Fix Released
Undecided
Unassigned
3.11
Fix Released
Undecided
Unassigned

Bug Description

The "Mark Read", "Mark Unread" and "Delete" buttons in Patron Messages interface (Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2, lines 67-69) are not marked for translation

The correct contents of the lines 67-69 should be:

                <button name="action" class="btn btn-action" value="mark_read" id="mark_read" type="submit"><i class="fas fa-glasses" aria-hidden="true"></i> [% l('Mark Read') %]</button>
                <button name="action" class="btn btn-opac" value="mark_unread" id="mark_unread" type="submit"><i class="fas fa-eye-slash" aria-hidden="true"></i> [% l('Mark Unread') %]</button>
                <button name="action" class="btn btn-deny" value="mark_deleted" id="mark_deleted" type="submit" onclick="return confirm('[% l("Are you sure you wish to permanently delete the selected message(s)?") %]')"><i class="fas fa-trash-alt" aria-hidden="true"></i> [% l('Delete') %]</button>

Eva Cerninakova (ece)
tags: added: bitesize i18n opac
Garry Collum (gcollum)
Changed in evergreen:
status: New → Confirmed
Steven Mayo (stmayo)
Changed in evergreen:
assignee: nobody → Steven Mayo (stmayo)
Revision history for this message
Steven Mayo (stmayo) wrote (last edit ):
tags: added: pullrequest
Steven Mayo (stmayo)
Changed in evergreen:
assignee: Steven Mayo (stmayo) → nobody
Revision history for this message
Terran McCanna (tmccanna) wrote :
Revision history for this message
Eva Cerninakova (ece) wrote :

I tested the bug using https://terran-testbox.gapines.org/. I can confirm that buttons appear translated in cases when the translation of the button text is available in the system (In Czech the translation for the "Mark read" is missing, however, in Spanish all buttons appeared translated).

I consent to signing off on it with my name, Eva Cerniňáková and my email address, <email address hidden>.

tags: added: signedoff
Changed in evergreen:
milestone: none → 3.12-beta
Revision history for this message
Terran McCanna (tmccanna) wrote :

Thanks Steven and Eva!

Fix committed and pushed back as far as 3.10

Changed in evergreen:
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.