Bugzilla – Attachment 191029 Details for
Bug 24172
Locale is ignored when saving season name in the database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24172: Add missing localizer.inc for opac
Bug-24172-Add-missing-localizerinc-for-opac.patch (text/plain), 1.97 KB, created by
Hammat wele
on 2026-01-08 17:43:18 UTC
(
hide
)
Description:
Bug 24172: Add missing localizer.inc for opac
Filename:
MIME Type:
Creator:
Hammat wele
Created:
2026-01-08 17:43:18 UTC
Size:
1.97 KB
patch
obsolete
>From 331e741d85a04c51cf3b999a1ef26cffb607a152 Mon Sep 17 00:00:00 2001 >From: Hammat Wele <hammat.wele@inlibro.com> >Date: Thu, 8 Jan 2026 17:42:38 +0000 >Subject: [PATCH] Bug 24172: Add missing localizer.inc for opac > >Signed-off-by: Magnus Enger <magnus@libriotech.no> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > .../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 00000000000..49f3542345a >--- /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 ~%]<span>Spring</span>[%~ matches.1 | html ~%] >+ [%~ ELSIF ( matches = season.match('(.*)Summer(.*)') ) ~%] >+ [%~ matches.0 | html ~%]<span>Summer</span>[%~ matches.1 | html ~%] >+ [%~ ELSIF ( matches = season.match('(.*)Fall(.*)') ) ~%] >+ [%~ matches.0 | html ~%]<span>Fall</span>[%~ matches.1 | html ~%] >+ [%~ ELSIF ( matches = season.match('(.*)Winter(.*)') ) ~%] >+ [%~ matches.0 | html ~%]<span>Winter</span>[%~ matches.1 | html ~%] >+ [%~ ELSIF ( matches = season.match('(.*)Spr(.*)') ) ~%] >+ [%~ matches.0 | html ~%]<span>Spr</span>[%~ matches.1 | html ~%] >+ [%~ ELSIF ( matches = season.match('(.*)Sum(.*)') ) ~%] >+ [%~ matches.0 | html ~%]<span>Sum</span>[%~ matches.1 | html ~%] >+ [%~ ELSIF ( matches = season.match('(.*)Fal(.*)') ) ~%] >+ [%~ matches.0 | html ~%]<span>Fal</span>[%~ matches.1 | html ~%] >+ [%~ ELSIF ( matches = season.match('(.*)Win(.*)') ) ~%] >+ [%~ matches.0 | html ~%]<span>Win</span>[%~ matches.1 | html ~%] >+ [%~ ELSE ~%] >+ [%~ season | html ~%] >+ [%~ END ~%] >+[%~ END ~%] >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24172
:
95996
|
95998
|
96051
|
100331
|
100332
|
100888
|
139803
|
139804
|
139805
|
139806
|
139807
|
139808
|
139809
|
148921
|
151330
|
158671
|
170319
|
171104
|
172223
|
172230
|
174095
|
175493
|
175494
|
175495
|
177395
|
177396
|
177397
|
177398
|
177633
|
177634
|
177635
|
177636
|
179883
|
179884
|
179885
|
179886
|
185747
|
185748
|
185749
| 191029