Bugzilla – Attachment 111415 Details for
Bug 26647
Add translation context to cancel hold button in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26647 - The Cancel button in holds table should be translated in context for Swedish
Bug-26647---The-Cancel-button-in-holds-table-shoul.patch (text/plain), 2.32 KB, created by
Timothy Alexis Vass
on 2020-10-09 15:05:43 UTC
(
hide
)
Description:
Bug 26647 - The Cancel button in holds table should be translated in context for Swedish
Filename:
MIME Type:
Creator:
Timothy Alexis Vass
Created:
2020-10-09 15:05:43 UTC
Size:
2.32 KB
patch
obsolete
>From 06ad6449b03505f73b44c782986213343d00840b Mon Sep 17 00:00:00 2001 >From: Timothy Alexis Vass <timothy_alexis.vass@ub.lu.se> >Date: Fri, 9 Oct 2020 14:54:01 +0000 >Subject: [PATCH] Bug 26647 - The Cancel button in holds table should be > translated in context for Swedish > >0) Apply the patch and add a hold on an item. >1) Install Swedish language, sv-SE and change interface language to Swedish >2) Modify sv-SE-opac-bootstrap.po and add this: > msgctxt "Cancel hold button" > msgid "Cancel" > msgstr "Ta bort" >3) Go to the Holds table at /cgi-bin/koha/opac-user.pl#opac-user-holds >4) Confirm that the button is translated as "Ta bort" >5) Sign off >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc >index 3675569068..7a0f6d4b3b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc >@@ -1,6 +1,7 @@ > [% USE Branches %] > [% USE ItemTypes %] > [% USE KohaDates %] >+[% PROCESS 'i18n.inc' %] > > [% IF ( HOLDS.count ) %] > <div id="opac-user-holds"> >@@ -185,7 +186,7 @@ > <form id="delete_hold_[% HOLD.reserve_id | html %]" action="/cgi-bin/koha/opac-modrequest.pl" method="post"> > <input type="hidden" name="biblionumber" value="[% HOLD.biblionumber | html %]" /> > <input type="hidden" name="reserve_id" value="[% HOLD.reserve_id | html %]" /> >- <button data-title="[% INCLUDE 'biblio-title-head.inc' biblio=HOLD.biblio %]" data-reserve_id="[% HOLD.reserve_id | html %]" type="submit" class="btn btn-sm btn-danger btn-delete-hold"><i class="fa fa-remove" aria-hidden="true"></i> Cancel</button> >+ <button data-title="[% INCLUDE 'biblio-title-head.inc' biblio=HOLD.biblio %]" data-reserve_id="[% HOLD.reserve_id | html %]" type="submit" class="btn btn-sm btn-danger btn-delete-hold"><i class="fa fa-remove" aria-hidden="true"></i> [% tp('Cancel', 'Cancel hold button') | html %]</button> > </form> > [% END %] > </td> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26647
:
111415
|
111465
|
111546
|
111563