Bugzilla – Attachment 135505 Details for
Bug 20511
Seasonal prediction just in the staff language
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20511: Remove translation support for short version of season
Bug-20511-Remove-translation-support-for-short-ver.patch (text/plain), 1.44 KB, created by
Jonathan Druart
on 2022-05-31 14:33:36 UTC
(
hide
)
Description:
Bug 20511: Remove translation support for short version of season
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-05-31 14:33:36 UTC
Size:
1.44 KB
patch
obsolete
>From 6c67889a1aaf6469cba23598b8a7fa7410624185 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 8 Apr 2022 10:40:36 +0200 >Subject: [PATCH] Bug 20511: Remove translation support for short version of > season > >Everything get messy when we translate "Sum", then "Summer" as it's a >substring. >--- > .../prog/en/includes/locales/subscriptions.inc | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/locales/subscriptions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/locales/subscriptions.inc >index c32720c813c..5008f807ae8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/locales/subscriptions.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/locales/subscriptions.inc >@@ -5,10 +5,6 @@ > [%~ SET summer = I18N.t('Summer') ~%] > [%~ SET autumn = I18N.t('Autumn') ~%] > [%~ SET winter = I18N.t('Winter') ~%] >- [%~ SET spr = I18N.t('Spr') ~%] >- [%~ SET sum = I18N.t('Sum') ~%] >- [%~ SET fal = I18N.t('Fal') ~%] >- [%~ SET win = I18N.t('Win') ~%] > >- [%~ pattern.replace('Spr', spr).replace('Sum', sum).replace('Fal', fal).replace('Win', win).replace('Spring', spring).replace('Summer', summer).replace('Autumn', autumn).replace('Winter', winter) | html ~%] >+ [%~ pattern.replace('Spring', spring).replace('Summer', summer).replace('Autumn', autumn).replace('Winter', winter) | html ~%] > [%~ END ~%] >-- >2.25.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 20511
:
130751
|
133107
|
135504
|
135505
|
135775
|
135776
|
135777
|
138684
|
138685