687e0dc2945af33abf86501aff15c8766c3d6845
Peter Palfrader Oops, forgot to checkin thi...

Peter Palfrader authored 19 years ago

1) #!wml
2) <:
Peter Palfrader Add russian translation

Peter Palfrader authored 18 years ago

3) 	# Change both.  The array is ordered (for pages like translation status, order of flags, etc).
4) 	my @LANGUAGES = qw{de en fr it ru se};
Peter Palfrader Oops, forgot to checkin thi...

Peter Palfrader authored 19 years ago

5) 	my %LANGUAGES = (
6) 		'en' => "English",
7) 		'de' => "Deutsch",
Roger Dingledine tell the wmi engine about F...

Roger Dingledine authored 18 years ago

8) 		'it' => "Italiano",
Peter Palfrader Add sanity check for define...

Peter Palfrader authored 18 years ago

9) 		'fr' => "Fran&ccedil;ais",
Roger Dingledine this is a better hack. stil...

Roger Dingledine authored 18 years ago

10) 		'se' => "Svenska",
Peter Palfrader Add russian translation

Peter Palfrader authored 18 years ago

11) 		'ru' => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;&nbsp;(Russkij)",
Peter Palfrader Oops, forgot to checkin thi...

Peter Palfrader authored 19 years ago

12) 		);
Peter Palfrader Make translation status mor...

Peter Palfrader authored 19 years ago

13) 	our $WML_SRC_FILENAME;
Peter Palfrader Add sanity check for define...

Peter Palfrader authored 18 years ago

14) 
15) 	# sanity check.
16) 	for my $lang (@LANGUAGES) {
17) 		die "Language $lang defined in \@LANGUAGES but not in \%LANGUAGES in perl-globals"
18) 			unless exists $LANGUAGES{$lang};
19) 	};
20) 	die "\@LANGUAGES and \%LANGUAGES have a different number of elements in perl-globals"
21) 		unless (scalar @LANGUAGES == scalar keys %LANGUAGES);