Bugzilla – Attachment 111546 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: Add translation context to cancel hold button in OPAC
Bug-26647-Add-translation-context-to-cancel-hold-b.patch (text/plain), 2.35 KB, created by
Owen Leonard
on 2020-10-13 12:29:47 UTC
(
hide
)
Description:
Bug 26647: Add translation context to cancel hold button in OPAC
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-10-13 12:29:47 UTC
Size:
2.35 KB
patch
obsolete
>From bedc730d438b088ff07b90674e3320beb541d45e 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: Add translation context to cancel hold button in > OPAC > >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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > 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 970df4cccf..48cc9bb6b1 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"> >@@ -193,7 +194,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 hold button', 'Cancel') | 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