From c63493c899de714b05b0521bb38aab60d19030ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 20 Jan 2017 00:55:51 +0100 Subject: Validation initiale --- sources/plugins/toolbar/lang/af.js | 22 + sources/plugins/toolbar/lang/ar.js | 22 + sources/plugins/toolbar/lang/az.js | 22 + sources/plugins/toolbar/lang/bg.js | 22 + sources/plugins/toolbar/lang/bn.js | 22 + sources/plugins/toolbar/lang/bs.js | 22 + sources/plugins/toolbar/lang/ca.js | 22 + sources/plugins/toolbar/lang/cs.js | 22 + sources/plugins/toolbar/lang/cy.js | 22 + sources/plugins/toolbar/lang/da.js | 22 + sources/plugins/toolbar/lang/de-ch.js | 22 + sources/plugins/toolbar/lang/de.js | 22 + sources/plugins/toolbar/lang/el.js | 22 + sources/plugins/toolbar/lang/en-au.js | 22 + sources/plugins/toolbar/lang/en-ca.js | 22 + sources/plugins/toolbar/lang/en-gb.js | 22 + sources/plugins/toolbar/lang/en.js | 22 + sources/plugins/toolbar/lang/eo.js | 22 + sources/plugins/toolbar/lang/es.js | 22 + sources/plugins/toolbar/lang/et.js | 22 + sources/plugins/toolbar/lang/eu.js | 22 + sources/plugins/toolbar/lang/fa.js | 22 + sources/plugins/toolbar/lang/fi.js | 22 + sources/plugins/toolbar/lang/fo.js | 22 + sources/plugins/toolbar/lang/fr-ca.js | 22 + sources/plugins/toolbar/lang/fr.js | 22 + sources/plugins/toolbar/lang/gl.js | 22 + sources/plugins/toolbar/lang/gu.js | 22 + sources/plugins/toolbar/lang/he.js | 22 + sources/plugins/toolbar/lang/hi.js | 22 + sources/plugins/toolbar/lang/hr.js | 22 + sources/plugins/toolbar/lang/hu.js | 22 + sources/plugins/toolbar/lang/id.js | 22 + sources/plugins/toolbar/lang/is.js | 22 + sources/plugins/toolbar/lang/it.js | 22 + sources/plugins/toolbar/lang/ja.js | 22 + sources/plugins/toolbar/lang/ka.js | 22 + sources/plugins/toolbar/lang/km.js | 22 + sources/plugins/toolbar/lang/ko.js | 22 + sources/plugins/toolbar/lang/ku.js | 22 + sources/plugins/toolbar/lang/lt.js | 22 + sources/plugins/toolbar/lang/lv.js | 22 + sources/plugins/toolbar/lang/mk.js | 22 + sources/plugins/toolbar/lang/mn.js | 22 + sources/plugins/toolbar/lang/ms.js | 22 + sources/plugins/toolbar/lang/nb.js | 22 + sources/plugins/toolbar/lang/nl.js | 22 + sources/plugins/toolbar/lang/no.js | 22 + sources/plugins/toolbar/lang/oc.js | 22 + sources/plugins/toolbar/lang/pl.js | 22 + sources/plugins/toolbar/lang/pt-br.js | 22 + sources/plugins/toolbar/lang/pt.js | 22 + sources/plugins/toolbar/lang/ro.js | 22 + sources/plugins/toolbar/lang/ru.js | 22 + sources/plugins/toolbar/lang/si.js | 22 + sources/plugins/toolbar/lang/sk.js | 22 + sources/plugins/toolbar/lang/sl.js | 22 + sources/plugins/toolbar/lang/sq.js | 22 + sources/plugins/toolbar/lang/sr-latn.js | 22 + sources/plugins/toolbar/lang/sr.js | 22 + sources/plugins/toolbar/lang/sv.js | 22 + sources/plugins/toolbar/lang/th.js | 22 + sources/plugins/toolbar/lang/tr.js | 22 + sources/plugins/toolbar/lang/tt.js | 22 + sources/plugins/toolbar/lang/ug.js | 22 + sources/plugins/toolbar/lang/uk.js | 22 + sources/plugins/toolbar/lang/vi.js | 22 + sources/plugins/toolbar/lang/zh-cn.js | 22 + sources/plugins/toolbar/lang/zh.js | 22 + sources/plugins/toolbar/plugin.js | 806 +++++++++++++++++++++++++++ sources/plugins/toolbar/samples/toolbar.html | 235 ++++++++ 71 files changed, 2559 insertions(+) create mode 100644 sources/plugins/toolbar/lang/af.js create mode 100644 sources/plugins/toolbar/lang/ar.js create mode 100644 sources/plugins/toolbar/lang/az.js create mode 100644 sources/plugins/toolbar/lang/bg.js create mode 100644 sources/plugins/toolbar/lang/bn.js create mode 100644 sources/plugins/toolbar/lang/bs.js create mode 100644 sources/plugins/toolbar/lang/ca.js create mode 100644 sources/plugins/toolbar/lang/cs.js create mode 100644 sources/plugins/toolbar/lang/cy.js create mode 100644 sources/plugins/toolbar/lang/da.js create mode 100644 sources/plugins/toolbar/lang/de-ch.js create mode 100644 sources/plugins/toolbar/lang/de.js create mode 100644 sources/plugins/toolbar/lang/el.js create mode 100644 sources/plugins/toolbar/lang/en-au.js create mode 100644 sources/plugins/toolbar/lang/en-ca.js create mode 100644 sources/plugins/toolbar/lang/en-gb.js create mode 100644 sources/plugins/toolbar/lang/en.js create mode 100644 sources/plugins/toolbar/lang/eo.js create mode 100644 sources/plugins/toolbar/lang/es.js create mode 100644 sources/plugins/toolbar/lang/et.js create mode 100644 sources/plugins/toolbar/lang/eu.js create mode 100644 sources/plugins/toolbar/lang/fa.js create mode 100644 sources/plugins/toolbar/lang/fi.js create mode 100644 sources/plugins/toolbar/lang/fo.js create mode 100644 sources/plugins/toolbar/lang/fr-ca.js create mode 100644 sources/plugins/toolbar/lang/fr.js create mode 100644 sources/plugins/toolbar/lang/gl.js create mode 100644 sources/plugins/toolbar/lang/gu.js create mode 100644 sources/plugins/toolbar/lang/he.js create mode 100644 sources/plugins/toolbar/lang/hi.js create mode 100644 sources/plugins/toolbar/lang/hr.js create mode 100644 sources/plugins/toolbar/lang/hu.js create mode 100644 sources/plugins/toolbar/lang/id.js create mode 100644 sources/plugins/toolbar/lang/is.js create mode 100644 sources/plugins/toolbar/lang/it.js create mode 100644 sources/plugins/toolbar/lang/ja.js create mode 100644 sources/plugins/toolbar/lang/ka.js create mode 100644 sources/plugins/toolbar/lang/km.js create mode 100644 sources/plugins/toolbar/lang/ko.js create mode 100644 sources/plugins/toolbar/lang/ku.js create mode 100644 sources/plugins/toolbar/lang/lt.js create mode 100644 sources/plugins/toolbar/lang/lv.js create mode 100644 sources/plugins/toolbar/lang/mk.js create mode 100644 sources/plugins/toolbar/lang/mn.js create mode 100644 sources/plugins/toolbar/lang/ms.js create mode 100644 sources/plugins/toolbar/lang/nb.js create mode 100644 sources/plugins/toolbar/lang/nl.js create mode 100644 sources/plugins/toolbar/lang/no.js create mode 100644 sources/plugins/toolbar/lang/oc.js create mode 100644 sources/plugins/toolbar/lang/pl.js create mode 100644 sources/plugins/toolbar/lang/pt-br.js create mode 100644 sources/plugins/toolbar/lang/pt.js create mode 100644 sources/plugins/toolbar/lang/ro.js create mode 100644 sources/plugins/toolbar/lang/ru.js create mode 100644 sources/plugins/toolbar/lang/si.js create mode 100644 sources/plugins/toolbar/lang/sk.js create mode 100644 sources/plugins/toolbar/lang/sl.js create mode 100644 sources/plugins/toolbar/lang/sq.js create mode 100644 sources/plugins/toolbar/lang/sr-latn.js create mode 100644 sources/plugins/toolbar/lang/sr.js create mode 100644 sources/plugins/toolbar/lang/sv.js create mode 100644 sources/plugins/toolbar/lang/th.js create mode 100644 sources/plugins/toolbar/lang/tr.js create mode 100644 sources/plugins/toolbar/lang/tt.js create mode 100644 sources/plugins/toolbar/lang/ug.js create mode 100644 sources/plugins/toolbar/lang/uk.js create mode 100644 sources/plugins/toolbar/lang/vi.js create mode 100644 sources/plugins/toolbar/lang/zh-cn.js create mode 100644 sources/plugins/toolbar/lang/zh.js create mode 100644 sources/plugins/toolbar/plugin.js create mode 100644 sources/plugins/toolbar/samples/toolbar.html (limited to 'sources/plugins/toolbar') diff --git a/sources/plugins/toolbar/lang/af.js b/sources/plugins/toolbar/lang/af.js new file mode 100644 index 0000000..8a3b1cd --- /dev/null +++ b/sources/plugins/toolbar/lang/af.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'af', { + toolbarCollapse: 'Verklein werkbalk', + toolbarExpand: 'Vergroot werkbalk', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Knipbord/Undo', + editing: 'Verander', + forms: 'Vorms', + basicstyles: 'Eenvoudige Styl', + paragraph: 'Paragraaf', + links: 'Skakels', + insert: 'Toevoeg', + styles: 'Style', + colors: 'Kleure', + tools: 'Gereedskap' + }, + toolbars: 'Werkbalke' +} ); diff --git a/sources/plugins/toolbar/lang/ar.js b/sources/plugins/toolbar/lang/ar.js new file mode 100644 index 0000000..8cef5e7 --- /dev/null +++ b/sources/plugins/toolbar/lang/ar.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ar', { + toolbarCollapse: 'تقليص شريط الأدوت', + toolbarExpand: 'تمديد شريط الأدوات', + toolbarGroups: { + document: 'مستند', + clipboard: 'الحافظة/الرجوع', + editing: 'تحرير', + forms: 'نماذج', + basicstyles: 'نمط بسيط', + paragraph: 'فقرة', + links: 'روابط', + insert: 'إدراج', + styles: 'أنماط', + colors: 'ألوان', + tools: 'أدوات' + }, + toolbars: 'أشرطة أدوات المحرر' +} ); diff --git a/sources/plugins/toolbar/lang/az.js b/sources/plugins/toolbar/lang/az.js new file mode 100644 index 0000000..25c4a53 --- /dev/null +++ b/sources/plugins/toolbar/lang/az.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'az', { + toolbarCollapse: 'Paneli gizlət', + toolbarExpand: 'Paneli göstər', + toolbarGroups: { + document: 'Mətn', + clipboard: 'Mübadilə buferi/İmtina et', + editing: 'Redaktə edilməsi', + forms: 'Formalar', + basicstyles: 'Əsas üslublar', + paragraph: 'Abzas', + links: 'Link', + insert: 'Əlavə et', + styles: 'Üslublar', + colors: 'Rənqlər', + tools: 'Alətləri' + }, + toolbars: 'Redaktorun panelləri' +} ); diff --git a/sources/plugins/toolbar/lang/bg.js b/sources/plugins/toolbar/lang/bg.js new file mode 100644 index 0000000..0fb4384 --- /dev/null +++ b/sources/plugins/toolbar/lang/bg.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'bg', { + toolbarCollapse: 'Свиване на лентата с инструменти', + toolbarExpand: 'Разширяване на лентата с инструменти', + toolbarGroups: { + document: 'Документ', + clipboard: 'Клипборд/Отмяна', + editing: 'Промяна', + forms: 'Форми', + basicstyles: 'Базови стилове', + paragraph: 'Параграф', + links: 'Връзки', + insert: 'Вмъкване', + styles: 'Стилове', + colors: 'Цветове', + tools: 'Инструменти' + }, + toolbars: 'Ленти с инструменти' +} ); diff --git a/sources/plugins/toolbar/lang/bn.js b/sources/plugins/toolbar/lang/bn.js new file mode 100644 index 0000000..dc9697e --- /dev/null +++ b/sources/plugins/toolbar/lang/bn.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'bn', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' // MISSING +} ); diff --git a/sources/plugins/toolbar/lang/bs.js b/sources/plugins/toolbar/lang/bs.js new file mode 100644 index 0000000..00f46d0 --- /dev/null +++ b/sources/plugins/toolbar/lang/bs.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'bs', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' // MISSING +} ); diff --git a/sources/plugins/toolbar/lang/ca.js b/sources/plugins/toolbar/lang/ca.js new file mode 100644 index 0000000..82e4413 --- /dev/null +++ b/sources/plugins/toolbar/lang/ca.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ca', { + toolbarCollapse: 'Redueix la barra d\'eines', + toolbarExpand: 'Amplia la barra d\'eines', + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor de barra d\'eines' +} ); diff --git a/sources/plugins/toolbar/lang/cs.js b/sources/plugins/toolbar/lang/cs.js new file mode 100644 index 0000000..f8e650f --- /dev/null +++ b/sources/plugins/toolbar/lang/cs.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'cs', { + toolbarCollapse: 'Skrýt panel nástrojů', + toolbarExpand: 'Zobrazit panel nástrojů', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Schránka/Zpět', + editing: 'Úpravy', + forms: 'Formuláře', + basicstyles: 'Základní styly', + paragraph: 'Odstavec', + links: 'Odkazy', + insert: 'Vložit', + styles: 'Styly', + colors: 'Barvy', + tools: 'Nástroje' + }, + toolbars: 'Panely nástrojů editoru' +} ); diff --git a/sources/plugins/toolbar/lang/cy.js b/sources/plugins/toolbar/lang/cy.js new file mode 100644 index 0000000..faebd1b --- /dev/null +++ b/sources/plugins/toolbar/lang/cy.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'cy', { + toolbarCollapse: 'Cyfangu\'r Bar Offer', + toolbarExpand: 'Ehangu\'r Bar Offer', + toolbarGroups: { + document: 'Dogfen', + clipboard: 'Clipfwrdd/Dadwneud', + editing: 'Golygu', + forms: 'Ffurflenni', + basicstyles: 'Arddulliau Sylfaenol', + paragraph: 'Paragraff', + links: 'Dolenni', + insert: 'Mewnosod', + styles: 'Arddulliau', + colors: 'Lliwiau', + tools: 'Offer' + }, + toolbars: 'Bariau offer y golygydd' +} ); diff --git a/sources/plugins/toolbar/lang/da.js b/sources/plugins/toolbar/lang/da.js new file mode 100644 index 0000000..750bc64 --- /dev/null +++ b/sources/plugins/toolbar/lang/da.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'da', { + toolbarCollapse: 'Sammenklap værktøjslinje', + toolbarExpand: 'Udvid værktøjslinje', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Udklipsholder/Fortryd', + editing: 'Redigering', + forms: 'Formularer', + basicstyles: 'Basis styles', + paragraph: 'Paragraf', + links: 'Links', + insert: 'Indsæt', + styles: 'Typografier', + colors: 'Farver', + tools: 'Værktøjer' + }, + toolbars: 'Editors værktøjslinjer' +} ); diff --git a/sources/plugins/toolbar/lang/de-ch.js b/sources/plugins/toolbar/lang/de-ch.js new file mode 100644 index 0000000..399aa63 --- /dev/null +++ b/sources/plugins/toolbar/lang/de-ch.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'de-ch', { + toolbarCollapse: 'Werkzeugleiste einklappen', + toolbarExpand: 'Werkzeugleiste ausklappen', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Zwischenablage/Rückgängig', + editing: 'Editieren', + forms: 'Formulare', + basicstyles: 'Grundstile', + paragraph: 'Absatz', + links: 'Links', + insert: 'Einfügen', + styles: 'Stile', + colors: 'Farben', + tools: 'Werkzeuge' + }, + toolbars: 'Editor Werkzeugleisten' +} ); diff --git a/sources/plugins/toolbar/lang/de.js b/sources/plugins/toolbar/lang/de.js new file mode 100644 index 0000000..fab73aa --- /dev/null +++ b/sources/plugins/toolbar/lang/de.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'de', { + toolbarCollapse: 'Werkzeugleiste einklappen', + toolbarExpand: 'Werkzeugleiste ausklappen', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Zwischenablage/Rückgängig', + editing: 'Editieren', + forms: 'Formulare', + basicstyles: 'Grundstile', + paragraph: 'Absatz', + links: 'Links', + insert: 'Einfügen', + styles: 'Stile', + colors: 'Farben', + tools: 'Werkzeuge' + }, + toolbars: 'Editor Werkzeugleisten' +} ); diff --git a/sources/plugins/toolbar/lang/el.js b/sources/plugins/toolbar/lang/el.js new file mode 100644 index 0000000..ce46898 --- /dev/null +++ b/sources/plugins/toolbar/lang/el.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'el', { + toolbarCollapse: 'Σύμπτυξη Εργαλειοθήκης', + toolbarExpand: 'Ανάπτυξη Εργαλειοθήκης', + toolbarGroups: { + document: 'Έγγραφο', + clipboard: 'Πρόχειρο/Αναίρεση', + editing: 'Επεξεργασία', + forms: 'Φόρμες', + basicstyles: 'Βασικά Στυλ', + paragraph: 'Παράγραφος', + links: 'Σύνδεσμοι', + insert: 'Εισαγωγή', + styles: 'Στυλ', + colors: 'Χρώματα', + tools: 'Εργαλεία' + }, + toolbars: 'Εργαλειοθήκες επεξεργαστή' +} ); diff --git a/sources/plugins/toolbar/lang/en-au.js b/sources/plugins/toolbar/lang/en-au.js new file mode 100644 index 0000000..8517e62 --- /dev/null +++ b/sources/plugins/toolbar/lang/en-au.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'en-au', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' +} ); diff --git a/sources/plugins/toolbar/lang/en-ca.js b/sources/plugins/toolbar/lang/en-ca.js new file mode 100644 index 0000000..fb2049a --- /dev/null +++ b/sources/plugins/toolbar/lang/en-ca.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'en-ca', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' // MISSING +} ); diff --git a/sources/plugins/toolbar/lang/en-gb.js b/sources/plugins/toolbar/lang/en-gb.js new file mode 100644 index 0000000..df7198e --- /dev/null +++ b/sources/plugins/toolbar/lang/en-gb.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'en-gb', { + toolbarCollapse: 'Collapse Toolbar', + toolbarExpand: 'Expand Toolbar', + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' +} ); diff --git a/sources/plugins/toolbar/lang/en.js b/sources/plugins/toolbar/lang/en.js new file mode 100644 index 0000000..263ac0e --- /dev/null +++ b/sources/plugins/toolbar/lang/en.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'en', { + toolbarCollapse: 'Collapse Toolbar', + toolbarExpand: 'Expand Toolbar', + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' +} ); diff --git a/sources/plugins/toolbar/lang/eo.js b/sources/plugins/toolbar/lang/eo.js new file mode 100644 index 0000000..902a613 --- /dev/null +++ b/sources/plugins/toolbar/lang/eo.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'eo', { + toolbarCollapse: 'Faldi la ilbreton', + toolbarExpand: 'Malfaldi la ilbreton', + toolbarGroups: { + document: 'Dokumento', + clipboard: 'Poŝo/Malfari', + editing: 'Redaktado', + forms: 'Formularoj', + basicstyles: 'Bazaj stiloj', + paragraph: 'Paragrafo', + links: 'Ligiloj', + insert: 'Enmeti', + styles: 'Stiloj', + colors: 'Koloroj', + tools: 'Iloj' + }, + toolbars: 'Ilobretoj de la redaktilo' +} ); diff --git a/sources/plugins/toolbar/lang/es.js b/sources/plugins/toolbar/lang/es.js new file mode 100644 index 0000000..bf5b457 --- /dev/null +++ b/sources/plugins/toolbar/lang/es.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'es', { + toolbarCollapse: 'Contraer barra de herramientas', + toolbarExpand: 'Expandir barra de herramientas', + toolbarGroups: { + document: 'Documento', + clipboard: 'Portapapeles/Deshacer', + editing: 'Edición', + forms: 'Formularios', + basicstyles: 'Estilos básicos', + paragraph: 'Párrafo', + links: 'Enlaces', + insert: 'Insertar', + styles: 'Estilos', + colors: 'Colores', + tools: 'Herramientas' + }, + toolbars: 'Barras de herramientas del editor' +} ); diff --git a/sources/plugins/toolbar/lang/et.js b/sources/plugins/toolbar/lang/et.js new file mode 100644 index 0000000..b83473f --- /dev/null +++ b/sources/plugins/toolbar/lang/et.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'et', { + toolbarCollapse: 'Tööriistariba peitmine', + toolbarExpand: 'Tööriistariba näitamine', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Lõikelaud/tagasivõtmine', + editing: 'Muutmine', + forms: 'Vormid', + basicstyles: 'Põhistiilid', + paragraph: 'Lõik', + links: 'Lingid', + insert: 'Sisesta', + styles: 'Stiilid', + colors: 'Värvid', + tools: 'Tööriistad' + }, + toolbars: 'Redaktori tööriistaribad' +} ); diff --git a/sources/plugins/toolbar/lang/eu.js b/sources/plugins/toolbar/lang/eu.js new file mode 100644 index 0000000..831d285 --- /dev/null +++ b/sources/plugins/toolbar/lang/eu.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'eu', { + toolbarCollapse: 'Tolestu tresna-barra', + toolbarExpand: 'Zabaldu tresna-barra', + toolbarGroups: { + document: 'Dokumentua', + clipboard: 'Arbela/Desegin', + editing: 'Editatu', + forms: 'Formularioak', + basicstyles: 'Oinarrizko estiloak', + paragraph: 'Paragrafoa', + links: 'Estekak', + insert: 'Txertatu', + styles: 'Estiloak', + colors: 'Koloreak', + tools: 'Tresnak' + }, + toolbars: 'Editorearen tresna-barrak' +} ); diff --git a/sources/plugins/toolbar/lang/fa.js b/sources/plugins/toolbar/lang/fa.js new file mode 100644 index 0000000..2d1bc5d --- /dev/null +++ b/sources/plugins/toolbar/lang/fa.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'fa', { + toolbarCollapse: 'بستن نوار ابزار', + toolbarExpand: 'بازکردن نوار ابزار', + toolbarGroups: { + document: 'سند', + clipboard: 'حافظه موقت/برگشت', + editing: 'در حال ویرایش', + forms: 'فرم​ها', + basicstyles: 'سبک‌های پایه', + paragraph: 'بند', + links: 'پیوندها', + insert: 'ورود', + styles: 'سبک‌ها', + colors: 'رنگ​ها', + tools: 'ابزارها' + }, + toolbars: 'نوار ابزارهای ویرایش‌گر' +} ); diff --git a/sources/plugins/toolbar/lang/fi.js b/sources/plugins/toolbar/lang/fi.js new file mode 100644 index 0000000..9e12ad4 --- /dev/null +++ b/sources/plugins/toolbar/lang/fi.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'fi', { + toolbarCollapse: 'Kutista työkalupalkki', + toolbarExpand: 'Laajenna työkalupalkki', + toolbarGroups: { + document: 'Dokumentti', + clipboard: 'Leikepöytä/Kumoa', + editing: 'Muokkaus', + forms: 'Lomakkeet', + basicstyles: 'Perustyylit', + paragraph: 'Kappale', + links: 'Linkit', + insert: 'Lisää', + styles: 'Tyylit', + colors: 'Värit', + tools: 'Työkalut' + }, + toolbars: 'Editorin työkalupalkit' +} ); diff --git a/sources/plugins/toolbar/lang/fo.js b/sources/plugins/toolbar/lang/fo.js new file mode 100644 index 0000000..4628b5d --- /dev/null +++ b/sources/plugins/toolbar/lang/fo.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'fo', { + toolbarCollapse: 'Lat Toolbar aftur', + toolbarExpand: 'Vís Toolbar', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Clipboard/Undo', + editing: 'Editering', + forms: 'Formar', + basicstyles: 'Grundleggjandi Styles', + paragraph: 'Reglubrot', + links: 'Leinkjur', + insert: 'Set inn', + styles: 'Styles', + colors: 'Litir', + tools: 'Tól' + }, + toolbars: 'Editor toolbars' +} ); diff --git a/sources/plugins/toolbar/lang/fr-ca.js b/sources/plugins/toolbar/lang/fr-ca.js new file mode 100644 index 0000000..4aae863 --- /dev/null +++ b/sources/plugins/toolbar/lang/fr-ca.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'fr-ca', { + toolbarCollapse: 'Enrouler la barre d\'outils', + toolbarExpand: 'Dérouler la barre d\'outils', + toolbarGroups: { + document: 'Document', + clipboard: 'Presse papier/Annuler', + editing: 'Édition', + forms: 'Formulaires', + basicstyles: 'Styles de base', + paragraph: 'Paragraphe', + links: 'Liens', + insert: 'Insérer', + styles: 'Styles', + colors: 'Couleurs', + tools: 'Outils' + }, + toolbars: 'Barre d\'outils de l\'éditeur' +} ); diff --git a/sources/plugins/toolbar/lang/fr.js b/sources/plugins/toolbar/lang/fr.js new file mode 100644 index 0000000..9861866 --- /dev/null +++ b/sources/plugins/toolbar/lang/fr.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'fr', { + toolbarCollapse: 'Enrouler la barre d\'outils', + toolbarExpand: 'Dérouler la barre d\'outils', + toolbarGroups: { + document: 'Document', + clipboard: 'Presse-papier/Défaire', + editing: 'Édition', + forms: 'Formulaires', + basicstyles: 'Styles de base', + paragraph: 'Paragraphe', + links: 'Liens', + insert: 'Insérer', + styles: 'Styles', + colors: 'Couleurs', + tools: 'Outils' + }, + toolbars: 'Barres d\'outils de l\'éditeur' +} ); diff --git a/sources/plugins/toolbar/lang/gl.js b/sources/plugins/toolbar/lang/gl.js new file mode 100644 index 0000000..f81c10a --- /dev/null +++ b/sources/plugins/toolbar/lang/gl.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'gl', { + toolbarCollapse: 'Contraer a barra de ferramentas', + toolbarExpand: 'Expandir a barra de ferramentas', + toolbarGroups: { + document: 'Documento', + clipboard: 'Portapapeis/desfacer', + editing: 'Edición', + forms: 'Formularios', + basicstyles: 'Estilos básicos', + paragraph: 'Paragrafo', + links: 'Ligazóns', + insert: 'Inserir', + styles: 'Estilos', + colors: 'Cores', + tools: 'Ferramentas' + }, + toolbars: 'Barras de ferramentas do editor' +} ); diff --git a/sources/plugins/toolbar/lang/gu.js b/sources/plugins/toolbar/lang/gu.js new file mode 100644 index 0000000..f34879b --- /dev/null +++ b/sources/plugins/toolbar/lang/gu.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'gu', { + toolbarCollapse: 'ટૂલબાર નાનું કરવું', + toolbarExpand: 'ટૂલબાર મોટું કરવું', + toolbarGroups: { + document: 'દસ્તાવેજ', + clipboard: 'ક્લિપબોર્ડ/અન', + editing: 'એડીટ કરવું', + forms: 'ફોર્મ', + basicstyles: 'બેસિક્ સ્ટાઇલ', + paragraph: 'ફકરો', + links: 'લીંક', + insert: 'ઉમેરવું', + styles: 'સ્ટાઇલ', + colors: 'રંગ', + tools: 'ટૂલ્સ' + }, + toolbars: 'એડીટર ટૂલ બાર' +} ); diff --git a/sources/plugins/toolbar/lang/he.js b/sources/plugins/toolbar/lang/he.js new file mode 100644 index 0000000..8e6f343 --- /dev/null +++ b/sources/plugins/toolbar/lang/he.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'he', { + toolbarCollapse: 'מזעור סרגל כלים', + toolbarExpand: 'הרחבת סרגל כלים', + toolbarGroups: { + document: 'מסמך', + clipboard: 'לוח הגזירים (Clipboard)/צעד אחרון', + editing: 'עריכה', + forms: 'טפסים', + basicstyles: 'עיצוב בסיסי', + paragraph: 'פסקה', + links: 'קישורים', + insert: 'הכנסה', + styles: 'עיצוב', + colors: 'צבעים', + tools: 'כלים' + }, + toolbars: 'סרגלי כלים של העורך' +} ); diff --git a/sources/plugins/toolbar/lang/hi.js b/sources/plugins/toolbar/lang/hi.js new file mode 100644 index 0000000..7693fa1 --- /dev/null +++ b/sources/plugins/toolbar/lang/hi.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'hi', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'एडिटर टूलबार' +} ); diff --git a/sources/plugins/toolbar/lang/hr.js b/sources/plugins/toolbar/lang/hr.js new file mode 100644 index 0000000..1928251 --- /dev/null +++ b/sources/plugins/toolbar/lang/hr.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'hr', { + toolbarCollapse: 'Smanji alatnu traku', + toolbarExpand: 'Proširi alatnu traku', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Međuspremnik/Poništi', + editing: 'Uređivanje', + forms: 'Forme', + basicstyles: 'Osnovni stilovi', + paragraph: 'Paragraf', + links: 'Veze', + insert: 'Umetni', + styles: 'Stilovi', + colors: 'Boje', + tools: 'Alatke' + }, + toolbars: 'Alatne trake uređivača teksta' +} ); diff --git a/sources/plugins/toolbar/lang/hu.js b/sources/plugins/toolbar/lang/hu.js new file mode 100644 index 0000000..fb67175 --- /dev/null +++ b/sources/plugins/toolbar/lang/hu.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'hu', { + toolbarCollapse: 'Eszköztár összecsukása', + toolbarExpand: 'Eszköztár szétnyitása', + toolbarGroups: { + document: 'Dokumentum', + clipboard: 'Vágólap/Visszavonás', + editing: 'Szerkesztés', + forms: 'Űrlapok', + basicstyles: 'Alapstílusok', + paragraph: 'Bekezdés', + links: 'Hivatkozások', + insert: 'Beszúrás', + styles: 'Stílusok', + colors: 'Színek', + tools: 'Eszközök' + }, + toolbars: 'Szerkesztő Eszköztár' +} ); diff --git a/sources/plugins/toolbar/lang/id.js b/sources/plugins/toolbar/lang/id.js new file mode 100644 index 0000000..c993a72 --- /dev/null +++ b/sources/plugins/toolbar/lang/id.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'id', { + toolbarCollapse: 'Ciutkan Toolbar', + toolbarExpand: 'Bentangkan Toolbar', + toolbarGroups: { + document: 'Dokumen', + clipboard: 'Papan klip / Kembalikan perlakuan', + editing: 'Sunting', + forms: 'Formulir', + basicstyles: 'Gaya Dasar', + paragraph: 'Paragraf', + links: 'Tautan', + insert: 'Sisip', + styles: 'Gaya', + colors: 'Warna', + tools: 'Alat' + }, + toolbars: 'Toolbar Penyunting' +} ); diff --git a/sources/plugins/toolbar/lang/is.js b/sources/plugins/toolbar/lang/is.js new file mode 100644 index 0000000..a5fc159 --- /dev/null +++ b/sources/plugins/toolbar/lang/is.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'is', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' // MISSING +} ); diff --git a/sources/plugins/toolbar/lang/it.js b/sources/plugins/toolbar/lang/it.js new file mode 100644 index 0000000..42099cd --- /dev/null +++ b/sources/plugins/toolbar/lang/it.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'it', { + toolbarCollapse: 'Minimizza Toolbar', + toolbarExpand: 'Espandi Toolbar', + toolbarGroups: { + document: 'Documento', + clipboard: 'Copia negli appunti/Annulla', + editing: 'Modifica', + forms: 'Form', + basicstyles: 'Stili di base', + paragraph: 'Paragrafo', + links: 'Link', + insert: 'Inserisci', + styles: 'Stili', + colors: 'Colori', + tools: 'Strumenti' + }, + toolbars: 'Editor toolbar' +} ); diff --git a/sources/plugins/toolbar/lang/ja.js b/sources/plugins/toolbar/lang/ja.js new file mode 100644 index 0000000..49bfcd0 --- /dev/null +++ b/sources/plugins/toolbar/lang/ja.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ja', { + toolbarCollapse: 'ツールバーを閉じる', + toolbarExpand: 'ツールバーを開く', + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: '編集ツールバー' +} ); diff --git a/sources/plugins/toolbar/lang/ka.js b/sources/plugins/toolbar/lang/ka.js new file mode 100644 index 0000000..f1a46cb --- /dev/null +++ b/sources/plugins/toolbar/lang/ka.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ka', { + toolbarCollapse: 'ხელსაწყოთა ზოლის შეწევა', + toolbarExpand: 'ხელსაწყოთა ზოლის გამოწევა', + toolbarGroups: { + document: 'დოკუმენტი', + clipboard: 'Clipboard/გაუქმება', + editing: 'რედაქტირება', + forms: 'ფორმები', + basicstyles: 'ძირითადი სტილები', + paragraph: 'აბზაცი', + links: 'ბმულები', + insert: 'ჩასმა', + styles: 'სტილები', + colors: 'ფერები', + tools: 'ხელსაწყოები' + }, + toolbars: 'Editor toolbars' // MISSING +} ); diff --git a/sources/plugins/toolbar/lang/km.js b/sources/plugins/toolbar/lang/km.js new file mode 100644 index 0000000..3b0eb05 --- /dev/null +++ b/sources/plugins/toolbar/lang/km.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'km', { + toolbarCollapse: 'បង្រួម​របារ​ឧបករណ៍', + toolbarExpand: 'ពង្រីក​របារ​ឧបករណ៍', + toolbarGroups: { + document: 'ឯកសារ', + clipboard: 'Clipboard/មិន​ធ្វើ​វិញ', + editing: 'ការ​កែ​សម្រួល', + forms: 'បែបបទ', + basicstyles: 'រចនាបថ​មូលដ្ឋាន', + paragraph: 'កថាខណ្ឌ', + links: 'តំណ', + insert: 'បញ្ចូល', + styles: 'រចនាបថ', + colors: 'ពណ៌', + tools: 'ឧបករណ៍' + }, + toolbars: 'របារ​ឧបករណ៍​កែ​សម្រួល' +} ); diff --git a/sources/plugins/toolbar/lang/ko.js b/sources/plugins/toolbar/lang/ko.js new file mode 100644 index 0000000..dc5a674 --- /dev/null +++ b/sources/plugins/toolbar/lang/ko.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ko', { + toolbarCollapse: '툴바 줄이기', + toolbarExpand: '툴바 확장', + toolbarGroups: { + document: '문서', + clipboard: '클립보드/실행 취소', + editing: '편집', + forms: '폼', + basicstyles: '기본 스타일', + paragraph: '단락', + links: '링크', + insert: '삽입', + styles: '스타일', + colors: '색상', + tools: '도구' + }, + toolbars: '에디터 툴바' +} ); diff --git a/sources/plugins/toolbar/lang/ku.js b/sources/plugins/toolbar/lang/ku.js new file mode 100644 index 0000000..02f8f91 --- /dev/null +++ b/sources/plugins/toolbar/lang/ku.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ku', { + toolbarCollapse: 'شاردنەوی هێڵی تووڵامراز', + toolbarExpand: 'نیشاندانی هێڵی تووڵامراز', + toolbarGroups: { + document: 'پەڕه', + clipboard: 'بڕین/پووچکردنەوە', + editing: 'چاکسازی', + forms: 'داڕشتە', + basicstyles: 'شێوازی بنچینەیی', + paragraph: 'بڕگە', + links: 'بەستەر', + insert: 'خستنە ناو', + styles: 'شێواز', + colors: 'ڕەنگەکان', + tools: 'ئامرازەکان' + }, + toolbars: 'تووڵامرازی دەسکاریکەر' +} ); diff --git a/sources/plugins/toolbar/lang/lt.js b/sources/plugins/toolbar/lang/lt.js new file mode 100644 index 0000000..b705d6f --- /dev/null +++ b/sources/plugins/toolbar/lang/lt.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'lt', { + toolbarCollapse: 'Apjungti įrankių juostą', + toolbarExpand: 'Išplėsti įrankių juostą', + toolbarGroups: { + document: 'Dokumentas', + clipboard: 'Atmintinė/Atgal', + editing: 'Redagavimas', + forms: 'Formos', + basicstyles: 'Pagrindiniai stiliai', + paragraph: 'Paragrafas', + links: 'Nuorodos', + insert: 'Įterpti', + styles: 'Stiliai', + colors: 'Spalvos', + tools: 'Įrankiai' + }, + toolbars: 'Redaktoriaus įrankiai' +} ); diff --git a/sources/plugins/toolbar/lang/lv.js b/sources/plugins/toolbar/lang/lv.js new file mode 100644 index 0000000..20dd345 --- /dev/null +++ b/sources/plugins/toolbar/lang/lv.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'lv', { + toolbarCollapse: 'Aizvērt rīkjoslu', + toolbarExpand: 'Atvērt rīkjoslu', + toolbarGroups: { + document: 'Dokuments', + clipboard: 'Starpliktuve/Atcelt', + editing: 'Labošana', + forms: 'Formas', + basicstyles: 'Pamata stili', + paragraph: 'Paragrāfs', + links: 'Saites', + insert: 'Ievietot', + styles: 'Stili', + colors: 'Krāsas', + tools: 'Rīki' + }, + toolbars: 'Redaktora rīkjoslas' +} ); diff --git a/sources/plugins/toolbar/lang/mk.js b/sources/plugins/toolbar/lang/mk.js new file mode 100644 index 0000000..e85581d --- /dev/null +++ b/sources/plugins/toolbar/lang/mk.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'mk', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' // MISSING +} ); diff --git a/sources/plugins/toolbar/lang/mn.js b/sources/plugins/toolbar/lang/mn.js new file mode 100644 index 0000000..5aeb46b --- /dev/null +++ b/sources/plugins/toolbar/lang/mn.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'mn', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Холбоосууд', + insert: 'Оруулах', + styles: 'Загварууд', + colors: 'Онгөнүүд', + tools: 'Хэрэгслүүд' + }, + toolbars: 'Болосруулагчийн хэрэгслийн самбар' +} ); diff --git a/sources/plugins/toolbar/lang/ms.js b/sources/plugins/toolbar/lang/ms.js new file mode 100644 index 0000000..7b78dc6 --- /dev/null +++ b/sources/plugins/toolbar/lang/ms.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ms', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editor toolbars' // MISSING +} ); diff --git a/sources/plugins/toolbar/lang/nb.js b/sources/plugins/toolbar/lang/nb.js new file mode 100644 index 0000000..830143a --- /dev/null +++ b/sources/plugins/toolbar/lang/nb.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'nb', { + toolbarCollapse: 'Skjul verktøylinje', + toolbarExpand: 'Vis verktøylinje', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Utklippstavle/Angre', + editing: 'Redigering', + forms: 'Skjema', + basicstyles: 'Basisstiler', + paragraph: 'Avsnitt', + links: 'Lenker', + insert: 'Innsetting', + styles: 'Stiler', + colors: 'Farger', + tools: 'Verktøy' + }, + toolbars: 'Verktøylinjer for editor' +} ); diff --git a/sources/plugins/toolbar/lang/nl.js b/sources/plugins/toolbar/lang/nl.js new file mode 100644 index 0000000..84ac147 --- /dev/null +++ b/sources/plugins/toolbar/lang/nl.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'nl', { + toolbarCollapse: 'Werkbalk inklappen', + toolbarExpand: 'Werkbalk uitklappen', + toolbarGroups: { + document: 'Document', + clipboard: 'Klembord/Ongedaan maken', + editing: 'Bewerken', + forms: 'Formulieren', + basicstyles: 'Basisstijlen', + paragraph: 'Paragraaf', + links: 'Links', + insert: 'Invoegen', + styles: 'Stijlen', + colors: 'Kleuren', + tools: 'Toepassingen' + }, + toolbars: 'Werkbalken' +} ); diff --git a/sources/plugins/toolbar/lang/no.js b/sources/plugins/toolbar/lang/no.js new file mode 100644 index 0000000..c1a3445 --- /dev/null +++ b/sources/plugins/toolbar/lang/no.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'no', { + toolbarCollapse: 'Skjul verktøylinje', + toolbarExpand: 'Vis verktøylinje', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Utklippstavle/Angre', + editing: 'Redigering', + forms: 'Skjema', + basicstyles: 'Basisstiler', + paragraph: 'Avsnitt', + links: 'Lenker', + insert: 'Innsetting', + styles: 'Stiler', + colors: 'Farger', + tools: 'Verktøy' + }, + toolbars: 'Verktøylinjer for editor' +} ); diff --git a/sources/plugins/toolbar/lang/oc.js b/sources/plugins/toolbar/lang/oc.js new file mode 100644 index 0000000..bfd8044 --- /dev/null +++ b/sources/plugins/toolbar/lang/oc.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'oc', { + toolbarCollapse: 'Enrotlar la barra d\'aisinas', + toolbarExpand: 'Desenrotlar la barra d\'aisinas', + toolbarGroups: { + document: 'Document', + clipboard: 'Quichapapièr/Desfar', + editing: 'Edicion', + forms: 'Formularis', + basicstyles: 'Estils de basa', + paragraph: 'Paragraf', + links: 'Ligams', + insert: 'Inserir', + styles: 'Estils', + colors: 'Colors', + tools: 'Aisinas' + }, + toolbars: 'Barras d\'aisinas de l\'editor' +} ); diff --git a/sources/plugins/toolbar/lang/pl.js b/sources/plugins/toolbar/lang/pl.js new file mode 100644 index 0000000..07571c9 --- /dev/null +++ b/sources/plugins/toolbar/lang/pl.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'pl', { + toolbarCollapse: 'Zwiń pasek narzędzi', + toolbarExpand: 'Rozwiń pasek narzędzi', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Schowek/Wstecz', + editing: 'Edycja', + forms: 'Formularze', + basicstyles: 'Style podstawowe', + paragraph: 'Akapit', + links: 'Hiperłącza', + insert: 'Wstawianie', + styles: 'Style', + colors: 'Kolory', + tools: 'Narzędzia' + }, + toolbars: 'Paski narzędzi edytora' +} ); diff --git a/sources/plugins/toolbar/lang/pt-br.js b/sources/plugins/toolbar/lang/pt-br.js new file mode 100644 index 0000000..c897bef --- /dev/null +++ b/sources/plugins/toolbar/lang/pt-br.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'pt-br', { + toolbarCollapse: 'Diminuir Barra de Ferramentas', + toolbarExpand: 'Aumentar Barra de Ferramentas', + toolbarGroups: { + document: 'Documento', + clipboard: 'Clipboard/Desfazer', + editing: 'Edição', + forms: 'Formulários', + basicstyles: 'Estilos Básicos', + paragraph: 'Paragrafo', + links: 'Links', + insert: 'Inserir', + styles: 'Estilos', + colors: 'Cores', + tools: 'Ferramentas' + }, + toolbars: 'Barra de Ferramentas do Editor' +} ); diff --git a/sources/plugins/toolbar/lang/pt.js b/sources/plugins/toolbar/lang/pt.js new file mode 100644 index 0000000..d684ede --- /dev/null +++ b/sources/plugins/toolbar/lang/pt.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'pt', { + toolbarCollapse: 'Ocultar barra de ferramentas', + toolbarExpand: 'Expandir barra de ferramentas', + toolbarGroups: { + document: 'Documento', + clipboard: 'Área de transferência/Anular', + editing: 'Edição', + forms: 'Formulários', + basicstyles: 'Estilos básicos', + paragraph: 'Parágrafo', + links: 'Hiperligações', + insert: 'Inserir', + styles: 'Estilos', + colors: 'Cores', + tools: 'Ferramentas' + }, + toolbars: 'Editor de barras de ferramentas' +} ); diff --git a/sources/plugins/toolbar/lang/ro.js b/sources/plugins/toolbar/lang/ro.js new file mode 100644 index 0000000..cb1b1e1 --- /dev/null +++ b/sources/plugins/toolbar/lang/ro.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ro', { + toolbarCollapse: 'Micșorează Bara', + toolbarExpand: 'Mărește Bara', + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Editează bara de unelte' +} ); diff --git a/sources/plugins/toolbar/lang/ru.js b/sources/plugins/toolbar/lang/ru.js new file mode 100644 index 0000000..88f9462 --- /dev/null +++ b/sources/plugins/toolbar/lang/ru.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ru', { + toolbarCollapse: 'Свернуть панель инструментов', + toolbarExpand: 'Развернуть панель инструментов', + toolbarGroups: { + document: 'Документ', + clipboard: 'Буфер обмена / Отмена действий', + editing: 'Корректировка', + forms: 'Формы', + basicstyles: 'Простые стили', + paragraph: 'Абзац', + links: 'Ссылки', + insert: 'Вставка', + styles: 'Стили', + colors: 'Цвета', + tools: 'Инструменты' + }, + toolbars: 'Панели инструментов редактора' +} ); diff --git a/sources/plugins/toolbar/lang/si.js b/sources/plugins/toolbar/lang/si.js new file mode 100644 index 0000000..b57a088 --- /dev/null +++ b/sources/plugins/toolbar/lang/si.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'si', { + toolbarCollapse: 'මෙවලම් තීරුව හැකුලුම.', + toolbarExpand: 'මෙවලම් තීරුව දීගහැරුම', + toolbarGroups: { + document: 'ලිපිය', + clipboard: 'ඇමිණුම වෙනස් කිරීම', + editing: 'සංස්කරණය', + forms: 'පෝරමය', + basicstyles: 'මුලික විලාසය', + paragraph: 'චේදය', + links: 'සබැඳිය', + insert: 'ඇතුලත් කිරීම', + styles: 'විලාසය', + colors: 'වර්ණය', + tools: 'මෙවලම්' + }, + toolbars: 'සංස්කරණ මෙවලම් තීරුව' +} ); diff --git a/sources/plugins/toolbar/lang/sk.js b/sources/plugins/toolbar/lang/sk.js new file mode 100644 index 0000000..fc9f3db --- /dev/null +++ b/sources/plugins/toolbar/lang/sk.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'sk', { + toolbarCollapse: 'Zbaliť lištu nástrojov', + toolbarExpand: 'Rozbaliť lištu nástrojov', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Schránka pre kopírovanie/Späť', + editing: 'Upravovanie', + forms: 'Formuláre', + basicstyles: 'Základné štýly', + paragraph: 'Odsek', + links: 'Odkazy', + insert: 'Vložiť', + styles: 'Štýly', + colors: 'Farby', + tools: 'Nástroje' + }, + toolbars: 'Lišty nástrojov editora' +} ); diff --git a/sources/plugins/toolbar/lang/sl.js b/sources/plugins/toolbar/lang/sl.js new file mode 100644 index 0000000..b17eee4 --- /dev/null +++ b/sources/plugins/toolbar/lang/sl.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'sl', { + toolbarCollapse: 'Skrči orodno vrstico', + toolbarExpand: 'Razširi orodno vrstico', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Odložišče/Razveljavi', + editing: 'Urejanje', + forms: 'Obrazci', + basicstyles: 'Osnovni slogi', + paragraph: 'Odstavek', + links: 'Povezave', + insert: 'Vstavi', + styles: 'Slogi', + colors: 'Barve', + tools: 'Orodja' + }, + toolbars: 'Orodne vrstice urejevalnika' +} ); diff --git a/sources/plugins/toolbar/lang/sq.js b/sources/plugins/toolbar/lang/sq.js new file mode 100644 index 0000000..0ca8add --- /dev/null +++ b/sources/plugins/toolbar/lang/sq.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'sq', { + toolbarCollapse: 'Zvogëlo Shiritin', + toolbarExpand: 'Zgjero Shiritin', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Tabela Punës/Ribëje', + editing: 'Duke Redaktuar', + forms: 'Formular', + basicstyles: 'Stili Bazë', + paragraph: 'Paragraf', + links: 'Nyjet', + insert: 'Shto', + styles: 'Stil', + colors: 'Ngjyrat', + tools: 'Mjetet' + }, + toolbars: 'Shiritet e Redaktuesit' +} ); diff --git a/sources/plugins/toolbar/lang/sr-latn.js b/sources/plugins/toolbar/lang/sr-latn.js new file mode 100644 index 0000000..d746aac --- /dev/null +++ b/sources/plugins/toolbar/lang/sr-latn.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'sr-latn', { + toolbarCollapse: 'Suzi alatnu traku', + toolbarExpand: 'Proširi alatnu traku', + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Alatne trake' +} ); diff --git a/sources/plugins/toolbar/lang/sr.js b/sources/plugins/toolbar/lang/sr.js new file mode 100644 index 0000000..d02f20f --- /dev/null +++ b/sources/plugins/toolbar/lang/sr.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'sr', { + toolbarCollapse: 'Склопи алатну траку', + toolbarExpand: 'Прошири алатну траку', + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'Едитор алатне траке' +} ); diff --git a/sources/plugins/toolbar/lang/sv.js b/sources/plugins/toolbar/lang/sv.js new file mode 100644 index 0000000..0a45e88 --- /dev/null +++ b/sources/plugins/toolbar/lang/sv.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'sv', { + toolbarCollapse: 'Dölj verktygsfält', + toolbarExpand: 'Visa verktygsfält', + toolbarGroups: { + document: 'Dokument', + clipboard: 'Urklipp/ångra', + editing: 'Redigering', + forms: 'Formulär', + basicstyles: 'Basstilar', + paragraph: 'Paragraf', + links: 'Länkar', + insert: 'Infoga', + styles: 'Stilar', + colors: 'Färger', + tools: 'Verktyg' + }, + toolbars: 'Editorns verktygsfält' +} ); diff --git a/sources/plugins/toolbar/lang/th.js b/sources/plugins/toolbar/lang/th.js new file mode 100644 index 0000000..c4ae55e --- /dev/null +++ b/sources/plugins/toolbar/lang/th.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'th', { + toolbarCollapse: 'ซ่อนแถบเครื่องมือ', + toolbarExpand: 'เปิดแถบเครื่องมือ', + toolbarGroups: { + document: 'Document', + clipboard: 'Clipboard/Undo', + editing: 'Editing', + forms: 'Forms', + basicstyles: 'Basic Styles', + paragraph: 'Paragraph', + links: 'Links', + insert: 'Insert', + styles: 'Styles', + colors: 'Colors', + tools: 'Tools' + }, + toolbars: 'แถบเครื่องมือช่วยพิมพ์ข้อความ' +} ); diff --git a/sources/plugins/toolbar/lang/tr.js b/sources/plugins/toolbar/lang/tr.js new file mode 100644 index 0000000..cf7f944 --- /dev/null +++ b/sources/plugins/toolbar/lang/tr.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'tr', { + toolbarCollapse: 'Araç çubuklarını topla', + toolbarExpand: 'Araç çubuklarını aç', + toolbarGroups: { + document: 'Belge', + clipboard: 'Pano/Geri al', + editing: 'Düzenleme', + forms: 'Formlar', + basicstyles: 'Temel Stiller', + paragraph: 'Paragraf', + links: 'Bağlantılar', + insert: 'Ekle', + styles: 'Stiller', + colors: 'Renkler', + tools: 'Araçlar' + }, + toolbars: 'Araç çubukları Editörü' +} ); diff --git a/sources/plugins/toolbar/lang/tt.js b/sources/plugins/toolbar/lang/tt.js new file mode 100644 index 0000000..8eb0542 --- /dev/null +++ b/sources/plugins/toolbar/lang/tt.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'tt', { + toolbarCollapse: 'Collapse Toolbar', // MISSING + toolbarExpand: 'Expand Toolbar', // MISSING + toolbarGroups: { + document: 'Документ', + clipboard: 'Алмашу буферы/Кайтару', + editing: 'Төзәтү', + forms: 'Формалар', + basicstyles: 'Төп стильләр', + paragraph: 'Параграф', + links: 'Сылталамалар', + insert: 'Өстәү', + styles: 'Стильләр', + colors: 'Төсләр', + tools: 'Кораллар' + }, + toolbars: 'Editor toolbars' // MISSING +} ); diff --git a/sources/plugins/toolbar/lang/ug.js b/sources/plugins/toolbar/lang/ug.js new file mode 100644 index 0000000..95c7c1b --- /dev/null +++ b/sources/plugins/toolbar/lang/ug.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'ug', { + toolbarCollapse: 'قورال بالداقنى قاتلا', + toolbarExpand: 'قورال بالداقنى ياي', + toolbarGroups: { + document: 'پۈتۈك', + clipboard: 'چاپلاش تاختىسى/يېنىۋال', + editing: 'تەھرىر', + forms: 'جەدۋەل', + basicstyles: 'ئاساسىي ئۇسلۇب', + paragraph: 'ئابزاس', + links: 'ئۇلانما', + insert: 'قىستۇر', + styles: 'ئۇسلۇب', + colors: 'رەڭ', + tools: 'قورال' + }, + toolbars: 'قورال بالداق' +} ); diff --git a/sources/plugins/toolbar/lang/uk.js b/sources/plugins/toolbar/lang/uk.js new file mode 100644 index 0000000..3f1f1c7 --- /dev/null +++ b/sources/plugins/toolbar/lang/uk.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'uk', { + toolbarCollapse: 'Згорнути панель інструментів', + toolbarExpand: 'Розгорнути панель інструментів', + toolbarGroups: { + document: 'Документ', + clipboard: 'Буфер обміну / Скасувати', + editing: 'Редагування', + forms: 'Форми', + basicstyles: 'Основний Стиль', + paragraph: 'Параграф', + links: 'Посилання', + insert: 'Вставити', + styles: 'Стилі', + colors: 'Кольори', + tools: 'Інструменти' + }, + toolbars: 'Панель інструментів редактора' +} ); diff --git a/sources/plugins/toolbar/lang/vi.js b/sources/plugins/toolbar/lang/vi.js new file mode 100644 index 0000000..8ff76fd --- /dev/null +++ b/sources/plugins/toolbar/lang/vi.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'vi', { + toolbarCollapse: 'Thu gọn thanh công cụ', + toolbarExpand: 'Mở rộng thnah công cụ', + toolbarGroups: { + document: 'Tài liệu', + clipboard: 'Clipboard/Undo', + editing: 'Chỉnh sửa', + forms: 'Bảng biểu', + basicstyles: 'Kiểu cơ bản', + paragraph: 'Đoạn', + links: 'Liên kết', + insert: 'Chèn', + styles: 'Kiểu', + colors: 'Màu sắc', + tools: 'Công cụ' + }, + toolbars: 'Thanh công cụ' +} ); diff --git a/sources/plugins/toolbar/lang/zh-cn.js b/sources/plugins/toolbar/lang/zh-cn.js new file mode 100644 index 0000000..6c3a5ed --- /dev/null +++ b/sources/plugins/toolbar/lang/zh-cn.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'zh-cn', { + toolbarCollapse: '折叠工具栏', + toolbarExpand: '展开工具栏', + toolbarGroups: { + document: '文档', + clipboard: '剪贴板/撤销', + editing: '编辑', + forms: '表单', + basicstyles: '基本格式', + paragraph: '段落', + links: '链接', + insert: '插入', + styles: '样式', + colors: '颜色', + tools: '工具' + }, + toolbars: '工具栏' +} ); diff --git a/sources/plugins/toolbar/lang/zh.js b/sources/plugins/toolbar/lang/zh.js new file mode 100644 index 0000000..0a9f5de --- /dev/null +++ b/sources/plugins/toolbar/lang/zh.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'zh', { + toolbarCollapse: '摺疊工具列', + toolbarExpand: '展開工具列', + toolbarGroups: { + document: '文件', + clipboard: '剪貼簿/復原', + editing: '編輯選項', + forms: '格式', + basicstyles: '基本樣式', + paragraph: '段落', + links: '連結', + insert: '插入', + styles: '樣式', + colors: '顏色', + tools: '工具' + }, + toolbars: '編輯器工具列' +} ); diff --git a/sources/plugins/toolbar/plugin.js b/sources/plugins/toolbar/plugin.js new file mode 100644 index 0000000..b267b51 --- /dev/null +++ b/sources/plugins/toolbar/plugin.js @@ -0,0 +1,806 @@ +/** + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview The "toolbar" plugin. Renders the default toolbar interface in + * the editor. + */ + +( function() { + var toolbox = function() { + this.toolbars = []; + this.focusCommandExecuted = false; + }; + + toolbox.prototype.focus = function() { + for ( var t = 0, toolbar; toolbar = this.toolbars[ t++ ]; ) { + for ( var i = 0, item; item = toolbar.items[ i++ ]; ) { + if ( item.focus ) { + item.focus(); + return; + } + } + } + }; + + var commands = { + toolbarFocus: { + modes: { wysiwyg: 1, source: 1 }, + readOnly: 1, + + exec: function( editor ) { + if ( editor.toolbox ) { + editor.toolbox.focusCommandExecuted = true; + + // Make the first button focus accessible for IE. (#3417) + // Adobe AIR instead need while of delay. + if ( CKEDITOR.env.ie || CKEDITOR.env.air ) { + setTimeout( function() { + editor.toolbox.focus(); + }, 100 ); + } else { + editor.toolbox.focus(); + } + } + } + } + }; + + CKEDITOR.plugins.add( 'toolbar', { + requires: 'button', + // jscs:disable maximumLineLength + lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,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,oc,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 endFlag; + + var itemKeystroke = function( item, keystroke ) { + var next, toolbar; + var rtl = editor.lang.dir == 'rtl', + toolbarGroupCycling = editor.config.toolbarGroupCycling, + // Picking right/left key codes. + rightKeyCode = rtl ? 37 : 39, + leftKeyCode = rtl ? 39 : 37; + + toolbarGroupCycling = toolbarGroupCycling === undefined || toolbarGroupCycling; + + switch ( keystroke ) { + case 9: // TAB + case CKEDITOR.SHIFT + 9: // SHIFT + TAB + // Cycle through the toolbars, starting from the one + // closest to the current item. + while ( !toolbar || !toolbar.items.length ) { + if ( keystroke == 9 ) { + toolbar = ( ( toolbar ? toolbar.next : item.toolbar.next ) || editor.toolbox.toolbars[ 0 ] ); + } else { + toolbar = ( ( toolbar ? toolbar.previous : item.toolbar.previous ) || editor.toolbox.toolbars[ editor.toolbox.toolbars.length - 1 ] ); + } + + // Look for the first item that accepts focus. + if ( toolbar.items.length ) { + item = toolbar.items[ endFlag ? ( toolbar.items.length - 1 ) : 0 ]; + while ( item && !item.focus ) { + item = endFlag ? item.previous : item.next; + + if ( !item ) + toolbar = 0; + } + } + } + + if ( item ) + item.focus(); + + return false; + + case rightKeyCode: + next = item; + do { + // Look for the next item in the toolbar. + next = next.next; + + // If it's the last item, cycle to the first one. + if ( !next && toolbarGroupCycling ) next = item.toolbar.items[ 0 ]; + } + while ( next && !next.focus ); + + // If available, just focus it, otherwise focus the + // first one. + if ( next ) + next.focus(); + else + // Send a TAB. + itemKeystroke( item, 9 ); + + return false; + case 40: // DOWN-ARROW + if ( item.button && item.button.hasArrow ) { + // Note: code is duplicated in plugins\richcombo\plugin.js in keyDownFn(). + editor.once( 'panelShow', function( evt ) { + evt.data._.panel._.currentBlock.onKeyDown( 40 ); + } ); + item.execute(); + } else { + // Send left arrow key. + itemKeystroke( item, keystroke == 40 ? rightKeyCode : leftKeyCode ); + } + return false; + case leftKeyCode: + case 38: // UP-ARROW + next = item; + do { + // Look for the previous item in the toolbar. + next = next.previous; + + // If it's the first item, cycle to the last one. + if ( !next && toolbarGroupCycling ) next = item.toolbar.items[ item.toolbar.items.length - 1 ]; + } + while ( next && !next.focus ); + + // If available, just focus it, otherwise focus the + // last one. + if ( next ) + next.focus(); + else { + endFlag = 1; + // Send a SHIFT + TAB. + itemKeystroke( item, CKEDITOR.SHIFT + 9 ); + endFlag = 0; + } + + return false; + + case 27: // ESC + editor.focus(); + return false; + + case 13: // ENTER + case 32: // SPACE + item.execute(); + return false; + } + return true; + }; + + editor.on( 'uiSpace', function( event ) { + if ( event.data.space != editor.config.toolbarLocation ) + return; + + // Create toolbar only once. + event.removeListener(); + + editor.toolbox = new toolbox(); + + var labelId = CKEDITOR.tools.getNextId(); + + var output = [ + '', editor.lang.toolbar.toolbars, '', + '' + ]; + + var expanded = editor.config.toolbarStartupExpanded !== false, + groupStarted, pendingSeparator; + + // If the toolbar collapser will be available, we'll have + // an additional container for all toolbars. + if ( editor.config.toolbarCanCollapse && editor.elementMode != CKEDITOR.ELEMENT_MODE_INLINE ) + output.push( '' : ' style="display:none">' ) ); + + var toolbars = editor.toolbox.toolbars, + toolbar = getToolbarConfig( editor ), + toolbarLength = toolbar.length; + + for ( var r = 0; r < toolbarLength; r++ ) { + var toolbarId, + toolbarObj = 0, + toolbarName, + row = toolbar[ r ], + lastToolbarInRow = row !== '/' && ( toolbar[ r + 1 ] === '/' || r == toolbarLength - 1 ), + items; + + // It's better to check if the row object is really + // available because it's a common mistake to leave + // an extra comma in the toolbar definition + // settings, which leads on the editor not loading + // at all in IE. (#3983) + if ( !row ) + continue; + + if ( groupStarted ) { + output.push( '' ); + groupStarted = 0; + pendingSeparator = 0; + } + + if ( row === '/' ) { + output.push( '' ); + continue; + } + + items = row.items || row; + + // Create all items defined for this toolbar. + for ( var i = 0; i < items.length; i++ ) { + var item = items[ i ], + canGroup; + + if ( item ) { + if ( item.type == CKEDITOR.UI_SEPARATOR ) { + // Do not add the separator immediately. Just save + // it be included if we already have something in + // the toolbar and if a new item is to be added (later). + pendingSeparator = groupStarted && item; + continue; + } + + canGroup = item.canGroup !== false; + + // Initialize the toolbar first, if needed. + if ( !toolbarObj ) { + // Create the basic toolbar object. + toolbarId = CKEDITOR.tools.getNextId(); + toolbarObj = { id: toolbarId, items: [] }; + toolbarName = row.name && ( editor.lang.toolbar.toolbarGroups[ row.name ] || row.name ); + + // Output the toolbar opener. + output.push( '' ); + + // If a toolbar name is available, send the voice label. + toolbarName && output.push( '', toolbarName, '' ); + + output.push( '' ); + + // Add the toolbar to the "editor.toolbox.toolbars" + // array. + var index = toolbars.push( toolbarObj ) - 1; + + // Create the next/previous reference. + if ( index > 0 ) { + toolbarObj.previous = toolbars[ index - 1 ]; + toolbarObj.previous.next = toolbarObj; + } + } + + if ( canGroup ) { + if ( !groupStarted ) { + output.push( '' ); + groupStarted = 1; + } + } else if ( groupStarted ) { + output.push( '' ); + groupStarted = 0; + } + + function addItem( item ) { // jshint ignore:line + var itemObj = item.render( editor, output ); + index = toolbarObj.items.push( itemObj ) - 1; + + if ( index > 0 ) { + itemObj.previous = toolbarObj.items[ index - 1 ]; + itemObj.previous.next = itemObj; + } + + itemObj.toolbar = toolbarObj; + itemObj.onkey = itemKeystroke; + + // Fix for #3052: + // Prevent JAWS from focusing the toolbar after document load. + itemObj.onfocus = function() { + if ( !editor.toolbox.focusCommandExecuted ) + editor.focus(); + }; + } + + if ( pendingSeparator ) { + addItem( pendingSeparator ); + pendingSeparator = 0; + } + + addItem( item ); + } + } + + if ( groupStarted ) { + output.push( '' ); + groupStarted = 0; + pendingSeparator = 0; + } + + if ( toolbarObj ) + output.push( '' ); + } + + if ( editor.config.toolbarCanCollapse ) + output.push( '' ); + + // Not toolbar collapser for inline mode. + if ( editor.config.toolbarCanCollapse && editor.elementMode != CKEDITOR.ELEMENT_MODE_INLINE ) { + var collapserFn = CKEDITOR.tools.addFunction( function() { + editor.execCommand( 'toolbarCollapse' ); + } ); + + editor.on( 'destroy', function() { + CKEDITOR.tools.removeFunction( collapserFn ); + } ); + + editor.addCommand( 'toolbarCollapse', { + readOnly: 1, + exec: function( editor ) { + var collapser = editor.ui.space( 'toolbar_collapser' ), + toolbox = collapser.getPrevious(), + contents = editor.ui.space( 'contents' ), + toolboxContainer = toolbox.getParent(), + contentHeight = parseInt( contents.$.style.height, 10 ), + previousHeight = toolboxContainer.$.offsetHeight, + minClass = 'cke_toolbox_collapser_min', + collapsed = collapser.hasClass( minClass ); + + if ( !collapsed ) { + toolbox.hide(); + collapser.addClass( minClass ); + collapser.setAttribute( 'title', editor.lang.toolbar.toolbarExpand ); + } else { + toolbox.show(); + collapser.removeClass( minClass ); + collapser.setAttribute( 'title', editor.lang.toolbar.toolbarCollapse ); + } + + // Update collapser symbol. + collapser.getFirst().setText( collapsed ? '\u25B2' : // BLACK UP-POINTING TRIANGLE + '\u25C0' ); // BLACK LEFT-POINTING TRIANGLE + + var dy = toolboxContainer.$.offsetHeight - previousHeight; + contents.setStyle( 'height', ( contentHeight - dy ) + 'px' ); + + editor.fire( 'resize', { + outerHeight: editor.container.$.offsetHeight, + contentsHeight: contents.$.offsetHeight, + outerWidth: editor.container.$.offsetWidth + } ); + }, + + modes: { wysiwyg: 1, source: 1 } + } ); + + editor.setKeystroke( CKEDITOR.ALT + ( CKEDITOR.env.ie || CKEDITOR.env.webkit ? 189 : 109 ) /*-*/, 'toolbarCollapse' ); + + output.push( '', '', // BLACK UP-POINTING TRIANGLE + '' ); + } + + output.push( '' ); + event.data.html += output.join( '' ); + } ); + + editor.on( 'destroy', function() { + if ( this.toolbox ) { + var toolbars, + index = 0, + i, items, instance; + toolbars = this.toolbox.toolbars; + for ( ; index < toolbars.length; index++ ) { + items = toolbars[ index ].items; + for ( i = 0; i < items.length; i++ ) { + instance = items[ i ]; + if ( instance.clickFn ) + CKEDITOR.tools.removeFunction( instance.clickFn ); + if ( instance.keyDownFn ) + CKEDITOR.tools.removeFunction( instance.keyDownFn ); + } + } + } + } ); + + // Manage editor focus when navigating the toolbar. + editor.on( 'uiReady', function() { + var toolbox = editor.ui.space( 'toolbox' ); + toolbox && editor.focusManager.add( toolbox, 1 ); + } ); + + editor.addCommand( 'toolbarFocus', commands.toolbarFocus ); + editor.setKeystroke( CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ); + + editor.ui.add( '-', CKEDITOR.UI_SEPARATOR, {} ); + editor.ui.addHandler( CKEDITOR.UI_SEPARATOR, { + create: function() { + return { + render: function( editor, output ) { + output.push( '' ); + return {}; + } + }; + } + } ); + } + } ); + + function getToolbarConfig( editor ) { + var removeButtons = editor.config.removeButtons; + + removeButtons = removeButtons && removeButtons.split( ',' ); + + function buildToolbarConfig() { + + // Object containing all toolbar groups used by ui items. + var lookup = getItemDefinedGroups(); + + // Take the base for the new toolbar, which is basically a toolbar + // definition without items. + var toolbar = CKEDITOR.tools.clone( editor.config.toolbarGroups ) || getPrivateToolbarGroups( editor ); + + // Fill the toolbar groups with the available ui items. + for ( var i = 0; i < toolbar.length; i++ ) { + var toolbarGroup = toolbar[ i ]; + + // Skip toolbar break. + if ( toolbarGroup == '/' ) + continue; + // Handle simply group name item. + else if ( typeof toolbarGroup == 'string' ) + toolbarGroup = toolbar[ i ] = { name: toolbarGroup }; + + var items, subGroups = toolbarGroup.groups; + + // Look for items that match sub groups. + if ( subGroups ) { + for ( var j = 0, sub; j < subGroups.length; j++ ) { + sub = subGroups[ j ]; + + // If any ui item is registered for this subgroup. + items = lookup[ sub ]; + items && fillGroup( toolbarGroup, items ); + } + } + + // Add the main group items as well. + items = lookup[ toolbarGroup.name ]; + items && fillGroup( toolbarGroup, items ); + } + + return toolbar; + } + + // Returns an object containing all toolbar groups used by ui items. + function getItemDefinedGroups() { + var groups = {}, + itemName, item, itemToolbar, group, order; + + for ( itemName in editor.ui.items ) { + item = editor.ui.items[ itemName ]; + itemToolbar = item.toolbar || 'others'; + if ( itemToolbar ) { + // Break the toolbar property into its parts: "group_name[,order]". + itemToolbar = itemToolbar.split( ',' ); + group = itemToolbar[ 0 ]; + order = parseInt( itemToolbar[ 1 ] || -1, 10 ); + + // Initialize the group, if necessary. + groups[ group ] || ( groups[ group ] = [] ); + + // Push the data used to build the toolbar later. + groups[ group ].push( { name: itemName, order: order } ); + } + } + + // Put the items in the right order. + for ( group in groups ) { + groups[ group ] = groups[ group ].sort( function( a, b ) { + return a.order == b.order ? 0 : + b.order < 0 ? -1 : + a.order < 0 ? 1 : + a.order < b.order ? -1 : + 1; + } ); + } + + return groups; + } + + function fillGroup( toolbarGroup, uiItems ) { + if ( uiItems.length ) { + if ( toolbarGroup.items ) + toolbarGroup.items.push( editor.ui.create( '-' ) ); + else + toolbarGroup.items = []; + + var item, name; + while ( ( item = uiItems.shift() ) ) { + name = typeof item == 'string' ? item : item.name; + + // Ignore items that are configured to be removed. + if ( !removeButtons || CKEDITOR.tools.indexOf( removeButtons, name ) == -1 ) { + item = editor.ui.create( name ); + + if ( !item ) + continue; + + if ( !editor.addFeature( item ) ) + continue; + + toolbarGroup.items.push( item ); + } + } + } + } + + function populateToolbarConfig( config ) { + var toolbar = [], + i, group, newGroup; + + for ( i = 0; i < config.length; ++i ) { + group = config[ i ]; + newGroup = {}; + + if ( group == '/' ) + toolbar.push( group ); + else if ( CKEDITOR.tools.isArray( group ) ) { + fillGroup( newGroup, CKEDITOR.tools.clone( group ) ); + toolbar.push( newGroup ); + } + else if ( group.items ) { + fillGroup( newGroup, CKEDITOR.tools.clone( group.items ) ); + newGroup.name = group.name; + toolbar.push( newGroup ); + } + } + + return toolbar; + } + + var toolbar = editor.config.toolbar; + + // If it is a string, return the relative "toolbar_name" config. + if ( typeof toolbar == 'string' ) + toolbar = editor.config[ 'toolbar_' + toolbar ]; + + return ( editor.toolbar = toolbar ? populateToolbarConfig( toolbar ) : buildToolbarConfig() ); + } + + /** + * Adds a toolbar group. See {@link CKEDITOR.config#toolbarGroups} for more details. + * + * **Note:** This method will not modify toolbar groups set explicitly by + * {@link CKEDITOR.config#toolbarGroups}. It will only extend the default setting. + * + * @param {String} name Toolbar group name. + * @param {Number/String} previous The name of the toolbar group after which this one + * should be added or `0` if this group should be the first one. + * @param {String} [subgroupOf] The name of the parent group. + * @member CKEDITOR.ui + */ + CKEDITOR.ui.prototype.addToolbarGroup = function( name, previous, subgroupOf ) { + // The toolbarGroups from the privates is the one we gonna use for automatic toolbar creation. + var toolbarGroups = getPrivateToolbarGroups( this.editor ), + atStart = previous === 0, + newGroup = { name: name }; + + if ( subgroupOf ) { + // Transform the subgroupOf name in the real subgroup object. + subgroupOf = CKEDITOR.tools.search( toolbarGroups, function( group ) { + return group.name == subgroupOf; + } ); + + if ( subgroupOf ) { + !subgroupOf.groups && ( subgroupOf.groups = [] ) ; + + if ( previous ) { + // Search the "previous" item and add the new one after it. + previous = CKEDITOR.tools.indexOf( subgroupOf.groups, previous ); + if ( previous >= 0 ) { + subgroupOf.groups.splice( previous + 1, 0, name ); + return; + } + } + + // If no previous found. + + if ( atStart ) + subgroupOf.groups.splice( 0, 0, name ); + else + subgroupOf.groups.push( name ); + return; + } else { + // Ignore "previous" if subgroupOf has not been found. + previous = null; + } + } + + if ( previous ) { + // Transform the "previous" name into its index. + previous = CKEDITOR.tools.indexOf( toolbarGroups, function( group ) { + return group.name == previous; + } ); + } + + if ( atStart ) + toolbarGroups.splice( 0, 0, name ); + else if ( typeof previous == 'number' ) + toolbarGroups.splice( previous + 1, 0, newGroup ); + else + toolbarGroups.push( name ); + }; + + function getPrivateToolbarGroups( editor ) { + return editor._.toolbarGroups || ( editor._.toolbarGroups = [ + { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, + { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, + { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, + { name: 'forms' }, + '/', + { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, + { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] }, + { name: 'links' }, + { name: 'insert' }, + '/', + { name: 'styles' }, + { name: 'colors' }, + { name: 'tools' }, + { name: 'others' }, + { name: 'about' } + ] ); + } +} )(); + +/** + * Separator UI element. + * + * @readonly + * @property {String} [='separator'] + * @member CKEDITOR + */ +CKEDITOR.UI_SEPARATOR = 'separator'; + +/** + * The part of the user interface where the toolbar will be rendered. For the default + * editor implementation, the recommended options are `'top'` and `'bottom'`. + * + * Please note that this option is only applicable to [classic](#!/guide/dev_framed) + * (`iframe`-based) editor. In case of [inline](#!/guide/dev_inline) editor the toolbar + * position is set dynamically depending on the position of the editable element on the screen. + * + * Read more in the [documentation](#!/guide/dev_toolbarlocation) + * and see the [SDK sample](http://sdk.ckeditor.com/samples/toolbarlocation.html). + * + * config.toolbarLocation = 'bottom'; + * + * @cfg + * @member CKEDITOR.config + */ +CKEDITOR.config.toolbarLocation = 'top'; + +/** + * The toolbox (alias toolbar) definition. It is a toolbar name or an array of + * toolbars (strips), each one being also an array, containing a list of UI items. + * + * If set to `null`, the toolbar will be generated automatically using all available buttons + * and {@link #toolbarGroups} as a toolbar groups layout. + * + * In CKEditor 4.5+ you can generate your toolbar customization code by using the [visual + * toolbar configurator](http://docs.ckeditor.com/#!/guide/dev_toolbar). + * + * // Defines a toolbar with only one strip containing the "Source" button, a + * // separator, and the "Bold" and "Italic" buttons. + * config.toolbar = [ + * [ 'Source', '-', 'Bold', 'Italic' ] + * ]; + * + * // Similar to the example above, defines a "Basic" toolbar with only one strip containing three buttons. + * // Note that this setting is composed by "toolbar_" added to the toolbar name, which in this case is called "Basic". + * // This second part of the setting name can be anything. You must use this name in the CKEDITOR.config.toolbar setting + * // in order to instruct the editor which `toolbar_(name)` setting should be used. + * config.toolbar_Basic = [ + * [ 'Source', '-', 'Bold', 'Italic' ] + * ]; + * // Load toolbar_Name where Name = Basic. + * config.toolbar = 'Basic'; + * + * @cfg {Array/String} [toolbar=null] + * @member CKEDITOR.config + */ + +/** + * The toolbar groups definition. + * + * If the toolbar layout is not explicitly defined by the {@link #toolbar} setting, then + * this setting is used to group all defined buttons (see {@link CKEDITOR.ui#addButton}). + * Buttons are associated with toolbar groups by the `toolbar` property in their definition objects. + * + * New groups may be dynamically added during the editor and plugin initialization by + * {@link CKEDITOR.ui#addToolbarGroup}. This is only possible if the default setting was used. + * + * // Default setting. + * config.toolbarGroups = [ + * { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, + * { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, + * { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, + * { name: 'forms' }, + * '/', + * { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, + * { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] }, + * { name: 'links' }, + * { name: 'insert' }, + * '/', + * { name: 'styles' }, + * { name: 'colors' }, + * { name: 'tools' }, + * { name: 'others' }, + * { name: 'about' } + * ]; + * + * @cfg {Array} [toolbarGroups=see example] + * @member CKEDITOR.config + */ + +/** + * Whether the toolbar can be collapsed by the user. If disabled, the Collapse Toolbar + * button will not be displayed. + * + * config.toolbarCanCollapse = true; + * + * @cfg {Boolean} [toolbarCanCollapse=false] + * @member CKEDITOR.config + */ + +/** + * Whether the toolbar must start expanded when the editor is loaded. + * + * Setting this option to `false` will affect the toolbar only when + * {@link #toolbarCanCollapse} is set to `true`: + * + * config.toolbarCanCollapse = true; + * config.toolbarStartupExpanded = false; + * + * @cfg {Boolean} [toolbarStartupExpanded=true] + * @member CKEDITOR.config + */ + +/** + * When enabled, causes the *Arrow* keys navigation to cycle within the current + * toolbar group. Otherwise the *Arrow* keys will move through all items available in + * the toolbar. The *Tab* key will still be used to quickly jump among the + * toolbar groups. + * + * config.toolbarGroupCycling = false; + * + * @since 3.6 + * @cfg {Boolean} [toolbarGroupCycling=true] + * @member CKEDITOR.config + */ + +/** + * List of toolbar button names that must not be rendered. This will also work + * for non-button toolbar items, like the Font drop-down list. + * + * config.removeButtons = 'Underline,JustifyCenter'; + * + * This configuration option should not be overused. The recommended way is to use the + * {@link CKEDITOR.config#removePlugins} setting to remove features from the editor + * or even better, [create a custom editor build](http://ckeditor.com/builder) with + * just the features that you will use. + * In some cases though, a single plugin may define a set of toolbar buttons and + * `removeButtons` may be useful when just a few of them are to be removed. + * + * @cfg {String} [removeButtons] + * @member CKEDITOR.config + */ + +/** + * The toolbar definition used by the editor. It is created from the + * {@link CKEDITOR.config#toolbar} option if it is set or automatically + * based on {@link CKEDITOR.config#toolbarGroups}. + * + * @readonly + * @property {Object} toolbar + * @member CKEDITOR.editor + */ diff --git a/sources/plugins/toolbar/samples/toolbar.html b/sources/plugins/toolbar/samples/toolbar.html new file mode 100644 index 0000000..e40d2a1 --- /dev/null +++ b/sources/plugins/toolbar/samples/toolbar.html @@ -0,0 +1,235 @@ + + + + + + Toolbar Configuration — CKEditor Sample + + + + + + + +

+ CKEditor Samples » Toolbar Configuration +

+
+ This sample is not maintained anymore. Check out the brand new CKEditor Toolbar Configurator. +
+
+

+ This sample page demonstrates editor with loaded full toolbar (all registered buttons) and, if + current editor's configuration modifies default settings, also editor with modified toolbar. +

+ +

Since CKEditor 4 there are two ways to configure toolbar buttons.

+ +

By config.toolbar

+ +

+ You can explicitly define which buttons are displayed in which groups and in which order. + This is the more precise setting, but less flexible. If newly added plugin adds its + own button you'll have to add it manually to your config.toolbar setting as well. +

+ +

To add a CKEditor instance with custom toolbar setting, insert the following JavaScript call to your code:

+ +
+CKEDITOR.replace( 'textarea_id', {
+	toolbar: [
+		{ name: 'document', items: [ 'Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] },	// Defines toolbar group with name (used to create voice label) and items in 3 subgroups.
+		[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ],			// Defines toolbar group without name.
+		'/',																					// Line break - next group will be placed in new line.
+		{ name: 'basicstyles', items: [ 'Bold', 'Italic' ] }
+	]
+});
+ +

By config.toolbarGroups

+ +

+ You can define which groups of buttons (like e.g. basicstyles, clipboard + and forms) are displayed and in which order. Registered buttons are associated + with toolbar groups by toolbar property in their definition. + This setting's advantage is that you don't have to modify toolbar configuration + when adding/removing plugins which register their own buttons. +

+ +

To add a CKEditor instance with custom toolbar groups setting, insert the following JavaScript call to your code:

+ +
+CKEDITOR.replace( 'textarea_id', {
+	toolbarGroups: [
+		{ name: 'document',	   groups: [ 'mode', 'document' ] },			// Displays document group with its two subgroups.
+ 		{ name: 'clipboard',   groups: [ 'clipboard', 'undo' ] },			// Group's name will be used to create voice label.
+ 		'/',																// Line break - next group will be placed in new line.
+ 		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
+ 		{ name: 'links' }
+	]
+
+	// NOTE: Remember to leave 'toolbar' property with the default value (null).
+});
+
+ + + +
+

Full toolbar configuration

+

Below you can see editor with full toolbar, generated automatically by the editor.

+

+ Note: To create editor instance with full toolbar you don't have to set anything. + Just leave toolbar and toolbarGroups with the default, null values. +

+ +

+	
+ + + + + + -- cgit v1.2.3