From: Moritz Bunkus Date: Fri, 2 Oct 2009 15:19:23 +0000 (+0200) Subject: Für die Menüanzeige die richtige Sprache auswählen. X-Git-Tag: release-2.6.1beta1~252 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=45b3691bef2282b7894b4eb56b8b35368a475ced;p=kivitendo-erp.git Für die Menüanzeige die richtige Sprache auswählen. --- diff --git a/bin/mozilla/menuXML.pl b/bin/mozilla/menuXML.pl index 8f2223b47..1d9b0accc 100644 --- a/bin/mozilla/menuXML.pl +++ b/bin/mozilla/menuXML.pl @@ -47,7 +47,7 @@ use URI; # end of main sub display { - $locale = Locale->new($language, "menu"); + $locale = Locale->new($myconfig{countrycode}, "menu"); my $charset = $dbcharset || 'ISO-8859-1'; my $callback = $form->unescape($form->{callback}); $callback = URI->new($callback)->rel($callback) if $callback; diff --git a/bin/mozilla/menujs.pl b/bin/mozilla/menujs.pl index fd608fc04..b948ef207 100644 --- a/bin/mozilla/menujs.pl +++ b/bin/mozilla/menujs.pl @@ -123,7 +123,7 @@ window.onload=clockon } sub acc_menu { - $locale = Locale->new($language, "menu"); + $locale = Locale->new($myconfig{countrycode}, "menu"); $mainlevel = $form->{level}; $mainlevel =~ s/$mainlevel--//g; my $menu = new Menu "$menufile"; diff --git a/bin/mozilla/menunew.pl b/bin/mozilla/menunew.pl index 5002b1b91..777c38c8a 100644 --- a/bin/mozilla/menunew.pl +++ b/bin/mozilla/menunew.pl @@ -81,7 +81,7 @@ sub clock_line { } sub acc_menu { - $locale = Locale->new($language, "menu"); + $locale = Locale->new($myconfig{countrycode}, "menu"); my $mainlevel = $form->{level}; $mainlevel =~ s/\Q$mainlevel\E--//g; diff --git a/bin/mozilla/menuv3.pl b/bin/mozilla/menuv3.pl index 14753f2c4..02a465e7d 100644 --- a/bin/mozilla/menuv3.pl +++ b/bin/mozilla/menuv3.pl @@ -77,7 +77,7 @@ sub clock_line { } sub acc_menu { - $locale = Locale->new($language, "menu"); + $locale = Locale->new($myconfig{countrycode}, "menu"); $mainlevel = $form->{level}; $mainlevel =~ s/\Q$mainlevel\E--//g; diff --git a/bin/mozilla/menuv4.pl b/bin/mozilla/menuv4.pl index e20c8336a..0420fee31 100644 --- a/bin/mozilla/menuv4.pl +++ b/bin/mozilla/menuv4.pl @@ -77,7 +77,7 @@ sub clock_line { } sub acc_menu { - $locale = Locale->new($language, "menu"); + $locale = Locale->new($myconfig{countrycode}, "menu"); $mainlevel = $form->{level}; $mainlevel =~ s/\Q$mainlevel\E--//g;