da78211b7a0dd3b7b2742eb35eb59fcc2c22309e
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).
Peter Palfrader Build portuguese translation

Peter Palfrader authored 18 years ago

4) 	my @LANGUAGES = qw{de en es fr it pl pt ru se};
Peter Palfrader Oops, forgot to checkin thi...

Peter Palfrader authored 19 years ago

5) 	my %LANGUAGES = (
6) 		'en' => "English",
7) 		'de' => "Deutsch",
Peter Palfrader revert r8713: some language...

Peter Palfrader authored 18 years ago

8) 		'es' => "espa&ntilde;ol",
Roger Dingledine tell the wmi engine about F...

Roger Dingledine authored 18 years ago

9) 		'it' => "Italiano",
Peter Palfrader revert r8713: some language...

Peter Palfrader authored 18 years ago

10) 		'fr' => "fran&ccedil;ais",
11) 		'pl' => "polski",
Peter Palfrader Build portuguese translation

Peter Palfrader authored 18 years ago

12) 		'pt' => "Portugu&ecirc;s",
Peter Palfrader Add russian translation

Peter Palfrader authored 18 years ago

13) 		'ru' => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;&nbsp;(Russkij)",
Peter Palfrader revert r8713: some language...

Peter Palfrader authored 18 years ago

14) 		'se' => "svenska",
Peter Palfrader Oops, forgot to checkin thi...

Peter Palfrader authored 19 years ago

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

Peter Palfrader authored 19 years ago

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

Peter Palfrader authored 18 years ago

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