Bug 26243: (QA follow-up) Switch quotes to avoid translation issues
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 25 Sep 2020 20:24:20 +0000 (20:24 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 29 Sep 2020 12:28:18 +0000 (14:28 +0200)
The QA script warned about text in single quotes which can be
a problem for languages like French that need to be able to use
these quotes in their translations.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

index c0c9ce5..1a0afc2 100644 (file)
                                                     <em>"[% message.message | html %]"</em>
                                                 </span>
                                                 [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %]
-                                                    <a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id | html %]&amp;borrowernumber=[% message.borrowernumber | html %]" onclick="return confirm(_('Are you sure you want to delete this message? This cannot be undone.'));"><i class="fa fa-trash"></i> Delete</a>
+                                                    <a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id | html %]&amp;borrowernumber=[% message.borrowernumber | html %]" onclick='return confirm(_("Are you sure you want to delete this message? This cannot be undone."));'><i class="fa fa-trash"></i> Delete</a>
                                                 [% END %]
                                             </li>
                                         [% END %]
index b5ab09d..4bf7ba9 100644 (file)
@@ -98,7 +98,7 @@
                                                 <em>"[% patron_message.message | html %]"</em>
                                             </span>
                                             [% IF patron_message.branchcode == patron.branchcode OR Koha.Preference('AllowAllMessageDeletion') %]
-                                                <a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% patron_message.message_id | html %]&amp;borrowernumber=[% patron_message.borrowernumber | html %]&amp;from=moremember" onclick="return confirm(_('Are you sure you want to delete this message? This cannot be undone.'));"><i class="fa fa-trash"></i> Delete</a>
+                                                <a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% patron_message.message_id | html %]&amp;borrowernumber=[% patron_message.borrowernumber | html %]&amp;from=moremember" onclick='return confirm(_("Are you sure you want to delete this message? This cannot be undone."));'><i class="fa fa-trash"></i> Delete</a>
                                             [% END %]
                                         </li>
                                     [% END %]