Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 45b3691b

Von Moritz Bunkus vor etwa 15 Jahren hinzugefügt

  • ID 45b3691bef2282b7894b4eb56b8b35368a475ced
  • Vorgänger 0680861f
  • Nachfolger bc71c253

Für die Menüanzeige die richtige Sprache auswählen.

Unterschiede anzeigen:

bin/mozilla/menuXML.pl
47 47
# end of main
48 48

  
49 49
sub display {
50
  $locale     = Locale->new($language, "menu");
50
  $locale     = Locale->new($myconfig{countrycode}, "menu");
51 51
  my $charset = $dbcharset || 'ISO-8859-1';
52 52
  my $callback            = $form->unescape($form->{callback});
53 53
  $callback               = URI->new($callback)->rel($callback) if $callback;
bin/mozilla/menujs.pl
123 123
}
124 124

  
125 125
sub acc_menu {
126
  $locale = Locale->new($language, "menu");
126
  $locale = Locale->new($myconfig{countrycode}, "menu");
127 127
  $mainlevel = $form->{level};
128 128
  $mainlevel =~ s/$mainlevel--//g;
129 129
  my $menu = new Menu "$menufile";
bin/mozilla/menunew.pl
81 81
}
82 82

  
83 83
sub acc_menu {
84
  $locale = Locale->new($language, "menu");
84
  $locale = Locale->new($myconfig{countrycode}, "menu");
85 85

  
86 86
  my $mainlevel =  $form->{level};
87 87
  $mainlevel    =~ s/\Q$mainlevel\E--//g;
bin/mozilla/menuv3.pl
77 77
}
78 78

  
79 79
sub acc_menu {
80
  $locale = Locale->new($language, "menu");
80
  $locale = Locale->new($myconfig{countrycode}, "menu");
81 81

  
82 82
  $mainlevel = $form->{level};
83 83
  $mainlevel =~ s/\Q$mainlevel\E--//g;
bin/mozilla/menuv4.pl
77 77
}
78 78

  
79 79
sub acc_menu {
80
  $locale = Locale->new($language, "menu");
80
  $locale = Locale->new($myconfig{countrycode}, "menu");
81 81

  
82 82
  $mainlevel = $form->{level};
83 83
  $mainlevel =~ s/\Q$mainlevel\E--//g;

Auch abrufbar als: Unified diff