From 3f2c80cab0b34f8a4df491c12efa2042309551d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 24 Feb 2012 12:46:24 +0100 Subject: [PATCH] Standardlocale - fr/en waren vertauscht. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Teilfix für bug 1821. --- SL/Locale.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Locale.pm b/SL/Locale.pm index bb95e7309..24131378f 100644 --- a/SL/Locale.pm +++ b/SL/Locale.pm @@ -232,8 +232,8 @@ sub lang_to_locale { my $requested_locale; $requested_locale = 'de' if $requested_lang =~ m/^_(de|deu|ger)/i; - $requested_locale = 'fr' if $requested_lang =~ m/^_(en|uk|us|gr)/i; - $requested_locale = 'en' if $requested_lang =~ m/^_fr/i; + $requested_locale = 'en' if $requested_lang =~ m/^_(en|uk|us|gr)/i; + $requested_locale = 'fr' if $requested_lang =~ m/^_fr/i; $requested_locale ||= 'de'; return $requested_locale; -- 2.20.1