From: Sven Schöling Date: Fri, 24 Feb 2012 11:46:24 +0000 (+0100) Subject: Standardlocale - fr/en waren vertauscht. X-Git-Tag: release-2.7.0~13 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3f2c80cab0b34f8a4df491c12efa2042309551d4;p=kivitendo-erp.git Standardlocale - fr/en waren vertauscht. Teilfix für bug 1821. --- 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;