From 79ba5fe72cb44db392bd340d0b088fce776d5d22 Mon Sep 17 00:00:00 2001 From: Victor Grousset Date: Fri, 27 Oct 2017 15:24:52 +0200 Subject: [PATCH] Bug 19522: Label creator: edit batch: make "Export label" translatable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test plan: 1. install the fr_FR locale 2. go to /cgi-bin/koha/labels/label-manage.pl?label_element=batch 3. create a batch if there is none 4. edit that batch 5. Switch the language to French if you haven't done it yet 6. click on "Exporter le lot entier" 7. then you should see "Export labels" 8. apply this patch 9. install the language 10. replay steps 2 to 6 11. then you should see "Exporter des étiquettes" Signed-off-by: Simon Pouchol Signed-off-by: Kyle M Hall Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index 2c329cd..22f21f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -98,10 +98,10 @@ alert(_("Please select at least one label to export.")); return; // no batch selected } - return GB_showCenter('Export labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]&" + getstr, 400, 800); + return GB_showCenter(_("Export labels"), "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]&" + getstr, 400, 800); } else if (mode == 'batch') { - return GB_showCenter('Export labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]", 400, 800); + return GB_showCenter(_("Export labels"), "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]", 400, 800); } else { // some pass-thru error trapping just in case... -- 2.1.4