projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062940d
)
Standardlocale - fr/en waren vertauscht.
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 24 Feb 2012 11:46:24 +0000
(12:46 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 24 Feb 2012 11:46:24 +0000
(12:46 +0100)
Teilfix für bug 1821.
SL/Locale.pm
patch
|
blob
|
history
diff --git
a/SL/Locale.pm
b/SL/Locale.pm
index
bb95e73
..
2413137
100644
(file)
--- 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;