From 32630f29b6bdf59d860ec1aaf08ce3f7bc7a9c7f Mon Sep 17 00:00:00 2001 From: Hammat Wele Date: Thu, 8 Jan 2026 17:42:38 +0000 Subject: [PATCH] Bug 24172: Add missing localizer.inc for opac Signed-off-by: Magnus Enger Signed-off-by: Nick Clemens Signed-off-by: David Nind --- .../bootstrap/en/includes/localizer.inc | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/includes/localizer.inc diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/localizer.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/localizer.inc new file mode 100644 index 0000000000..49f3542345 --- /dev/null +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/localizer.inc @@ -0,0 +1,21 @@ +[%~ BLOCK localize_numbering_pattern_season ~%] + [%~ IF ( matches = season.match('(.*)Spring(.*)') ) ~%] + [%~ matches.0 | html ~%]Spring[%~ matches.1 | html ~%] + [%~ ELSIF ( matches = season.match('(.*)Summer(.*)') ) ~%] + [%~ matches.0 | html ~%]Summer[%~ matches.1 | html ~%] + [%~ ELSIF ( matches = season.match('(.*)Fall(.*)') ) ~%] + [%~ matches.0 | html ~%]Fall[%~ matches.1 | html ~%] + [%~ ELSIF ( matches = season.match('(.*)Winter(.*)') ) ~%] + [%~ matches.0 | html ~%]Winter[%~ matches.1 | html ~%] + [%~ ELSIF ( matches = season.match('(.*)Spr(.*)') ) ~%] + [%~ matches.0 | html ~%]Spr[%~ matches.1 | html ~%] + [%~ ELSIF ( matches = season.match('(.*)Sum(.*)') ) ~%] + [%~ matches.0 | html ~%]Sum[%~ matches.1 | html ~%] + [%~ ELSIF ( matches = season.match('(.*)Fal(.*)') ) ~%] + [%~ matches.0 | html ~%]Fal[%~ matches.1 | html ~%] + [%~ ELSIF ( matches = season.match('(.*)Win(.*)') ) ~%] + [%~ matches.0 | html ~%]Win[%~ matches.1 | html ~%] + [%~ ELSE ~%] + [%~ season | html ~%] + [%~ END ~%] +[%~ END ~%] -- 2.39.5