You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/07/05 18:08:06 UTC

svn commit: r1608042 - /openoffice/ooo-site/trunk/content/download/languages.js

Author: marcus
Date: Sat Jul  5 16:08:05 2014
New Revision: 1608042

URL: http://svn.apache.org/r1608042
Log:
Deleted links, deleted support flags, updated comments, updated whitespaces

Modified:
    openoffice/ooo-site/trunk/content/download/languages.js

Modified: openoffice/ooo-site/trunk/content/download/languages.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/languages.js?rev=1608042&r1=1608041&r2=1608042&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/languages.js (original)
+++ openoffice/ooo-site/trunk/content/download/languages.js Sat Jul  5 16:08:05 2014
@@ -1,105 +1,105 @@
 /* Description of the array elements
 
-  a: language code - splitted ISO code for identification (not really used)
-  b: region code   - splitted ISO code for identification (not really used)
-  0: language as complete ISO code
-  1: language name in English
-  2: language name in native language (with UTF-8 character set)
-  3: flag for mirrorsystem usage ('y' to use SourceForge and 'n' to use an alternative webpage)
-  4: alternative link to download, e.g., to the NL community webpage
+  a: Language code - splitted ISO code for identification (used in "download.js --> getLanguage() )
+  b: Region code   - splitted ISO code for identification (used in "download.js --> getLanguage() )
+  0: Language as complete ISO code
+  1: Language name in English
+  2: Language name in native language (with UTF-8 character set)
+  3: Flag for mirrorsystem usage ('y' to use SourceForge and 'n' to use the alternative webpage) (currently not used)
+  4: Alternative link to download, e.g., to the Native Language community webpage (currently not used)
 
-a      b     0	      1				2				        3    4
+a	 b	 0	  1				2
 */
 
 var languages = {
-// All listed languages below are set as supported and available.
-"ast":{"-": ['ast',   'Asturian',               'Asturianu',				'y', 'http://www.openoffice.org/ast/']},
-"eu": {"-": ['eu',    'Basque',                 'Euskara',				'y', 'http://www.openoffice.org/eu/']},
-"bg": {"-": ['bg',    'Bulgarian',              'български език',			'y', 'http://www.openoffice.org/bg/']},
-"zh": {"-": ['zh',    'Chinese',		'Chinese',				'y', 'http://www.openoffice.org/download/other.html'],
-      "cn": ['zh-CN', 'Chinese (simplified)',	'简体中文',				'y', 'http://www.openoffice.org/download/other.html'],
-      "tw": ['zh-TW', 'Chinese (traditional)',	'正體中文',				'y', 'http://www.openoffice.org/download/other.html']},
-"cs": {"-": ['cs',    'Czech',			'Čeština',				'y', 'http://www.openoffice.org/cs/']},
-"da": {"-": ['da',    'Danish',                 'Dansk',				'y', 'http://www.openoffice.org/da/']},
-"nl": {"-": ['nl',    'Dutch',			'Nederlands',				'y', 'http://www.openoffice.org/nl/downloaden.html']},
-"en": {"-": ['en',    'English',		'English',				'y', 'http://www.openoffice.org/download/other.html'],
-      "en": ['en-EN', 'English',		'English',				'y', 'http://www.openoffice.org/download/other.html'],
-      "gb": ['en-GB', 'English (British)',	'English (British)',			'y', 'http://www.openoffice.org/download/other.html'],
-      "us": ['en-US', 'English (US)',		'English (US)',				'y', 'http://www.openoffice.org/download/other.html']},
-"fi": {"-": ['fi',    'Finnish',		'Suomi',				'y', 'http://www.openoffice.org/fi/lataa.html']},
-"fr": {"-": ['fr',    'French',			'Français',			'y', 'http://www.openoffice.org/fr/']},
-"gl": {"-": ['gl',    'Galician',		'Galego',				'y', 'http://www.openoffice.org/gl/']},
-"de": {"-": ['de',    'German',			'Deutsch',				'y', 'http://www.openoffice.org/de/']},
-"el": {"-": ['el',    'Greek',                  'Ελληνικά', 'y', 'http://www.openoffice.org/el/']},
-"he": {"-": ['he',    'Hebrew',                 'עברית',					'y', 'http://www.openoffice.org/he/']},
-"hi": {"-": ['hi',    'Hindi',                  'हिन्दी',					'y', 'http://www.openoffice.org/hi/']},
-"hu": {"-": ['hu',    'Hungarian',		'Magyar',				'y', 'http://www.openoffice.org/hu/about-downloads.html']},
-"it": {"-": ['it',    'Italian',		'Italiano',				'y', 'http://www.openoffice.org/it/download/']},
-"ja": {"-": ['ja',    'Japanese',		'日本語',				'y', 'http://www.openoffice.org/ja/']},
-"km": {"-": ['km',    'Khmer',			'ភាសាខ្មែរ',			'y', 'http://www.openoffice.org/download/other.html']},
-"ko": {"-": ['ko',    'Korean',                 '한국어',					'y', 'http://www.openoffice.org/ko/']},
-"lt": {"-": ['lt',    'Lithuanian',             'Lietuvių',				'y', 'http://www.openoffice.org/lt/']},
-"nb": {"-": ['nb',    'Norwegian (Bokmal)',     'Norsk (Bokmål)',			'y', 'http://www.openoffice.org/no/']},
-"pl": {"-": ['pl',    'Polish',                 'Polski',				'y', 'http://www.openoffice.org/pl/product.download.html']},
-"pt": {"-": ['pt',    'Portuguese (European)',	'Português (Europeu)',		'y', 'http://www.openoffice.org/pt/download/download.htm'],
-      "br": ['pt-BR', 'Portuguese (Brazilian)',	'Português (do Brasil)',		'y', 'http://www.openoffice.org/pt-br/'],
-      "pt": ['pt-PT', 'Portuguese (European)',	'Português (Europeu)',		'y', 'http://www.openoffice.org/pt/download/download.htm']},
-"ru": {"-": ['ru',    'Russian',		'Русский',				'y', 'http://www.openoffice.org/ru/about-downloads.html']},
-"gd": {"-": ['gd',    'Scottish (Gaelic)',	'Gàidhlig',				'y', 'http://www.openoffice.org/gd/']},
-"sr": {"-": ['sr',    'Serbian (Cyrillic)',     'Cрпски (ћирилицом)',			'y', 'http://www.openoffice.org/sr/preuzmi.html']},
-"sk": {"-": ['sk',    'Slovak',			'Slovenský jazyk (slovenčina)',		'y', 'http://www.openoffice.org/sk/']},
-"sl": {"-": ['sl',    'Slovenian',		'Slovenski jezik (slovenščina)',	'y', 'http://www.openoffice.org/sl/']},
-"es": {"-": ['es',    'Spanish',		'Español',			'y', 'http://www.openoffice.org/es/']},
-"sv": {"-": ['sv',    'Swedish',                'Svenska',				'y', 'http://www.openoffice.org/sv/get/']},
-"ta": {"-": ['ta',    'Tamil',                  'தமிழ்',					'y', 'http://www.openoffice.org/ta/']},
-"th": {"-": ['th',    'Thai',                   'ภาษาไทย',				'y', 'http://www.openoffice.org/download/other.html']},
-"tr": {"-": ['tr',    'Turkish',                'Türkçe',			'y', 'http://www.openoffice.org/tr/']},
-"vi": {"-": ['vi',    'Vietnamese',             'Tiếng Việt',				'y', 'http://www.openoffice.org/vi/']},
+// All listed languages below *are* supported and *are* available as full installation and language pack.
+"ast": { "-" : [ 'ast',   'Asturian',			'Asturianu' ] },
+"eu":  { "-" : [ 'eu',    'Basque',			'Euskara' ] },
+"bg":  { "-" : [ 'bg',    'Bulgarian',			'български език' ] },
+"zh":  { "-" : [ 'zh',    'Chinese',			'Chinese' ],
+         "cn": [ 'zh-CN', 'Chinese (simplified)',	'简体中文' ],
+         "tw": [ 'zh-TW', 'Chinese (traditional)',	'正體中文' ] },
+"cs":  { "-" : [ 'cs',    'Czech',			'Čeština' ] },
+"da":  { "-" : [ 'da',    'Danish',			'Dansk' ] },
+"nl":  { "-" : [ 'nl',    'Dutch',			'Nederlands' ] },
+"en":  { "-" : [ 'en',    'English',			'English' ],
+         "en": [ 'en-EN', 'English',			'English' ],
+         "gb": [ 'en-GB', 'English (British)',		'English (British)' ],
+         "us": [ 'en-US', 'English (US)',		'English (US)' ] },
+"fi":  { "-" : [ 'fi',    'Finnish',			'Suomi' ] },
+"fr":  { "-" : [ 'fr',    'French',			'Français' ] },
+"gl":  { "-" : [ 'gl',    'Galician',			'Galego' ] },
+"de":  { "-" : [ 'de',    'German',			'Deutsch' ] },
+"el":  { "-" : [ 'el',    'Greek',			'Ελληνικά' ] },
+"he":  { "-" : [ 'he',    'Hebrew',			'עברית' ] },
+"hi":  { "-" : [ 'hi',    'Hindi',			'हिन्दी' ] },
+"hu":  { "-" : [ 'hu',    'Hungarian',			'Magyar' ] },
+"it":  { "-" : [ 'it',    'Italian',			'Italiano' ] },
+"ja":  { "-" : [ 'ja',    'Japanese',			'日本語' ] },
+"km":  { "-" : [ 'km',    'Khmer',			'ភាសាខ្មែរ' ] },
+"ko":  { "-" : [ 'ko',    'Korean',			'한국어' ] },
+"lt":  { "-" : [ 'lt',    'Lithuanian',			'Lietuvių' ] },
+"nb":  { "-" : [ 'nb',    'Norwegian (Bokmal)',		'Norsk (Bokmål)' ] },
+"pl":  { "-" : [ 'pl',    'Polish',			'Polski' ] },
+"pt":  { "-" : [ 'pt',    'Portuguese (European)',	'Português (Europeu)' ],
+         "br": [ 'pt-BR', 'Portuguese (Brazilian)',	'Português (do Brasil)' ],
+         "pt": [ 'pt-PT', 'Portuguese (European)',	'Português (Europeu)' ] },
+"ru":  { "-" : [ 'ru',    'Russian',			'Русский' ] },
+"gd":  { "-" : [ 'gd',    'Scottish (Gaelic)',		'Gàidhlig' ] },
+"sr":  { "-" : [ 'sr',    'Serbian (Cyrillic)',		'Cрпски (ћирилицом)' ] },
+"sk":  { "-" : [ 'sk',    'Slovak',			'Slovenský jazyk (slovenčina)' ] },
+"sl":  { "-" : [ 'sl',    'Slovenian',			'Slovenski jezik (slovenščina)' ] },
+"es":  { "-" : [ 'es',    'Spanish',			'Español' ] },
+"sv":  { "-" : [ 'sv',    'Swedish',			'Svenska' ] },
+"ta":  { "-" : [ 'ta',    'Tamil',			'தமிழ்' ] },
+"th":  { "-" : [ 'th',    'Thai',			'ภาษาไทย' ] },
+"tr":  { "-" : [ 'tr',    'Turkish',			'Türkçe' ] },
+"vi":  { "-" : [ 'vi',    'Vietnamese',			'Tiếng Việt' ] },
 
-// All listed languages below are set as *not supported and *not* available.
-"ar": {"-": ['ar',    'Arabic',			'عربي',					'n', 'http://www.openoffice.org/ar/']},
-"as": {"-": ['as',    'Assamese',               'অসমীয়া',					 'n', 'http://www.openoffice.org/download/other.html']},
-"be": {"-": ['be',    'Belarusian',             'Беларуская мова',			'n', 'http://www.openoffice.org/download/other.html'],
-      "be": ['be-BE', 'Belarusian',             'Беларуская мова',			'n', 'http://www.openoffice.org/download/other.html'],
-      "by": ['be-BY', 'Belarusian',             'Беларуская мова',			'n', 'http://www.openoffice.org/download/other.html']},
-"bn": {"-": ['bn',    'Bengali',                'বাংলা',					 'n', 'http://www.openoffice.org/bn/']},
-"my": {"-": ['my',    'Burmese',                'မြန်မာဘာသာ',			'n', 'http://www.openoffice.org/my/']},
-"ca": {"-": ['ca',    'Catalan',                'Català',				'n', 'http://www.softcatala.org/projectes/openoffice/'],
-      "ca": ['ca-CA', 'Catalan',                'Català',				'n', 'http://www.softcatala.org/projectes/openoffice/'],
-      "xv": ['ca-XV', 'Catalan (Valencian)',    'Català (Valencià)',			'n', 'http://www.openoffice.org/download/other.html']},
-"hr": {"-": ['hr',    'Croatian',               'hrvatski',				'n', 'http://www.openoffice.org/hr/']},
-"dz": {"-": ['dz',    'Dzongkha',               'རྫོང་ཁ',					 'n', 'http://www.openoffice.org/download/other.html']},
-"eo": {"-": ['eo',    'Esperanto',              'Esperanto',				'n', 'http://www.openoffice.org/eo/']},
-"et": {"-": ['et',    'Estonian',               'Eesti keel',				'n', 'http://www.openoffice.org/download/other.html']},
-"ka": {"-": ['ka',    'Georgian',               'ქართული ენა',				'n', 'http://www.openoffice.org/ka/']},
-"gu": {"-": ['gu',    'Gujarati',               'ગુજરાતી',					'n', 'http://www.openoffice.org/gu/']},
-"is": {"-": ['is',    'Icelandic',              'Íslenska',				'n', 'http://www.openoffice.org/download/other.html']},
-"id": {"-": ['id',    'Indonesian',             'Bahasa Indonesia',			'n', 'http://www.openoffice.org/id/']},
-"ga": {"-": ['ga',    'Irish',                  'Gaeilge',				'n', 'http://www.openoffice.org/ga/']},
-"kn": {"-": ['kn',    'Kannada',                'ಕನ್ನಡ',					'n', 'http://www.openoffice.org/download/other.html']},
-"ku": {"-": ['ku',    'Kurdish',                'Kurdî',				'n', 'http://www.openoffice.org/download/other.html']},
-"lv": {"-": ['lv',    'Latvian',                'Latviešu valoda',			'n', 'http://www.openoffice.org/lv/']},
-"lo": {"-": ['lo',    'Laotian',                'ພາສາລາວ',				'n', 'http://www.openoffice.org/lo/']},
-"mk": {"-": ['mk',    'Macedonian',             'Македонски',				'n', 'http://www.openoffice.org/mk/']},
-"ml": {"-": ['ml',    'Malayalam',              'മലയാളം',				'n', 'http://www.openoffice.org/ml/']},
-"ms": {"-": ['ms',    'Malaysian',              'بهاس ملايو',				'n', 'http://www.openoffice.org/ms/']},
-"mr": {"-": ['mr',    'Marathi',                'मराठी',					'n', 'http://www.openoffice.org/download/other.html']},
-"mn": {"-": ['mn',    'Mongolian',              'Монгол хэл',				'n', 'http://www.openoffice.org/mn/']},
-"nn": {"-": ['nn',    'Norwegian (Nynorsk)',    'Norsk (Nynorsk)',			'n', 'http://www.openoffice.org/no/']},
-"no": {"-": ['no',    'Norwegian',              'Norsk',				'n', 'http://www.openoffice.org/no/']},
-"oc": {"-": ['oc',    'Occitan',                'Occitan',				'n', 'http://www.openoffice.org/download/other.html']},
-"or": {"-": ['or',    'Oriya',                  'ଓଡ଼ିଆ',					'n', 'http://www.openoffice.org/download/other.html']},
-"om": {"-": ['om',    'Oromo',                  'ኦሮሚኛ',					'n', 'http://www.openoffice.org/om/']},
-"pa": {"-": ['pa',    'Punjabi',                'ਪੰਜਾਬੀ',					'n', 'http://www.openoffice.org/pa/'],
-      "pa": ['pa-PA', 'Punjabi',                'ਪੰਜਾਬੀ',					'n', 'http://www.openoffice.org/pa/'],
-      "in": ['pa-IN', 'Punjabi',                'ਪੰਜਾਬੀ',					'n', 'http://www.openoffice.org/pa/']},
-"ro": {"-": ['ro',    'Romanian',               'Română',				'n', 'http://www.openoffice.org/ro/']},
-"sh": {"-": ['sh',    'Serbian (Latin)',        'Srpski (latinicom)',			'n', 'http://www.openoffice.org/sr/lat/preuzmi.html']},
-"si": {"-": ['si',    'Sinhala',                'සිංහල',					'n', 'http://www.openoffice.org/si/']},
-"te": {"-": ['te',    'Telugu',                 'తెలుగు',				'n', 'http://www.openoffice.org/download/other.html']},
-"uk": {"-": ['uk',    'Ukrainian',              'Yкраї́нська мо́ва',			'n', 'http://www.openoffice.org/uk/']},
-"ug": {"-": ['ug',    'Uyghur',                 'ئۇيغۇرچە‎',				'n', 'http://www.openoffice.org/download/other.html']},
-"uz": {"-": ['uz',    'Uzbek',                  'Ўзбек',				'n', 'http://www.openoffice.org/uz/']},
-"cy": {"-": ['cy',    'Welsh',                  'Cymraeg',				'n', 'http://www.openoffice.org/download/test/index.html']}
+// All listed languages below *are not supported* and *not* available as full installation and language pack.
+"ar":  { "-" : [ 'ar',    'Arabic',			'عربي' ] },
+"as":  { "-" : [ 'as',    'Assamese',			'অসমীয়া' ] },
+"be":  { "-" : [ 'be',    'Belarusian',			'Беларуская мова' ],
+         "be": [ 'be-BE', 'Belarusian',			'Беларуская мова' ],
+         "by": [ 'be-BY', 'Belarusian',			'Беларуская мова' ] },
+"bn":  { "-" : [ 'bn',    'Bengali',			'বাংলা' ] },
+"my":  { "-" : [ 'my',    'Burmese',			'မြန်မာဘာသာ' ] },
+"ca":  { "-" : [ 'ca',    'Catalan',			'Català' ],
+         "ca": [ 'ca-CA', 'Catalan',			'Català' ],
+         "xv": [ 'ca-XV', 'Catalan (Valencian)',	'Català (Valencià)' ] },
+"hr":  { "-" : [ 'hr',    'Croatian',			'hrvatski' ] },
+"dz":  { "-" : [ 'dz',    'Dzongkha',			'རྫོང་ཁ' ] },
+"eo":  { "-" : [ 'eo',    'Esperanto',			'Esperanto' ] },
+"et":  { "-" : [ 'et',    'Estonian',			'Eesti keel' ] },
+"ka":  { "-" : [ 'ka',    'Georgian',			'ქართული ენა' ] },
+"gu":  { "-" : [ 'gu',    'Gujarati',			'ગુજરાતી' ] },
+"is":  { "-" : [ 'is',    'Icelandic',			'Íslenska' ] },
+"id":  { "-" : [ 'id',    'Indonesian',			'Bahasa Indonesia' ] },
+"ga":  { "-" : [ 'ga',    'Irish',			'Gaeilge' ] },
+"kn":  { "-" : [ 'kn',    'Kannada',			'ಕನ್ನಡ' ] },
+"ku":  { "-" : [ 'ku',    'Kurdish',			'Kurdî' ] },
+"lv":  { "-" : [ 'lv',    'Latvian',			'Latviešu valoda' ] },
+"lo":  { "-" : [ 'lo',    'Laotian',			'ພາສາລາວ' ] },
+"mk":  { "-" : [ 'mk',    'Macedonian',			'Македонски' ] },
+"ml":  { "-" : [ 'ml',    'Malayalam',			'മലയാളം' ] },
+"ms":  { "-" : [ 'ms',    'Malaysian',			'بهاس ملايو' ] },
+"mr":  { "-" : [ 'mr',    'Marathi',			'मराठी' ] },
+"mn":  { "-" : [ 'mn',    'Mongolian',			'Монгол хэл' ] },
+"nn":  { "-" : [ 'nn',    'Norwegian (Nynorsk)',	'Norsk (Nynorsk)' ] },
+"no":  { "-" : [ 'no',    'Norwegian',			'Norsk' ] },
+"oc":  { "-" : [ 'oc',    'Occitan',			'Occitan' ] },
+"or":  { "-" : [ 'or',    'Oriya',			'ଓଡ଼ିଆ' ] },
+"om":  { "-" : [ 'om',    'Oromo',			'ኦሮሚኛ' ] },
+"pa":  { "-" : [ 'pa',    'Punjabi',			'ਪੰਜਾਬੀ' ],
+         "pa": [ 'pa-PA', 'Punjabi',			'ਪੰਜਾਬੀ' ],
+         "in": [ 'pa-IN', 'Punjabi',			'ਪੰਜਾਬੀ' ] },
+"ro":  { "-" : [ 'ro',    'Romanian',			'Română' ] },
+"sh":  { "-" : [ 'sh',    'Serbian (Latin)',		'Srpski (latinicom)' ] },
+"si":  { "-" : [ 'si',    'Sinhala',			'සිංහල' ] },
+"te":  { "-" : [ 'te',    'Telugu',			'తెలుగు' ] },
+"uk":  { "-" : [ 'uk',    'Ukrainian',			'Yкраї́нська мо́ва' ] },
+"ug":  { "-" : [ 'ug',    'Uyghur',			'ئۇيغۇرچە‎' ] },
+"uz":  { "-" : [ 'uz',    'Uzbek',			'Ўзбек' ] },
+"cy":  { "-" : [ 'cy',    'Welsh',			'Cymraeg' ] }
 };