git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
75952b610
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
include
perl-globals.wmi
this is a better hack. still need to fix layout / flag size.
Roger Dingledine
commited
75952b610
at 2006-01-20 07:46:18
perl-globals.wmi
Blame
History
Raw
#!wml <: # Change both. The array is ordered (for pages like translation status). # The order of flags in header is based on sort order of language name. my @LANGUAGES = qw{en de it fr se}; my %LANGUAGES = ( 'en' => "English", 'de' => "Deutsch", 'it' => "Italiano", 'fr' => "Français", '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); :>