From cdd51a66ed3b2ab2b6da620b33c6aae7becb0159 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 3 May 2023 09:09:25 +0200 Subject: [PATCH] Bug 33551: Remove span from restriction-types.inc Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 63f2d76457c75de103f8257761ef5287d78796d5) Signed-off-by: Martin Renvoize --- .../prog/en/includes/restriction-types.inc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/restriction-types.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/restriction-types.inc index 321bde9116..dc1775a82f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/restriction-types.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/restriction-types.inc @@ -1,10 +1,11 @@ +[% PROCESS 'i18n.inc' %] [%- BLOCK restriction_type_description -%] [%- ddisplay = restriction_type.display_text -%] [%- SWITCH ddisplay -%] - [%- CASE 'Manual' -%]Manual - [%- CASE 'Overdues' -%]Overdues - [%- CASE 'Suspension' -%]Suspension - [%- CASE 'Discharge' -%]Discharge - [%- CASE -%][% ddisplay | html %] + [%- CASE 'Manual' -%][% t("Manual") %] + [%- CASE 'Overdues' -%][% t("Overdues") %] + [%- CASE 'Suspension' -%][% t("Suspension") %] + [%- CASE 'Discharge' -%][% t("Discharge") %] + [%- CASE -%][% ddisplay | html %] [%- END -%] [%- END -%] -- 2.39.5