51a8ffb32460075d518984034b3d25ec9ea3fee7
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",
Roger Dingledine capitalize the languages na...

Roger Dingledine 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",
Roger Dingledine capitalize the languages na...

Roger Dingledine 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)",
Roger Dingledine capitalize the languages na...

Roger Dingledine 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);