Bugzilla – Attachment 174095 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.79 KB, created by
Hammat wele
on 2024-11-06 19:31:22 UTC
(
hide
)
Description:
Bug 24172: Add missing localizer.inc for opac
Filename:
MIME Type:
Creator:
Hammat wele
Created:
2024-11-06 19:31:22 UTC
Size:
1.79 KB
patch
obsolete
>From e65842f110a390723ac9d09343ec45a2ff8bed58 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 > >--- > .../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
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