git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
c0a6f1ef4
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
include
perl-globals.wmi
Add brazilian portugese to the list of languages
Andrew Lewman
commited
c0a6f1ef4
at 2008-05-30 06:29:12
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 fi fr it ja nl no pl pt ru se tr zh-cn}; my %LANGUAGES = ( 'en' => "English", 'br' => "Brazilian Portugese", 'de' => "Deutsch", 'es' => "español", 'fi' => "suomi", 'fr' => "français", 'it' => "Italiano", 'ja' => "日本語 (Nihongo)", 'nl' => "Nederlands", 'no' => "norsk", 'pl' => "polski", 'pt' => "Português", 'ru' => "Русский (Russkij)", 'se' => "svenska", 'tr' => "Türkçe", 'zh-cn' => "中文(简) (Simplified Chinese)", ); 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); :>