Add JS files

This commit is contained in:
2025-05-12 15:45:17 +00:00
parent 7ddd15c4fa
commit 967007b0c7
3239 changed files with 1157078 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'af', {
fontSize: {
label: 'Grootte',
voiceLabel: 'Fontgrootte',
panelTitle: 'Fontgrootte'
},
label: 'Font',
panelTitle: 'Fontnaam',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ar', {
fontSize: {
label: 'حجم الخط',
voiceLabel: 'حجم الخط',
panelTitle: 'حجم الخط'
},
label: 'خط',
panelTitle: 'حجم الخط',
voiceLabel: 'حجم الخط'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'bg', {
fontSize: {
label: 'Размер',
voiceLabel: 'Размер на шрифт',
panelTitle: 'Размер на шрифт'
},
label: 'Шрифт',
panelTitle: 'Име на шрифт',
voiceLabel: 'Шрифт'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'bn', {
fontSize: {
label: 'সাইজ',
voiceLabel: 'Font Size',
panelTitle: 'সাইজ'
},
label: 'ফন্ট',
panelTitle: 'ফন্ট',
voiceLabel: 'ফন্ট'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'bs', {
fontSize: {
label: 'Velièina',
voiceLabel: 'Font Size',
panelTitle: 'Velièina'
},
label: 'Font',
panelTitle: 'Font',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ca', {
fontSize: {
label: 'Mida',
voiceLabel: 'Mida de la lletra',
panelTitle: 'Mida de la lletra'
},
label: 'Tipus de lletra',
panelTitle: 'Tipus de lletra',
voiceLabel: 'Tipus de lletra'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'cs', {
fontSize: {
label: 'Velikost',
voiceLabel: 'Velikost písma',
panelTitle: 'Velikost'
},
label: 'Písmo',
panelTitle: 'Písmo',
voiceLabel: 'Písmo'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'cy', {
fontSize: {
label: 'Maint',
voiceLabel: 'Maint y Ffont',
panelTitle: 'Maint y Ffont'
},
label: 'Ffont',
panelTitle: 'Enw\'r Ffont',
voiceLabel: 'Ffont'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'da', {
fontSize: {
label: 'Skriftstørrelse',
voiceLabel: 'Skriftstørrelse',
panelTitle: 'Skriftstørrelse'
},
label: 'Skrifttype',
panelTitle: 'Skrifttype',
voiceLabel: 'Skrifttype'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'de', {
fontSize: {
label: 'Größe',
voiceLabel: 'Schrifgröße',
panelTitle: 'Größe'
},
label: 'Schriftart',
panelTitle: 'Schriftart',
voiceLabel: 'Schriftart'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'el', {
fontSize: {
label: 'Μέγεθος',
voiceLabel: 'Μέγεθος Γραμματοσειράς',
panelTitle: 'Μέγεθος Γραμματοσειράς'
},
label: 'Γραμματοσειρά',
panelTitle: 'Όνομα Γραμματοσειράς',
voiceLabel: 'Γραμματοσειρά'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'en-au', {
fontSize: {
label: 'Size',
voiceLabel: 'Font Size',
panelTitle: 'Font Size'
},
label: 'Font',
panelTitle: 'Font Name',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'en-ca', {
fontSize: {
label: 'Size',
voiceLabel: 'Font Size',
panelTitle: 'Font Size'
},
label: 'Font',
panelTitle: 'Font Name',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'en-gb', {
fontSize: {
label: 'Size',
voiceLabel: 'Font Size',
panelTitle: 'Font Size'
},
label: 'Font',
panelTitle: 'Font Name',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'en', {
fontSize: {
label: 'Size',
voiceLabel: 'Font Size',
panelTitle: 'Font Size'
},
label: 'Font',
panelTitle: 'Font Name',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'eo', {
fontSize: {
label: 'Grado',
voiceLabel: 'Tipara grado',
panelTitle: 'Tipara grado'
},
label: 'Tiparo',
panelTitle: 'Tipara nomo',
voiceLabel: 'Tiparo'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'es', {
fontSize: {
label: 'Tamaño',
voiceLabel: 'Tamaño de fuente',
panelTitle: 'Tamaño'
},
label: 'Fuente',
panelTitle: 'Fuente',
voiceLabel: 'Fuente'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'et', {
fontSize: {
label: 'Suurus',
voiceLabel: 'Kirja suurus',
panelTitle: 'Suurus'
},
label: 'Kiri',
panelTitle: 'Kiri',
voiceLabel: 'Kiri'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'eu', {
fontSize: {
label: 'Tamaina',
voiceLabel: 'Tamaina',
panelTitle: 'Tamaina'
},
label: 'Letra-tipoa',
panelTitle: 'Letra-tipoa',
voiceLabel: 'Letra-tipoa'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'fa', {
fontSize: {
label: 'اندازه',
voiceLabel: 'اندازه قلم',
panelTitle: 'اندازه قلم'
},
label: 'قلم',
panelTitle: 'نام قلم',
voiceLabel: 'قلم'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'fi', {
fontSize: {
label: 'Koko',
voiceLabel: 'Kirjaisimen koko',
panelTitle: 'Koko'
},
label: 'Kirjaisinlaji',
panelTitle: 'Kirjaisinlaji',
voiceLabel: 'Kirjaisinlaji'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'fo', {
fontSize: {
label: 'Skriftstødd',
voiceLabel: 'Skriftstødd',
panelTitle: 'Skriftstødd'
},
label: 'Skrift',
panelTitle: 'Skrift',
voiceLabel: 'Skrift'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'fr-ca', {
fontSize: {
label: 'Taille',
voiceLabel: 'Taille',
panelTitle: 'Taille'
},
label: 'Police',
panelTitle: 'Police',
voiceLabel: 'Police'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'fr', {
fontSize: {
label: 'Taille',
voiceLabel: 'Taille de police',
panelTitle: 'Taille de police'
},
label: 'Police',
panelTitle: 'Style de police',
voiceLabel: 'Police'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'gl', {
fontSize: {
label: 'Tamaño',
voiceLabel: 'Tamaño da letra',
panelTitle: 'Tamaño da letra'
},
label: 'Tipo de letra',
panelTitle: 'Nome do tipo de letra',
voiceLabel: 'Tipo de letra'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'gu', {
fontSize: {
label: 'ફૉન્ટ સાઇઝ/કદ',
voiceLabel: 'ફોન્ટ સાઈઝ',
panelTitle: 'ફૉન્ટ સાઇઝ/કદ'
},
label: 'ફૉન્ટ',
panelTitle: 'ફૉન્ટ',
voiceLabel: 'ફોન્ટ'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'he', {
fontSize: {
label: 'גודל',
voiceLabel: 'גודל',
panelTitle: 'גודל'
},
label: 'גופן',
panelTitle: 'גופן',
voiceLabel: 'גופן'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'hi', {
fontSize: {
label: 'साइज़',
voiceLabel: 'Font Size',
panelTitle: 'साइज़'
},
label: 'फ़ॉन्ट',
panelTitle: 'फ़ॉन्ट',
voiceLabel: 'फ़ॉन्ट'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'hr', {
fontSize: {
label: 'Veličina',
voiceLabel: 'Veličina slova',
panelTitle: 'Veličina'
},
label: 'Font',
panelTitle: 'Font',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'hu', {
fontSize: {
label: 'Méret',
voiceLabel: 'Betűméret',
panelTitle: 'Méret'
},
label: 'Betűtípus',
panelTitle: 'Betűtípus',
voiceLabel: 'Betűtípus'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'id', {
fontSize: {
label: 'Ukuran',
voiceLabel: 'Font Size', // MISSING
panelTitle: 'Font Size' // MISSING
},
label: 'Font', // MISSING
panelTitle: 'Font Name', // MISSING
voiceLabel: 'Font' // MISSING
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'is', {
fontSize: {
label: 'Leturstærð ',
voiceLabel: 'Font Size',
panelTitle: 'Leturstærð '
},
label: 'Leturgerð ',
panelTitle: 'Leturgerð ',
voiceLabel: 'Leturgerð '
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'it', {
fontSize: {
label: 'Dimensione',
voiceLabel: 'Dimensione Carattere',
panelTitle: 'Dimensione'
},
label: 'Carattere',
panelTitle: 'Carattere',
voiceLabel: 'Carattere'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ja', {
fontSize: {
label: 'サイズ',
voiceLabel: 'フォントサイズ',
panelTitle: 'フォントサイズ'
},
label: 'フォント',
panelTitle: 'フォント',
voiceLabel: 'フォント'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ka', {
fontSize: {
label: 'ზომა',
voiceLabel: 'ტექსტის ზომა',
panelTitle: 'ტექსტის ზომა'
},
label: 'ფონტი',
panelTitle: 'ფონტის სახელი',
voiceLabel: 'ფონტი'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'km', {
fontSize: {
label: 'ទំហំ',
voiceLabel: 'ទំហំ​អក្សរ',
panelTitle: 'ទំហំ​អក្សរ'
},
label: 'ពុម្ព​អក្សរ',
panelTitle: 'ឈ្មោះ​ពុម្ព​អក្សរ',
voiceLabel: 'ពុម្ព​អក្សរ'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ko', {
fontSize: {
label: '글자 크기',
voiceLabel: 'Font Size',
panelTitle: '글자 크기'
},
label: '폰트',
panelTitle: '폰트',
voiceLabel: '폰트'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ku', {
fontSize: {
label: 'گەورەیی',
voiceLabel: 'گەورەیی فۆنت',
panelTitle: 'گەورەیی فۆنت'
},
label: 'فۆنت',
panelTitle: 'ناوی فۆنت',
voiceLabel: 'فۆنت'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'lt', {
fontSize: {
label: 'Šrifto dydis',
voiceLabel: 'Šrifto dydis',
panelTitle: 'Šrifto dydis'
},
label: 'Šriftas',
panelTitle: 'Šriftas',
voiceLabel: 'Šriftas'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'lv', {
fontSize: {
label: 'Izmērs',
voiceLabel: 'Fonta izmeŗs',
panelTitle: 'Izmērs'
},
label: 'Šrifts',
panelTitle: 'Šrifts',
voiceLabel: 'Fonts'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'mk', {
fontSize: {
label: 'Size',
voiceLabel: 'Font Size',
panelTitle: 'Font Size'
},
label: 'Font', // MISSING
panelTitle: 'Font Name', // MISSING
voiceLabel: 'Font' // MISSING
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'mn', {
fontSize: {
label: 'Хэмжээ',
voiceLabel: 'Үсгийн хэмжээ',
panelTitle: 'Үсгийн хэмжээ'
},
label: 'Үсгийн хэлбэр',
panelTitle: 'Үгсийн хэлбэрийн нэр',
voiceLabel: 'Үгсийн хэлбэр'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ms', {
fontSize: {
label: 'Saiz',
voiceLabel: 'Font Size',
panelTitle: 'Saiz'
},
label: 'Font',
panelTitle: 'Font',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'nb', {
fontSize: {
label: 'Størrelse',
voiceLabel: 'Skriftstørrelse',
panelTitle: 'Skriftstørrelse'
},
label: 'Skrift',
panelTitle: 'Skrift',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'nl', {
fontSize: {
label: 'Lettergrootte',
voiceLabel: 'Lettergrootte',
panelTitle: 'Lettergrootte'
},
label: 'Lettertype',
panelTitle: 'Lettertype',
voiceLabel: 'Lettertype'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'no', {
fontSize: {
label: 'Størrelse',
voiceLabel: 'Font Størrelse',
panelTitle: 'Størrelse'
},
label: 'Skrift',
panelTitle: 'Skrift',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'pl', {
fontSize: {
label: 'Rozmiar',
voiceLabel: 'Rozmiar czcionki',
panelTitle: 'Rozmiar'
},
label: 'Czcionka',
panelTitle: 'Czcionka',
voiceLabel: 'Czcionka'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'pt-br', {
fontSize: {
label: 'Tamanho',
voiceLabel: 'Tamanho da fonte',
panelTitle: 'Tamanho'
},
label: 'Fonte',
panelTitle: 'Fonte',
voiceLabel: 'Fonte'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'pt', {
fontSize: {
label: 'Tamanho',
voiceLabel: 'Tamanho da letra',
panelTitle: 'Tamanho da letra'
},
label: 'Fonte',
panelTitle: 'Nome do Tipo de Letra',
voiceLabel: 'Tipo de Letra'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ro', {
fontSize: {
label: 'Mărime',
voiceLabel: 'Font Size',
panelTitle: 'Mărime'
},
label: 'Font',
panelTitle: 'Font',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ru', {
fontSize: {
label: 'Размер',
voiceLabel: 'Размер шрифта',
panelTitle: 'Размер шрифта'
},
label: 'Шрифт',
panelTitle: 'Шрифт',
voiceLabel: 'Шрифт'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'si', {
fontSize: {
label: 'විශාලත්වය',
voiceLabel: 'අක්ෂර විශාලත්වය',
panelTitle: 'අක්ෂර විශාලත්වය'
},
label: 'අක්ෂරය',
panelTitle: 'අක්ෂර නාමය',
voiceLabel: 'අක්ෂර'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'sk', {
fontSize: {
label: 'Veľkosť',
voiceLabel: 'Veľkosť písma',
panelTitle: 'Veľkosť písma'
},
label: 'Font',
panelTitle: 'Názov fontu',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'sl', {
fontSize: {
label: 'Velikost',
voiceLabel: 'Velikost',
panelTitle: 'Velikost'
},
label: 'Pisava',
panelTitle: 'Pisava',
voiceLabel: 'Pisava'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'sq', {
fontSize: {
label: 'Madhësia',
voiceLabel: 'Madhësia e Shkronjës',
panelTitle: 'Madhësia e Shkronjës'
},
label: 'Shkronja',
panelTitle: 'Emri i Shkronjës',
voiceLabel: 'Shkronja'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'sr-latn', {
fontSize: {
label: 'Veličina fonta',
voiceLabel: 'Font Size',
panelTitle: 'Veličina fonta'
},
label: 'Font',
panelTitle: 'Font',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'sr', {
fontSize: {
label: 'Величина фонта',
voiceLabel: 'Font Size',
panelTitle: 'Величина фонта'
},
label: 'Фонт',
panelTitle: 'Фонт',
voiceLabel: 'Фонт'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'sv', {
fontSize: {
label: 'Storlek',
voiceLabel: 'Teckenstorlek',
panelTitle: 'Teckenstorlek'
},
label: 'Typsnitt',
panelTitle: 'Typsnitt',
voiceLabel: 'Typsnitt'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'th', {
fontSize: {
label: 'ขนาด',
voiceLabel: 'Font Size',
panelTitle: 'ขนาด'
},
label: 'แบบอักษร',
panelTitle: 'แบบอักษร',
voiceLabel: 'แบบอักษร'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'tr', {
fontSize: {
label: 'Boyut',
voiceLabel: 'Font Size',
panelTitle: 'Boyut'
},
label: 'Yazı Türü',
panelTitle: 'Yazı Türü',
voiceLabel: 'Font'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'tt', {
fontSize: {
label: 'Зурлык',
voiceLabel: 'Шрифт зурлыклары',
panelTitle: 'Шрифт зурлыклары'
},
label: 'Шрифт',
panelTitle: 'Шрифт исеме',
voiceLabel: 'Шрифт'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'ug', {
fontSize: {
label: 'چوڭلۇقى',
voiceLabel: 'خەت چوڭلۇقى',
panelTitle: 'چوڭلۇقى'
},
label: 'خەت نۇسخا',
panelTitle: 'خەت نۇسخا',
voiceLabel: 'خەت نۇسخا'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'uk', {
fontSize: {
label: 'Розмір',
voiceLabel: 'Розмір шрифту',
panelTitle: 'Розмір'
},
label: 'Шрифт',
panelTitle: 'Шрифт',
voiceLabel: 'Шрифт'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'vi', {
fontSize: {
label: 'Cỡ chữ',
voiceLabel: 'Kích cỡ phông',
panelTitle: 'Cỡ chữ'
},
label: 'Phông',
panelTitle: 'Phông',
voiceLabel: 'Phông'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'zh-cn', {
fontSize: {
label: '大小',
voiceLabel: '文字大小',
panelTitle: '大小'
},
label: '字体',
panelTitle: '字体',
voiceLabel: '字体'
} );

View File

@@ -0,0 +1,14 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'font', 'zh', {
fontSize: {
label: '大小',
voiceLabel: '字型大小',
panelTitle: '字型大小'
},
label: '字型',
panelTitle: '字型名稱',
voiceLabel: '字型'
} );

View File

@@ -0,0 +1,313 @@
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
( function() {
function addCombo( editor, comboName, styleType, lang, entries, defaultLabel, styleDefinition, order ) {
var config = editor.config,
style = new CKEDITOR.style( styleDefinition );
// Gets the list of fonts from the settings.
var names = entries.split( ';' ),
values = [];
// Create style objects for all fonts.
var styles = {};
for ( var i = 0; i < names.length; i++ ) {
var parts = names[ i ];
if ( parts ) {
parts = parts.split( '/' );
var vars = {},
name = names[ i ] = parts[ 0 ];
vars[ styleType ] = values[ i ] = parts[ 1 ] || name;
styles[ name ] = new CKEDITOR.style( styleDefinition, vars );
styles[ name ]._.definition.name = name;
} else {
names.splice( i--, 1 );
}
}
editor.ui.addRichCombo( comboName, {
label: lang.label,
title: lang.panelTitle,
toolbar: 'styles,' + order,
allowedContent: style,
requiredContent: style,
panel: {
css: [ CKEDITOR.skin.getPath( 'editor' ) ].concat( config.contentsCss ),
multiSelect: false,
attributes: { 'aria-label': lang.panelTitle }
},
init: function() {
this.startGroup( lang.panelTitle );
for ( var i = 0; i < names.length; i++ ) {
var name = names[ i ];
// Add the tag entry to the panel list.
this.add( name, styles[ name ].buildPreview(), name );
}
},
onClick: function( value ) {
editor.focus();
editor.fire( 'saveSnapshot' );
var previousValue = this.getValue(),
style = styles[ value ];
// When applying one style over another, first remove the previous one (#12403).
// NOTE: This is only a temporary fix. It will be moved to the styles system (#12687).
if ( previousValue && value != previousValue ) {
var previousStyle = styles[ previousValue ],
range = editor.getSelection().getRanges()[ 0 ];
// If the range is collapsed we can't simply use the editor.removeStyle method
// because it will remove the entire element and we want to split it instead.
if ( range.collapsed ) {
var path = editor.elementPath(),
// Find the style element.
matching = path.contains( function( el ) {
return previousStyle.checkElementRemovable( el );
} );
if ( matching ) {
var startBoundary = range.checkBoundaryOfElement( matching, CKEDITOR.START ),
endBoundary = range.checkBoundaryOfElement( matching, CKEDITOR.END ),
node, bm;
// If we are at both boundaries it means that the element is empty.
// Remove it but in a way that we won't lose other empty inline elements inside it.
// Example: <p>x<span style="font-size:48px"><em>[]</em></span>x</p>
// Result: <p>x<em>[]</em>x</p>
if ( startBoundary && endBoundary ) {
bm = range.createBookmark();
// Replace the element with its children (TODO element.replaceWithChildren).
while ( ( node = matching.getFirst() ) ) {
node.insertBefore( matching );
}
matching.remove();
range.moveToBookmark( bm );
// If we are at the boundary of the style element, just move out.
} else if ( startBoundary ) {
range.moveToPosition( matching, CKEDITOR.POSITION_BEFORE_START );
} else if ( endBoundary ) {
range.moveToPosition( matching, CKEDITOR.POSITION_AFTER_END );
} else {
// Split the element and clone the elements that were in the path
// (between the startContainer and the matching element)
// into the new place.
range.splitElement( matching );
range.moveToPosition( matching, CKEDITOR.POSITION_AFTER_END );
cloneSubtreeIntoRange( range, path.elements.slice(), matching );
}
editor.getSelection().selectRanges( [ range ] );
}
} else {
editor.removeStyle( previousStyle );
}
}
editor[ previousValue == value ? 'removeStyle' : 'applyStyle' ]( style );
editor.fire( 'saveSnapshot' );
},
onRender: function() {
editor.on( 'selectionChange', function( ev ) {
var currentValue = this.getValue();
var elementPath = ev.data.path,
elements = elementPath.elements;
// For each element into the elements path.
for ( var i = 0, element; i < elements.length; i++ ) {
element = elements[ i ];
// Check if the element is removable by any of
// the styles.
for ( var value in styles ) {
if ( styles[ value ].checkElementMatch( element, true, editor ) ) {
if ( value != currentValue )
this.setValue( value );
return;
}
}
}
// If no styles match, just empty it.
this.setValue( '', defaultLabel );
}, this );
},
refresh: function() {
if ( !editor.activeFilter.check( style ) )
this.setState( CKEDITOR.TRISTATE_DISABLED );
}
} );
}
// Clones the subtree between subtreeStart (exclusive) and the
// leaf (inclusive) and inserts it into the range.
//
// @param range
// @param {CKEDITOR.dom.element[]} elements Elements path in the standard order: leaf -> root.
// @param {CKEDITOR.dom.element/null} substreeStart The start of the subtree.
// If null, then the leaf belongs to the subtree.
function cloneSubtreeIntoRange( range, elements, subtreeStart ) {
var current = elements.pop();
if ( !current ) {
return;
}
// Rewind the elements array up to the subtreeStart and then start the real cloning.
if ( subtreeStart ) {
return cloneSubtreeIntoRange( range, elements, current.equals( subtreeStart ) ? null : subtreeStart );
}
var clone = current.clone();
range.insertNode( clone );
range.moveToPosition( clone, CKEDITOR.POSITION_AFTER_START );
cloneSubtreeIntoRange( range, elements );
}
CKEDITOR.plugins.add( 'font', {
requires: 'richcombo',
// jscs:disable maximumLineLength
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
// jscs:enable maximumLineLength
init: function( editor ) {
var config = editor.config;
addCombo( editor, 'Font', 'family', editor.lang.font, config.font_names, config.font_defaultLabel, config.font_style, 30 );
addCombo( editor, 'FontSize', 'size', editor.lang.font.fontSize, config.fontSize_sizes, config.fontSize_defaultLabel, config.fontSize_style, 40 );
}
} );
} )();
/**
* The list of fonts names to be displayed in the Font combo in the toolbar.
* Entries are separated by semi-colons (`';'`), while it's possible to have more
* than one font for each entry, in the HTML way (separated by comma).
*
* A display name may be optionally defined by prefixing the entries with the
* name and the slash character. For example, `'Arial/Arial, Helvetica, sans-serif'`
* will be displayed as `'Arial'` in the list, but will be outputted as
* `'Arial, Helvetica, sans-serif'`.
*
* config.font_names =
* 'Arial/Arial, Helvetica, sans-serif;' +
* 'Times New Roman/Times New Roman, Times, serif;' +
* 'Verdana';
*
* config.font_names = 'Arial;Times New Roman;Verdana';
*
* @cfg {String} [font_names=see source]
* @member CKEDITOR.config
*/
CKEDITOR.config.font_names = 'Arial/Arial, Helvetica, sans-serif;' +
'Comic Sans MS/Comic Sans MS, cursive;' +
'Courier New/Courier New, Courier, monospace;' +
'Georgia/Georgia, serif;' +
'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
'Tahoma/Tahoma, Geneva, sans-serif;' +
'Times New Roman/Times New Roman, Times, serif;' +
'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
'Verdana/Verdana, Geneva, sans-serif';
/**
* The text to be displayed in the Font combo is none of the available values
* matches the current cursor position or text selection.
*
* // If the default site font is Arial, we may making it more explicit to the end user.
* config.font_defaultLabel = 'Arial';
*
* @cfg {String} [font_defaultLabel='']
* @member CKEDITOR.config
*/
CKEDITOR.config.font_defaultLabel = '';
/**
* The style definition to be used to apply the font in the text.
*
* // This is actually the default value for it.
* config.font_style = {
* element: 'span',
* styles: { 'font-family': '#(family)' },
* overrides: [ { element: 'font', attributes: { 'face': null } } ]
* };
*
* @cfg {Object} [font_style=see example]
* @member CKEDITOR.config
*/
CKEDITOR.config.font_style = {
element: 'span',
styles: { 'font-family': '#(family)' },
overrides: [ {
element: 'font', attributes: { 'face': null }
} ]
};
/**
* The list of fonts size to be displayed in the Font Size combo in the
* toolbar. Entries are separated by semi-colons (`';'`).
*
* Any kind of "CSS like" size can be used, like `'12px'`, `'2.3em'`, `'130%'`,
* `'larger'` or `'x-small'`.
*
* A display name may be optionally defined by prefixing the entries with the
* name and the slash character. For example, `'Bigger Font/14px'` will be
* displayed as `'Bigger Font'` in the list, but will be outputted as `'14px'`.
*
* config.fontSize_sizes = '16/16px;24/24px;48/48px;';
*
* config.fontSize_sizes = '12px;2.3em;130%;larger;x-small';
*
* config.fontSize_sizes = '12 Pixels/12px;Big/2.3em;30 Percent More/130%;Bigger/larger;Very Small/x-small';
*
* @cfg {String} [fontSize_sizes=see source]
* @member CKEDITOR.config
*/
CKEDITOR.config.fontSize_sizes = '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px';
/**
* The text to be displayed in the Font Size combo is none of the available
* values matches the current cursor position or text selection.
*
* // If the default site font size is 12px, we may making it more explicit to the end user.
* config.fontSize_defaultLabel = '12px';
*
* @cfg {String} [fontSize_defaultLabel='']
* @member CKEDITOR.config
*/
CKEDITOR.config.fontSize_defaultLabel = '';
/**
* The style definition to be used to apply the font size in the text.
*
* // This is actually the default value for it.
* config.fontSize_style = {
* element: 'span',
* styles: { 'font-size': '#(size)' },
* overrides: [ { element :'font', attributes: { 'size': null } } ]
* };
*
* @cfg {Object} [fontSize_style=see example]
* @member CKEDITOR.config
*/
CKEDITOR.config.fontSize_style = {
element: 'span',
styles: { 'font-size': '#(size)' },
overrides: [ {
element: 'font', attributes: { 'size': null }
} ]
};