git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
51a8ffb32
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
include
perl-globals.wmi
capitalize the languages names that are currently lower-case. i have no idea if the russian one is upper-case or lower-case. :)
Roger Dingledine
commited
51a8ffb32
at 2006-10-14 04:53:23
perl-globals.wmi
Blame
History
Raw
#!wml <: # Change both. The array is ordered (for pages like translation status, order of flags, etc). my @LANGUAGES = qw{de en es fr it pl pt ru se}; my %LANGUAGES = ( 'en' => "English", 'de' => "Deutsch", 'es' => "Español", 'it' => "Italiano", 'fr' => "Français", 'pl' => "Polski", 'pt' => "Português", 'ru' => "Русский (Russkij)", 'se' => "Svenska", ); our $WML_SRC_FILENAME; # sanity check. for my $lang (@LANGUAGES) { die "Language $lang defined in \@LANGUAGES but not in \%LANGUAGES in perl-globals" unless exists $LANGUAGES{$lang}; }; die "\@LANGUAGES and \%LANGUAGES have a different number of elements in perl-globals" unless (scalar @LANGUAGES == scalar keys %LANGUAGES); :>