From e65842f110a390723ac9d09343ec45a2ff8bed58 Mon Sep 17 00:00:00 2001 From: Hammat Wele Date: Wed, 6 Nov 2024 19:29:52 +0000 Subject: [PATCH] Bug 24172: Add missing localizer.inc for opac --- .../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..515e9e202a --- /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 ~%] \ No newline at end of file -- 2.34.1