From 4b5625bd6fbb5d5210bbf19a2d8d45190c87acf1 Mon Sep 17 00:00:00 2001 From: Katrin Fischer 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