From bedc730d438b088ff07b90674e3320beb541d45e Mon Sep 17 00:00:00 2001 From: Timothy Alexis Vass 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 --- 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 ) %]
@@ -193,7 +194,7 @@
- +
[% END %] -- 2.11.0