Bugzilla – Attachment 22991 Details for
Bug 11264
Add German seasons to serials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11264: Add German seasons to serials
Bug-11264-Add-German-seasons-to-serials.patch (text/plain), 1.37 KB, created by
Katrin Fischer
on 2013-11-17 23:49:50 UTC
(
hide
)
Description:
Bug 11264: Add German seasons to serials
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-11-17 23:49:50 UTC
Size:
1.37 KB
patch
obsolete
>From 4b5625bd6fbb5d5210bbf19a2d8d45190c87acf1 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 18 Nov 2013 00:44:50 +0100 >Subject: [PATCH] Bug 11264: Add German seasons to serials > >This patch adds the German season names to the serials module. > >Requirements: You must have a German locale de_* on your system. > >To test: >- Add a new subscription in the serials module >- Create a subscription for 1/3 months, seasonal >- Begins with and inner counter should both be 0 >- Year can be 2013 and second row empty >- Pick de* as a locale[1] >- Test the prediction pattern - it should tell you German seasons now >- Save the subscription - make sure the issues are crated with German > seasons as well > >[1] It seems you have to pick it explicitly - the fallback to the > system locale noted on the field didn't work for me. >--- > C4/Serials.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 6d188e7..ee28a85 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -2690,6 +2690,8 @@ sub _numeration { > [qw(Spring Summer Fall Winter)], > "fr"=> > [qw(Printemps Ãté Automne Hiver)], >+ "de"=> >+ [qw(Frühling Sommer Herbst Winter)], > ); > $value = $value % 4; > $string = ($seasons{$seasonlocale}) >-- >1.8.3.2
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 11264
:
22991
|
23007
|
23022