From af4bee862335289c2c7e35e04d7541a220d805d7 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 096327cfcd27d7abf484c3653b13e059bb9152e5) Signed-off-by: Lucas Gass --- 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 610c968649..13b377625f 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 ) %]
@@ -187,7 +188,7 @@
- +
[% END %] -- 2.39.5