Bugzilla – Attachment 177635 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.89 KB, created by
Nick Clemens (kidclamp)
on 2025-02-07 15:34:14 UTC
(
hide
)
Description:
Bug 24172: Add missing localizer.inc for opac
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-02-07 15:34:14 UTC
Size:
1.89 KB
patch
obsolete
>From 8a6d5cf7091111146d566e311c9ac9c144ebaab0 Mon Sep 17 00:00:00 2001 >From: Hammat Wele <hammat.wele@inlibro.com> >Date: Wed, 6 Nov 2024 19:29:52 +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..515e9e202a0 >--- /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.39.5
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