Last change
on this file since 364 was 239, checked in by luc, 9 years ago |
Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.
|
-
Property svn:executable
set to
*
|
File size:
1.8 KB
|
Line | |
---|
1 | /*
|
---|
2 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
---|
3 | For licensing, see LICENSE.html or http://ckeditor.com/license
|
---|
4 | */
|
---|
5 |
|
---|
6 | var CKEDITOR_LANGS = (function()
|
---|
7 | {
|
---|
8 | var langs =
|
---|
9 | {
|
---|
10 | af : 'Afrikaans',
|
---|
11 | ar : 'Arabic',
|
---|
12 | bg : 'Bulgarian',
|
---|
13 | bn : 'Bengali/Bangla',
|
---|
14 | bs : 'Bosnian',
|
---|
15 | ca : 'Catalan',
|
---|
16 | cs : 'Czech',
|
---|
17 | cy : 'Welsh',
|
---|
18 | da : 'Danish',
|
---|
19 | de : 'German',
|
---|
20 | el : 'Greek',
|
---|
21 | en : 'English',
|
---|
22 | 'en-au' : 'English (Australia)',
|
---|
23 | 'en-ca' : 'English (Canadian)',
|
---|
24 | 'en-gb' : 'English (United Kingdom)',
|
---|
25 | eo : 'Esperanto',
|
---|
26 | es : 'Spanish',
|
---|
27 | et : 'Estonian',
|
---|
28 | eu : 'Basque',
|
---|
29 | fa : 'Persian',
|
---|
30 | fi : 'Finnish',
|
---|
31 | fo : 'Faroese',
|
---|
32 | fr : 'French',
|
---|
33 | 'fr-ca' : 'French (Canada)',
|
---|
34 | gl : 'Galician',
|
---|
35 | gu : 'Gujarati',
|
---|
36 | he : 'Hebrew',
|
---|
37 | hi : 'Hindi',
|
---|
38 | hr : 'Croatian',
|
---|
39 | hu : 'Hungarian',
|
---|
40 | is : 'Icelandic',
|
---|
41 | it : 'Italian',
|
---|
42 | ja : 'Japanese',
|
---|
43 | ka : 'Georgian',
|
---|
44 | km : 'Khmer',
|
---|
45 | ko : 'Korean',
|
---|
46 | lt : 'Lithuanian',
|
---|
47 | lv : 'Latvian',
|
---|
48 | mn : 'Mongolian',
|
---|
49 | ms : 'Malay',
|
---|
50 | nb : 'Norwegian Bokmal',
|
---|
51 | nl : 'Dutch',
|
---|
52 | no : 'Norwegian',
|
---|
53 | pl : 'Polish',
|
---|
54 | pt : 'Portuguese (Portugal)',
|
---|
55 | 'pt-br' : 'Portuguese (Brazil)',
|
---|
56 | ro : 'Romanian',
|
---|
57 | ru : 'Russian',
|
---|
58 | sk : 'Slovak',
|
---|
59 | sl : 'Slovenian',
|
---|
60 | sr : 'Serbian (Cyrillic)',
|
---|
61 | 'sr-latn' : 'Serbian (Latin)',
|
---|
62 | sv : 'Swedish',
|
---|
63 | th : 'Thai',
|
---|
64 | tr : 'Turkish',
|
---|
65 | uk : 'Ukrainian',
|
---|
66 | vi : 'Vietnamese',
|
---|
67 | zh : 'Chinese Traditional',
|
---|
68 | 'zh-cn' : 'Chinese Simplified'
|
---|
69 | };
|
---|
70 |
|
---|
71 | var langsArray = [];
|
---|
72 |
|
---|
73 | for ( var code in langs )
|
---|
74 | {
|
---|
75 | langsArray.push( { code : code, name : langs[ code ] } );
|
---|
76 | }
|
---|
77 |
|
---|
78 | langsArray.sort( function( a, b )
|
---|
79 | {
|
---|
80 | return ( a.name < b.name ) ? -1 : 1;
|
---|
81 | });
|
---|
82 |
|
---|
83 | return langsArray;
|
---|
84 | })();
|
---|
Note:
See
TracBrowser
for help on using the repository browser.