Untranslatable strings in patron messages in Bootstrap OPAC

Bug #2032692 reported by Eva Cerninakova
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

Buttons "Mark Read", "Mark Unread" and "Delete" in the patron accout messages in the Bootstrap OPAC had not been market for translation and shows untranslated:

Mark Read Button: Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2:67
Mark Unread Button: Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2:68
Delete Button: Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2:69

Lines 67 - 69
Current state:

                 <button name="action" class="btn btn-action" value="mark_read" id="mark_read" type="submit"><i class="fas fa-glasses" aria-hidden="true"></i> 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> 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> Delete</button>

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>

Revision history for this message
Eva Cerninakova (ece) wrote :
tags: added: bitesize bootstrap i18n
Revision history for this message
Linda Jansova (skolkova-s) wrote :

I confirm this bug (using Blake's localized test server: https://bugsquash3.mobiusconsortium.org/eg/opac/myopac/messages).

Revision history for this message
Linda Jansova (skolkova-s) wrote :
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Steven Mayo (stmayo) wrote :
tags: added: pullrequest
Revision history for this message
Eva Cerninakova (ece) wrote :

This bug is a duplicate of bug 1919501 (sorry for creating a duplicate).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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