From: Frank Lichtenheld Date: Tue, 18 Sep 2007 16:28:27 +0000 (+0200) Subject: Packages::I18N::Languages: Sync with webwml/english/template/debian/languages.wml X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=247ddb20960178df87239fe5c25cb31d37f9de03;p=deb%2Fpackages.git Packages::I18N::Languages: Sync with webwml/english/template/debian/languages.wml Includes the following changes: revision 1.141 date: 2007-04-22 00:37:25 +0200; author: jseidel; state: Exp; lines: +3 -0 Added Persian, thanks Abbas Esmaeeli Some'eh ---------------------------- revision 1.140 date: 2005-08-13 00:36:22 +0200; author: djpig; state: Exp; lines: +2 -1 Add native name of Armenian and latin transliteration ---------------------------- revision 1.139 date: 2005-08-12 15:40:53 +0200; author: djpig; state: Exp; lines: +1 -0 Add dummy entry for Armenian to %selflang since this is needed to let it appear in the language list in the footer ---------------------------- revision 1.138 date: 2005-08-12 15:19:54 +0200; author: djpig; state: Exp; lines: +1 -0 Add armenian --- diff --git a/lib/Packages/I18N/Languages.pm b/lib/Packages/I18N/Languages.pm index f13ac2f..ae63ee7 100644 --- a/lib/Packages/I18N/Languages.pm +++ b/lib/Packages/I18N/Languages.pm @@ -14,25 +14,28 @@ our @EXPORT = qw( langcmp get_transliteration get_selfname ); my %langs = ( english => "en", arabic => "ar", + armenian => "hy", bulgarian => "bg", catalan => "ca", + chinese => "zh", + croatian => "hr", czech => "cs", danish => "da", + dutch => "nl", german => "de", greek => "el", esperanto => "eo", spanish => "es", finnish => "fi", french => "fr", - croatian => "hr", hungarian => "hu", indonesian => "id", italian => "it", japanese => "ja", korean => "ko", lithuanian => "lt", - dutch => "nl", norwegian => "no", + persian => "fa", polish => "pl", portuguese => "pt", romanian => "ro", @@ -41,7 +44,6 @@ my %langs = ( slovene => "sl", slovak => "sk", turkish => "tr", - chinese => "zh", ); # language directory name => native name of the language @@ -50,35 +52,42 @@ my %selflang = ( ar => 'عربية', bg => 'Български', ca => 'català', - zh => '中文', - hr => 'hrvatski', cs => 'česky', da => 'dansk', - nl => 'Nederlands', + de => 'Deutsch', + el => 'Ελληνικά', en => 'English', eo => 'Esperanto', + es => 'español', + fa => 'فارسی', fi => 'suomi', fr => 'français', - de => 'Deutsch', - el => 'Ελληνικά', hu => 'magyar', + hr => 'hrvatski', + hy => 'Հայերեն', id => 'Indonesia', it => 'Italiano', ja => '日本語', ko => '한국어', lt => 'Lietuvių', + nl => 'Nederlands', "no" => 'norsk (bokmål)', pl => 'polski', + pt => 'Português (pt)', pt_PT => 'Português (pt)', pt_BR => 'Português (br)', ro => 'română', ru => 'Русский', - es => 'español', - sk => 'slovak', #FIXME + sk => 'slovensky', + sv => 'svenska', sv_SE => 'svenska', sl => 'slovenščina', tr => 'Türkçe', - uk => 'ukrainian', #FIXME + uk => 'українська', + zh => '中文', + zh_CN => '簡體中文', + zh_HK => '正體中文', + zh_TW => '正體中文', ); # language directory name => Latin transliteration of the language name @@ -88,11 +97,17 @@ my %selflang = ( my %translit = ( ar => "Arabiya", bg => "Bəlgarski", - zh => "Zhongzu", # Not printed due to Chinese-specific code; kept for sort order el => "Ellinika", + fa => "Farsi", + hy => "hayeren", ja => "Nihongo", ko => "Hangul", # Not sure. "Hanguk-Mal" (=Spoken Korean)? ru => "Russkij", + uk => "ukrajins'ka", + zh => "Zhongzu", # Not printed due to Chinese-specific code; kept for sort order + zh_CN => "Simplified Chinese", + zh_HK => "Traditional Chinese", + zh_TW => "Traditional Chinese", ); # second transliteration table, used for languages starting with a latin