aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/toolbar
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2017-01-20 00:55:51 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2017-01-20 00:55:51 +0100
commitc63493c899de714b05b0521bb38aab60d19030ef (patch)
treefcb2b261afa0f3c2bd6b48929b64724c71192bae /sources/plugins/toolbar
downloadludivine-ckeditor-component-c63493c899de714b05b0521bb38aab60d19030ef.tar.gz
ludivine-ckeditor-component-c63493c899de714b05b0521bb38aab60d19030ef.tar.zst
ludivine-ckeditor-component-c63493c899de714b05b0521bb38aab60d19030ef.zip
Validation initiale4.6.2.1
Diffstat (limited to 'sources/plugins/toolbar')
-rw-r--r--sources/plugins/toolbar/lang/af.js22
-rw-r--r--sources/plugins/toolbar/lang/ar.js22
-rw-r--r--sources/plugins/toolbar/lang/az.js22
-rw-r--r--sources/plugins/toolbar/lang/bg.js22
-rw-r--r--sources/plugins/toolbar/lang/bn.js22
-rw-r--r--sources/plugins/toolbar/lang/bs.js22
-rw-r--r--sources/plugins/toolbar/lang/ca.js22
-rw-r--r--sources/plugins/toolbar/lang/cs.js22
-rw-r--r--sources/plugins/toolbar/lang/cy.js22
-rw-r--r--sources/plugins/toolbar/lang/da.js22
-rw-r--r--sources/plugins/toolbar/lang/de-ch.js22
-rw-r--r--sources/plugins/toolbar/lang/de.js22
-rw-r--r--sources/plugins/toolbar/lang/el.js22
-rw-r--r--sources/plugins/toolbar/lang/en-au.js22
-rw-r--r--sources/plugins/toolbar/lang/en-ca.js22
-rw-r--r--sources/plugins/toolbar/lang/en-gb.js22
-rw-r--r--sources/plugins/toolbar/lang/en.js22
-rw-r--r--sources/plugins/toolbar/lang/eo.js22
-rw-r--r--sources/plugins/toolbar/lang/es.js22
-rw-r--r--sources/plugins/toolbar/lang/et.js22
-rw-r--r--sources/plugins/toolbar/lang/eu.js22
-rw-r--r--sources/plugins/toolbar/lang/fa.js22
-rw-r--r--sources/plugins/toolbar/lang/fi.js22
-rw-r--r--sources/plugins/toolbar/lang/fo.js22
-rw-r--r--sources/plugins/toolbar/lang/fr-ca.js22
-rw-r--r--sources/plugins/toolbar/lang/fr.js22
-rw-r--r--sources/plugins/toolbar/lang/gl.js22
-rw-r--r--sources/plugins/toolbar/lang/gu.js22
-rw-r--r--sources/plugins/toolbar/lang/he.js22
-rw-r--r--sources/plugins/toolbar/lang/hi.js22
-rw-r--r--sources/plugins/toolbar/lang/hr.js22
-rw-r--r--sources/plugins/toolbar/lang/hu.js22
-rw-r--r--sources/plugins/toolbar/lang/id.js22
-rw-r--r--sources/plugins/toolbar/lang/is.js22
-rw-r--r--sources/plugins/toolbar/lang/it.js22
-rw-r--r--sources/plugins/toolbar/lang/ja.js22
-rw-r--r--sources/plugins/toolbar/lang/ka.js22
-rw-r--r--sources/plugins/toolbar/lang/km.js22
-rw-r--r--sources/plugins/toolbar/lang/ko.js22
-rw-r--r--sources/plugins/toolbar/lang/ku.js22
-rw-r--r--sources/plugins/toolbar/lang/lt.js22
-rw-r--r--sources/plugins/toolbar/lang/lv.js22
-rw-r--r--sources/plugins/toolbar/lang/mk.js22
-rw-r--r--sources/plugins/toolbar/lang/mn.js22
-rw-r--r--sources/plugins/toolbar/lang/ms.js22
-rw-r--r--sources/plugins/toolbar/lang/nb.js22
-rw-r--r--sources/plugins/toolbar/lang/nl.js22
-rw-r--r--sources/plugins/toolbar/lang/no.js22
-rw-r--r--sources/plugins/toolbar/lang/oc.js22
-rw-r--r--sources/plugins/toolbar/lang/pl.js22
-rw-r--r--sources/plugins/toolbar/lang/pt-br.js22
-rw-r--r--sources/plugins/toolbar/lang/pt.js22
-rw-r--r--sources/plugins/toolbar/lang/ro.js22
-rw-r--r--sources/plugins/toolbar/lang/ru.js22
-rw-r--r--sources/plugins/toolbar/lang/si.js22
-rw-r--r--sources/plugins/toolbar/lang/sk.js22
-rw-r--r--sources/plugins/toolbar/lang/sl.js22
-rw-r--r--sources/plugins/toolbar/lang/sq.js22
-rw-r--r--sources/plugins/toolbar/lang/sr-latn.js22
-rw-r--r--sources/plugins/toolbar/lang/sr.js22
-rw-r--r--sources/plugins/toolbar/lang/sv.js22
-rw-r--r--sources/plugins/toolbar/lang/th.js22
-rw-r--r--sources/plugins/toolbar/lang/tr.js22
-rw-r--r--sources/plugins/toolbar/lang/tt.js22
-rw-r--r--sources/plugins/toolbar/lang/ug.js22
-rw-r--r--sources/plugins/toolbar/lang/uk.js22
-rw-r--r--sources/plugins/toolbar/lang/vi.js22
-rw-r--r--sources/plugins/toolbar/lang/zh-cn.js22
-rw-r--r--sources/plugins/toolbar/lang/zh.js22
-rw-r--r--sources/plugins/toolbar/plugin.js806
-rw-r--r--sources/plugins/toolbar/samples/toolbar.html235
71 files changed, 2559 insertions, 0 deletions
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'af', {
6 toolbarCollapse: 'Verklein werkbalk',
7 toolbarExpand: 'Vergroot werkbalk',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Knipbord/Undo',
11 editing: 'Verander',
12 forms: 'Vorms',
13 basicstyles: 'Eenvoudige Styl',
14 paragraph: 'Paragraaf',
15 links: 'Skakels',
16 insert: 'Toevoeg',
17 styles: 'Style',
18 colors: 'Kleure',
19 tools: 'Gereedskap'
20 },
21 toolbars: 'Werkbalke'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ar', {
6 toolbarCollapse: 'تقليص شريط الأدوت',
7 toolbarExpand: 'تمديد شريط الأدوات',
8 toolbarGroups: {
9 document: 'مستند',
10 clipboard: 'الحافظة/الرجوع',
11 editing: 'تحرير',
12 forms: 'نماذج',
13 basicstyles: 'نمط بسيط',
14 paragraph: 'فقرة',
15 links: 'روابط',
16 insert: 'إدراج',
17 styles: 'أنماط',
18 colors: 'ألوان',
19 tools: 'أدوات'
20 },
21 toolbars: 'أشرطة أدوات المحرر'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'az', {
6 toolbarCollapse: 'Paneli gizlət',
7 toolbarExpand: 'Paneli göstər',
8 toolbarGroups: {
9 document: 'Mətn',
10 clipboard: 'Mübadilə buferi/İmtina et',
11 editing: 'Redaktə edilməsi',
12 forms: 'Formalar',
13 basicstyles: 'Əsas üslublar',
14 paragraph: 'Abzas',
15 links: 'Link',
16 insert: 'Əlavə et',
17 styles: 'Üslublar',
18 colors: 'Rənqlər',
19 tools: 'Alətləri'
20 },
21 toolbars: 'Redaktorun panelləri'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'bg', {
6 toolbarCollapse: 'Свиване на лентата с инструменти',
7 toolbarExpand: 'Разширяване на лентата с инструменти',
8 toolbarGroups: {
9 document: 'Документ',
10 clipboard: 'Клипборд/Отмяна',
11 editing: 'Промяна',
12 forms: 'Форми',
13 basicstyles: 'Базови стилове',
14 paragraph: 'Параграф',
15 links: 'Връзки',
16 insert: 'Вмъкване',
17 styles: 'Стилове',
18 colors: 'Цветове',
19 tools: 'Инструменти'
20 },
21 toolbars: 'Ленти с инструменти'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'bn', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars' // MISSING
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'bs', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars' // MISSING
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ca', {
6 toolbarCollapse: 'Redueix la barra d\'eines',
7 toolbarExpand: 'Amplia la barra d\'eines',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor de barra d\'eines'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'cs', {
6 toolbarCollapse: 'Skrýt panel nástrojů',
7 toolbarExpand: 'Zobrazit panel nástrojů',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Schránka/Zpět',
11 editing: 'Úpravy',
12 forms: 'Formuláře',
13 basicstyles: 'Základní styly',
14 paragraph: 'Odstavec',
15 links: 'Odkazy',
16 insert: 'Vložit',
17 styles: 'Styly',
18 colors: 'Barvy',
19 tools: 'Nástroje'
20 },
21 toolbars: 'Panely nástrojů editoru'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'cy', {
6 toolbarCollapse: 'Cyfangu\'r Bar Offer',
7 toolbarExpand: 'Ehangu\'r Bar Offer',
8 toolbarGroups: {
9 document: 'Dogfen',
10 clipboard: 'Clipfwrdd/Dadwneud',
11 editing: 'Golygu',
12 forms: 'Ffurflenni',
13 basicstyles: 'Arddulliau Sylfaenol',
14 paragraph: 'Paragraff',
15 links: 'Dolenni',
16 insert: 'Mewnosod',
17 styles: 'Arddulliau',
18 colors: 'Lliwiau',
19 tools: 'Offer'
20 },
21 toolbars: 'Bariau offer y golygydd'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'da', {
6 toolbarCollapse: 'Sammenklap værktøjslinje',
7 toolbarExpand: 'Udvid værktøjslinje',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Udklipsholder/Fortryd',
11 editing: 'Redigering',
12 forms: 'Formularer',
13 basicstyles: 'Basis styles',
14 paragraph: 'Paragraf',
15 links: 'Links',
16 insert: 'Indsæt',
17 styles: 'Typografier',
18 colors: 'Farver',
19 tools: 'Værktøjer'
20 },
21 toolbars: 'Editors værktøjslinjer'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'de-ch', {
6 toolbarCollapse: 'Werkzeugleiste einklappen',
7 toolbarExpand: 'Werkzeugleiste ausklappen',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Zwischenablage/Rückgängig',
11 editing: 'Editieren',
12 forms: 'Formulare',
13 basicstyles: 'Grundstile',
14 paragraph: 'Absatz',
15 links: 'Links',
16 insert: 'Einfügen',
17 styles: 'Stile',
18 colors: 'Farben',
19 tools: 'Werkzeuge'
20 },
21 toolbars: 'Editor Werkzeugleisten'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'de', {
6 toolbarCollapse: 'Werkzeugleiste einklappen',
7 toolbarExpand: 'Werkzeugleiste ausklappen',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Zwischenablage/Rückgängig',
11 editing: 'Editieren',
12 forms: 'Formulare',
13 basicstyles: 'Grundstile',
14 paragraph: 'Absatz',
15 links: 'Links',
16 insert: 'Einfügen',
17 styles: 'Stile',
18 colors: 'Farben',
19 tools: 'Werkzeuge'
20 },
21 toolbars: 'Editor Werkzeugleisten'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'el', {
6 toolbarCollapse: 'Σύμπτυξη Εργαλειοθήκης',
7 toolbarExpand: 'Ανάπτυξη Εργαλειοθήκης',
8 toolbarGroups: {
9 document: 'Έγγραφο',
10 clipboard: 'Πρόχειρο/Αναίρεση',
11 editing: 'Επεξεργασία',
12 forms: 'Φόρμες',
13 basicstyles: 'Βασικά Στυλ',
14 paragraph: 'Παράγραφος',
15 links: 'Σύνδεσμοι',
16 insert: 'Εισαγωγή',
17 styles: 'Στυλ',
18 colors: 'Χρώματα',
19 tools: 'Εργαλεία'
20 },
21 toolbars: 'Εργαλειοθήκες επεξεργαστή'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'en-au', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'en-ca', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars' // MISSING
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'en-gb', {
6 toolbarCollapse: 'Collapse Toolbar',
7 toolbarExpand: 'Expand Toolbar',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'en', {
6 toolbarCollapse: 'Collapse Toolbar',
7 toolbarExpand: 'Expand Toolbar',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'eo', {
6 toolbarCollapse: 'Faldi la ilbreton',
7 toolbarExpand: 'Malfaldi la ilbreton',
8 toolbarGroups: {
9 document: 'Dokumento',
10 clipboard: 'Poŝo/Malfari',
11 editing: 'Redaktado',
12 forms: 'Formularoj',
13 basicstyles: 'Bazaj stiloj',
14 paragraph: 'Paragrafo',
15 links: 'Ligiloj',
16 insert: 'Enmeti',
17 styles: 'Stiloj',
18 colors: 'Koloroj',
19 tools: 'Iloj'
20 },
21 toolbars: 'Ilobretoj de la redaktilo'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'es', {
6 toolbarCollapse: 'Contraer barra de herramientas',
7 toolbarExpand: 'Expandir barra de herramientas',
8 toolbarGroups: {
9 document: 'Documento',
10 clipboard: 'Portapapeles/Deshacer',
11 editing: 'Edición',
12 forms: 'Formularios',
13 basicstyles: 'Estilos básicos',
14 paragraph: 'Párrafo',
15 links: 'Enlaces',
16 insert: 'Insertar',
17 styles: 'Estilos',
18 colors: 'Colores',
19 tools: 'Herramientas'
20 },
21 toolbars: 'Barras de herramientas del editor'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'et', {
6 toolbarCollapse: 'Tööriistariba peitmine',
7 toolbarExpand: 'Tööriistariba näitamine',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Lõikelaud/tagasivõtmine',
11 editing: 'Muutmine',
12 forms: 'Vormid',
13 basicstyles: 'Põhistiilid',
14 paragraph: 'Lõik',
15 links: 'Lingid',
16 insert: 'Sisesta',
17 styles: 'Stiilid',
18 colors: 'Värvid',
19 tools: 'Tööriistad'
20 },
21 toolbars: 'Redaktori tööriistaribad'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'eu', {
6 toolbarCollapse: 'Tolestu tresna-barra',
7 toolbarExpand: 'Zabaldu tresna-barra',
8 toolbarGroups: {
9 document: 'Dokumentua',
10 clipboard: 'Arbela/Desegin',
11 editing: 'Editatu',
12 forms: 'Formularioak',
13 basicstyles: 'Oinarrizko estiloak',
14 paragraph: 'Paragrafoa',
15 links: 'Estekak',
16 insert: 'Txertatu',
17 styles: 'Estiloak',
18 colors: 'Koloreak',
19 tools: 'Tresnak'
20 },
21 toolbars: 'Editorearen tresna-barrak'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'fa', {
6 toolbarCollapse: 'بستن نوار ابزار',
7 toolbarExpand: 'بازکردن نوار ابزار',
8 toolbarGroups: {
9 document: 'سند',
10 clipboard: 'حافظه موقت/برگشت',
11 editing: 'در حال ویرایش',
12 forms: 'فرم​ها',
13 basicstyles: 'سبک‌های پایه',
14 paragraph: 'بند',
15 links: 'پیوندها',
16 insert: 'ورود',
17 styles: 'سبک‌ها',
18 colors: 'رنگ​ها',
19 tools: 'ابزارها'
20 },
21 toolbars: 'نوار ابزارهای ویرایش‌گر'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'fi', {
6 toolbarCollapse: 'Kutista työkalupalkki',
7 toolbarExpand: 'Laajenna työkalupalkki',
8 toolbarGroups: {
9 document: 'Dokumentti',
10 clipboard: 'Leikepöytä/Kumoa',
11 editing: 'Muokkaus',
12 forms: 'Lomakkeet',
13 basicstyles: 'Perustyylit',
14 paragraph: 'Kappale',
15 links: 'Linkit',
16 insert: 'Lisää',
17 styles: 'Tyylit',
18 colors: 'Värit',
19 tools: 'Työkalut'
20 },
21 toolbars: 'Editorin työkalupalkit'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'fo', {
6 toolbarCollapse: 'Lat Toolbar aftur',
7 toolbarExpand: 'Vís Toolbar',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editering',
12 forms: 'Formar',
13 basicstyles: 'Grundleggjandi Styles',
14 paragraph: 'Reglubrot',
15 links: 'Leinkjur',
16 insert: 'Set inn',
17 styles: 'Styles',
18 colors: 'Litir',
19 tools: 'Tól'
20 },
21 toolbars: 'Editor toolbars'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'fr-ca', {
6 toolbarCollapse: 'Enrouler la barre d\'outils',
7 toolbarExpand: 'Dérouler la barre d\'outils',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Presse papier/Annuler',
11 editing: 'Édition',
12 forms: 'Formulaires',
13 basicstyles: 'Styles de base',
14 paragraph: 'Paragraphe',
15 links: 'Liens',
16 insert: 'Insérer',
17 styles: 'Styles',
18 colors: 'Couleurs',
19 tools: 'Outils'
20 },
21 toolbars: 'Barre d\'outils de l\'éditeur'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'fr', {
6 toolbarCollapse: 'Enrouler la barre d\'outils',
7 toolbarExpand: 'Dérouler la barre d\'outils',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Presse-papier/Défaire',
11 editing: 'Édition',
12 forms: 'Formulaires',
13 basicstyles: 'Styles de base',
14 paragraph: 'Paragraphe',
15 links: 'Liens',
16 insert: 'Insérer',
17 styles: 'Styles',
18 colors: 'Couleurs',
19 tools: 'Outils'
20 },
21 toolbars: 'Barres d\'outils de l\'éditeur'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'gl', {
6 toolbarCollapse: 'Contraer a barra de ferramentas',
7 toolbarExpand: 'Expandir a barra de ferramentas',
8 toolbarGroups: {
9 document: 'Documento',
10 clipboard: 'Portapapeis/desfacer',
11 editing: 'Edición',
12 forms: 'Formularios',
13 basicstyles: 'Estilos básicos',
14 paragraph: 'Paragrafo',
15 links: 'Ligazóns',
16 insert: 'Inserir',
17 styles: 'Estilos',
18 colors: 'Cores',
19 tools: 'Ferramentas'
20 },
21 toolbars: 'Barras de ferramentas do editor'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'gu', {
6 toolbarCollapse: 'ટૂલબાર નાનું કરવું',
7 toolbarExpand: 'ટૂલબાર મોટું કરવું',
8 toolbarGroups: {
9 document: 'દસ્તાવેજ',
10 clipboard: 'ક્લિપબોર્ડ/અન',
11 editing: 'એડીટ કરવું',
12 forms: 'ફોર્મ',
13 basicstyles: 'બેસિક્ સ્ટાઇલ',
14 paragraph: 'ફકરો',
15 links: 'લીંક',
16 insert: 'ઉમેરવું',
17 styles: 'સ્ટાઇલ',
18 colors: 'રંગ',
19 tools: 'ટૂલ્સ'
20 },
21 toolbars: 'એડીટર ટૂલ બાર'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'he', {
6 toolbarCollapse: 'מזעור סרגל כלים',
7 toolbarExpand: 'הרחבת סרגל כלים',
8 toolbarGroups: {
9 document: 'מסמך',
10 clipboard: 'לוח הגזירים (Clipboard)/צעד אחרון',
11 editing: 'עריכה',
12 forms: 'טפסים',
13 basicstyles: 'עיצוב בסיסי',
14 paragraph: 'פסקה',
15 links: 'קישורים',
16 insert: 'הכנסה',
17 styles: 'עיצוב',
18 colors: 'צבעים',
19 tools: 'כלים'
20 },
21 toolbars: 'סרגלי כלים של העורך'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'hi', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'एडिटर टूलबार'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'hr', {
6 toolbarCollapse: 'Smanji alatnu traku',
7 toolbarExpand: 'Proširi alatnu traku',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Međuspremnik/Poništi',
11 editing: 'Uređivanje',
12 forms: 'Forme',
13 basicstyles: 'Osnovni stilovi',
14 paragraph: 'Paragraf',
15 links: 'Veze',
16 insert: 'Umetni',
17 styles: 'Stilovi',
18 colors: 'Boje',
19 tools: 'Alatke'
20 },
21 toolbars: 'Alatne trake uređivača teksta'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'hu', {
6 toolbarCollapse: 'Eszköztár összecsukása',
7 toolbarExpand: 'Eszköztár szétnyitása',
8 toolbarGroups: {
9 document: 'Dokumentum',
10 clipboard: 'Vágólap/Visszavonás',
11 editing: 'Szerkesztés',
12 forms: 'Űrlapok',
13 basicstyles: 'Alapstílusok',
14 paragraph: 'Bekezdés',
15 links: 'Hivatkozások',
16 insert: 'Beszúrás',
17 styles: 'Stílusok',
18 colors: 'Színek',
19 tools: 'Eszközök'
20 },
21 toolbars: 'Szerkesztő Eszköztár'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'id', {
6 toolbarCollapse: 'Ciutkan Toolbar',
7 toolbarExpand: 'Bentangkan Toolbar',
8 toolbarGroups: {
9 document: 'Dokumen',
10 clipboard: 'Papan klip / Kembalikan perlakuan',
11 editing: 'Sunting',
12 forms: 'Formulir',
13 basicstyles: 'Gaya Dasar',
14 paragraph: 'Paragraf',
15 links: 'Tautan',
16 insert: 'Sisip',
17 styles: 'Gaya',
18 colors: 'Warna',
19 tools: 'Alat'
20 },
21 toolbars: 'Toolbar Penyunting'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'is', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars' // MISSING
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'it', {
6 toolbarCollapse: 'Minimizza Toolbar',
7 toolbarExpand: 'Espandi Toolbar',
8 toolbarGroups: {
9 document: 'Documento',
10 clipboard: 'Copia negli appunti/Annulla',
11 editing: 'Modifica',
12 forms: 'Form',
13 basicstyles: 'Stili di base',
14 paragraph: 'Paragrafo',
15 links: 'Link',
16 insert: 'Inserisci',
17 styles: 'Stili',
18 colors: 'Colori',
19 tools: 'Strumenti'
20 },
21 toolbars: 'Editor toolbar'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ja', {
6 toolbarCollapse: 'ツールバーを閉じる',
7 toolbarExpand: 'ツールバーを開く',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: '編集ツールバー'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ka', {
6 toolbarCollapse: 'ხელსაწყოთა ზოლის შეწევა',
7 toolbarExpand: 'ხელსაწყოთა ზოლის გამოწევა',
8 toolbarGroups: {
9 document: 'დოკუმენტი',
10 clipboard: 'Clipboard/გაუქმება',
11 editing: 'რედაქტირება',
12 forms: 'ფორმები',
13 basicstyles: 'ძირითადი სტილები',
14 paragraph: 'აბზაცი',
15 links: 'ბმულები',
16 insert: 'ჩასმა',
17 styles: 'სტილები',
18 colors: 'ფერები',
19 tools: 'ხელსაწყოები'
20 },
21 toolbars: 'Editor toolbars' // MISSING
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'km', {
6 toolbarCollapse: 'បង្រួម​របារ​ឧបករណ៍',
7 toolbarExpand: 'ពង្រីក​របារ​ឧបករណ៍',
8 toolbarGroups: {
9 document: 'ឯកសារ',
10 clipboard: 'Clipboard/មិន​ធ្វើ​វិញ',
11 editing: 'ការ​កែ​សម្រួល',
12 forms: 'បែបបទ',
13 basicstyles: 'រចនាបថ​មូលដ្ឋាន',
14 paragraph: 'កថាខណ្ឌ',
15 links: 'តំណ',
16 insert: 'បញ្ចូល',
17 styles: 'រចនាបថ',
18 colors: 'ពណ៌',
19 tools: 'ឧបករណ៍'
20 },
21 toolbars: 'របារ​ឧបករណ៍​កែ​សម្រួល'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ko', {
6 toolbarCollapse: '툴바 줄이기',
7 toolbarExpand: '툴바 확장',
8 toolbarGroups: {
9 document: '문서',
10 clipboard: '클립보드/실행 취소',
11 editing: '편집',
12 forms: '폼',
13 basicstyles: '기본 스타일',
14 paragraph: '단락',
15 links: '링크',
16 insert: '삽입',
17 styles: '스타일',
18 colors: '색상',
19 tools: '도구'
20 },
21 toolbars: '에디터 툴바'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ku', {
6 toolbarCollapse: 'شاردنەوی هێڵی تووڵامراز',
7 toolbarExpand: 'نیشاندانی هێڵی تووڵامراز',
8 toolbarGroups: {
9 document: 'پەڕه',
10 clipboard: 'بڕین/پووچکردنەوە',
11 editing: 'چاکسازی',
12 forms: 'داڕشتە',
13 basicstyles: 'شێوازی بنچینەیی',
14 paragraph: 'بڕگە',
15 links: 'بەستەر',
16 insert: 'خستنە ناو',
17 styles: 'شێواز',
18 colors: 'ڕەنگەکان',
19 tools: 'ئامرازەکان'
20 },
21 toolbars: 'تووڵامرازی دەسکاریکەر'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'lt', {
6 toolbarCollapse: 'Apjungti įrankių juostą',
7 toolbarExpand: 'Išplėsti įrankių juostą',
8 toolbarGroups: {
9 document: 'Dokumentas',
10 clipboard: 'Atmintinė/Atgal',
11 editing: 'Redagavimas',
12 forms: 'Formos',
13 basicstyles: 'Pagrindiniai stiliai',
14 paragraph: 'Paragrafas',
15 links: 'Nuorodos',
16 insert: 'Įterpti',
17 styles: 'Stiliai',
18 colors: 'Spalvos',
19 tools: 'Įrankiai'
20 },
21 toolbars: 'Redaktoriaus įrankiai'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'lv', {
6 toolbarCollapse: 'Aizvērt rīkjoslu',
7 toolbarExpand: 'Atvērt rīkjoslu',
8 toolbarGroups: {
9 document: 'Dokuments',
10 clipboard: 'Starpliktuve/Atcelt',
11 editing: 'Labošana',
12 forms: 'Formas',
13 basicstyles: 'Pamata stili',
14 paragraph: 'Paragrāfs',
15 links: 'Saites',
16 insert: 'Ievietot',
17 styles: 'Stili',
18 colors: 'Krāsas',
19 tools: 'Rīki'
20 },
21 toolbars: 'Redaktora rīkjoslas'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'mk', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars' // MISSING
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'mn', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Холбоосууд',
16 insert: 'Оруулах',
17 styles: 'Загварууд',
18 colors: 'Онгөнүүд',
19 tools: 'Хэрэгслүүд'
20 },
21 toolbars: 'Болосруулагчийн хэрэгслийн самбар'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ms', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editor toolbars' // MISSING
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'nb', {
6 toolbarCollapse: 'Skjul verktøylinje',
7 toolbarExpand: 'Vis verktøylinje',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Utklippstavle/Angre',
11 editing: 'Redigering',
12 forms: 'Skjema',
13 basicstyles: 'Basisstiler',
14 paragraph: 'Avsnitt',
15 links: 'Lenker',
16 insert: 'Innsetting',
17 styles: 'Stiler',
18 colors: 'Farger',
19 tools: 'Verktøy'
20 },
21 toolbars: 'Verktøylinjer for editor'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'nl', {
6 toolbarCollapse: 'Werkbalk inklappen',
7 toolbarExpand: 'Werkbalk uitklappen',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Klembord/Ongedaan maken',
11 editing: 'Bewerken',
12 forms: 'Formulieren',
13 basicstyles: 'Basisstijlen',
14 paragraph: 'Paragraaf',
15 links: 'Links',
16 insert: 'Invoegen',
17 styles: 'Stijlen',
18 colors: 'Kleuren',
19 tools: 'Toepassingen'
20 },
21 toolbars: 'Werkbalken'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'no', {
6 toolbarCollapse: 'Skjul verktøylinje',
7 toolbarExpand: 'Vis verktøylinje',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Utklippstavle/Angre',
11 editing: 'Redigering',
12 forms: 'Skjema',
13 basicstyles: 'Basisstiler',
14 paragraph: 'Avsnitt',
15 links: 'Lenker',
16 insert: 'Innsetting',
17 styles: 'Stiler',
18 colors: 'Farger',
19 tools: 'Verktøy'
20 },
21 toolbars: 'Verktøylinjer for editor'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'oc', {
6 toolbarCollapse: 'Enrotlar la barra d\'aisinas',
7 toolbarExpand: 'Desenrotlar la barra d\'aisinas',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Quichapapièr/Desfar',
11 editing: 'Edicion',
12 forms: 'Formularis',
13 basicstyles: 'Estils de basa',
14 paragraph: 'Paragraf',
15 links: 'Ligams',
16 insert: 'Inserir',
17 styles: 'Estils',
18 colors: 'Colors',
19 tools: 'Aisinas'
20 },
21 toolbars: 'Barras d\'aisinas de l\'editor'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'pl', {
6 toolbarCollapse: 'Zwiń pasek narzędzi',
7 toolbarExpand: 'Rozwiń pasek narzędzi',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Schowek/Wstecz',
11 editing: 'Edycja',
12 forms: 'Formularze',
13 basicstyles: 'Style podstawowe',
14 paragraph: 'Akapit',
15 links: 'Hiperłącza',
16 insert: 'Wstawianie',
17 styles: 'Style',
18 colors: 'Kolory',
19 tools: 'Narzędzia'
20 },
21 toolbars: 'Paski narzędzi edytora'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'pt-br', {
6 toolbarCollapse: 'Diminuir Barra de Ferramentas',
7 toolbarExpand: 'Aumentar Barra de Ferramentas',
8 toolbarGroups: {
9 document: 'Documento',
10 clipboard: 'Clipboard/Desfazer',
11 editing: 'Edição',
12 forms: 'Formulários',
13 basicstyles: 'Estilos Básicos',
14 paragraph: 'Paragrafo',
15 links: 'Links',
16 insert: 'Inserir',
17 styles: 'Estilos',
18 colors: 'Cores',
19 tools: 'Ferramentas'
20 },
21 toolbars: 'Barra de Ferramentas do Editor'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'pt', {
6 toolbarCollapse: 'Ocultar barra de ferramentas',
7 toolbarExpand: 'Expandir barra de ferramentas',
8 toolbarGroups: {
9 document: 'Documento',
10 clipboard: 'Área de transferência/Anular',
11 editing: 'Edição',
12 forms: 'Formulários',
13 basicstyles: 'Estilos básicos',
14 paragraph: 'Parágrafo',
15 links: 'Hiperligações',
16 insert: 'Inserir',
17 styles: 'Estilos',
18 colors: 'Cores',
19 tools: 'Ferramentas'
20 },
21 toolbars: 'Editor de barras de ferramentas'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ro', {
6 toolbarCollapse: 'Micșorează Bara',
7 toolbarExpand: 'Mărește Bara',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Editează bara de unelte'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ru', {
6 toolbarCollapse: 'Свернуть панель инструментов',
7 toolbarExpand: 'Развернуть панель инструментов',
8 toolbarGroups: {
9 document: 'Документ',
10 clipboard: 'Буфер обмена / Отмена действий',
11 editing: 'Корректировка',
12 forms: 'Формы',
13 basicstyles: 'Простые стили',
14 paragraph: 'Абзац',
15 links: 'Ссылки',
16 insert: 'Вставка',
17 styles: 'Стили',
18 colors: 'Цвета',
19 tools: 'Инструменты'
20 },
21 toolbars: 'Панели инструментов редактора'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'si', {
6 toolbarCollapse: 'මෙවලම් තීරුව හැකුලුම.',
7 toolbarExpand: 'මෙවලම් තීරුව දීගහැරුම',
8 toolbarGroups: {
9 document: 'ලිපිය',
10 clipboard: 'ඇමිණුම වෙනස් කිරීම',
11 editing: 'සංස්කරණය',
12 forms: 'පෝරමය',
13 basicstyles: 'මුලික විලාසය',
14 paragraph: 'චේදය',
15 links: 'සබැඳිය',
16 insert: 'ඇතුලත් කිරීම',
17 styles: 'විලාසය',
18 colors: 'වර්ණය',
19 tools: 'මෙවලම්'
20 },
21 toolbars: 'සංස්කරණ මෙවලම් තීරුව'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'sk', {
6 toolbarCollapse: 'Zbaliť lištu nástrojov',
7 toolbarExpand: 'Rozbaliť lištu nástrojov',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Schránka pre kopírovanie/Späť',
11 editing: 'Upravovanie',
12 forms: 'Formuláre',
13 basicstyles: 'Základné štýly',
14 paragraph: 'Odsek',
15 links: 'Odkazy',
16 insert: 'Vložiť',
17 styles: 'Štýly',
18 colors: 'Farby',
19 tools: 'Nástroje'
20 },
21 toolbars: 'Lišty nástrojov editora'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'sl', {
6 toolbarCollapse: 'Skrči orodno vrstico',
7 toolbarExpand: 'Razširi orodno vrstico',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Odložišče/Razveljavi',
11 editing: 'Urejanje',
12 forms: 'Obrazci',
13 basicstyles: 'Osnovni slogi',
14 paragraph: 'Odstavek',
15 links: 'Povezave',
16 insert: 'Vstavi',
17 styles: 'Slogi',
18 colors: 'Barve',
19 tools: 'Orodja'
20 },
21 toolbars: 'Orodne vrstice urejevalnika'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'sq', {
6 toolbarCollapse: 'Zvogëlo Shiritin',
7 toolbarExpand: 'Zgjero Shiritin',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Tabela Punës/Ribëje',
11 editing: 'Duke Redaktuar',
12 forms: 'Formular',
13 basicstyles: 'Stili Bazë',
14 paragraph: 'Paragraf',
15 links: 'Nyjet',
16 insert: 'Shto',
17 styles: 'Stil',
18 colors: 'Ngjyrat',
19 tools: 'Mjetet'
20 },
21 toolbars: 'Shiritet e Redaktuesit'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'sr-latn', {
6 toolbarCollapse: 'Suzi alatnu traku',
7 toolbarExpand: 'Proširi alatnu traku',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Alatne trake'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'sr', {
6 toolbarCollapse: 'Склопи алатну траку',
7 toolbarExpand: 'Прошири алатну траку',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'Едитор алатне траке'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'sv', {
6 toolbarCollapse: 'Dölj verktygsfält',
7 toolbarExpand: 'Visa verktygsfält',
8 toolbarGroups: {
9 document: 'Dokument',
10 clipboard: 'Urklipp/ångra',
11 editing: 'Redigering',
12 forms: 'Formulär',
13 basicstyles: 'Basstilar',
14 paragraph: 'Paragraf',
15 links: 'Länkar',
16 insert: 'Infoga',
17 styles: 'Stilar',
18 colors: 'Färger',
19 tools: 'Verktyg'
20 },
21 toolbars: 'Editorns verktygsfält'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'th', {
6 toolbarCollapse: 'ซ่อนแถบเครื่องมือ',
7 toolbarExpand: 'เปิดแถบเครื่องมือ',
8 toolbarGroups: {
9 document: 'Document',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Editing',
12 forms: 'Forms',
13 basicstyles: 'Basic Styles',
14 paragraph: 'Paragraph',
15 links: 'Links',
16 insert: 'Insert',
17 styles: 'Styles',
18 colors: 'Colors',
19 tools: 'Tools'
20 },
21 toolbars: 'แถบเครื่องมือช่วยพิมพ์ข้อความ'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'tr', {
6 toolbarCollapse: 'Araç çubuklarını topla',
7 toolbarExpand: 'Araç çubuklarını aç',
8 toolbarGroups: {
9 document: 'Belge',
10 clipboard: 'Pano/Geri al',
11 editing: 'Düzenleme',
12 forms: 'Formlar',
13 basicstyles: 'Temel Stiller',
14 paragraph: 'Paragraf',
15 links: 'Bağlantılar',
16 insert: 'Ekle',
17 styles: 'Stiller',
18 colors: 'Renkler',
19 tools: 'Araçlar'
20 },
21 toolbars: 'Araç çubukları Editörü'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'tt', {
6 toolbarCollapse: 'Collapse Toolbar', // MISSING
7 toolbarExpand: 'Expand Toolbar', // MISSING
8 toolbarGroups: {
9 document: 'Документ',
10 clipboard: 'Алмашу буферы/Кайтару',
11 editing: 'Төзәтү',
12 forms: 'Формалар',
13 basicstyles: 'Төп стильләр',
14 paragraph: 'Параграф',
15 links: 'Сылталамалар',
16 insert: 'Өстәү',
17 styles: 'Стильләр',
18 colors: 'Төсләр',
19 tools: 'Кораллар'
20 },
21 toolbars: 'Editor toolbars' // MISSING
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'ug', {
6 toolbarCollapse: 'قورال بالداقنى قاتلا',
7 toolbarExpand: 'قورال بالداقنى ياي',
8 toolbarGroups: {
9 document: 'پۈتۈك',
10 clipboard: 'چاپلاش تاختىسى/يېنىۋال',
11 editing: 'تەھرىر',
12 forms: 'جەدۋەل',
13 basicstyles: 'ئاساسىي ئۇسلۇب',
14 paragraph: 'ئابزاس',
15 links: 'ئۇلانما',
16 insert: 'قىستۇر',
17 styles: 'ئۇسلۇب',
18 colors: 'رەڭ',
19 tools: 'قورال'
20 },
21 toolbars: 'قورال بالداق'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'uk', {
6 toolbarCollapse: 'Згорнути панель інструментів',
7 toolbarExpand: 'Розгорнути панель інструментів',
8 toolbarGroups: {
9 document: 'Документ',
10 clipboard: 'Буфер обміну / Скасувати',
11 editing: 'Редагування',
12 forms: 'Форми',
13 basicstyles: 'Основний Стиль',
14 paragraph: 'Параграф',
15 links: 'Посилання',
16 insert: 'Вставити',
17 styles: 'Стилі',
18 colors: 'Кольори',
19 tools: 'Інструменти'
20 },
21 toolbars: 'Панель інструментів редактора'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'vi', {
6 toolbarCollapse: 'Thu gọn thanh công cụ',
7 toolbarExpand: 'Mở rộng thnah công cụ',
8 toolbarGroups: {
9 document: 'Tài liệu',
10 clipboard: 'Clipboard/Undo',
11 editing: 'Chỉnh sửa',
12 forms: 'Bảng biểu',
13 basicstyles: 'Kiểu cơ bản',
14 paragraph: 'Đoạn',
15 links: 'Liên kết',
16 insert: 'Chèn',
17 styles: 'Kiểu',
18 colors: 'Màu sắc',
19 tools: 'Công cụ'
20 },
21 toolbars: 'Thanh công cụ'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'zh-cn', {
6 toolbarCollapse: '折叠工具栏',
7 toolbarExpand: '展开工具栏',
8 toolbarGroups: {
9 document: '文档',
10 clipboard: '剪贴板/撤销',
11 editing: '编辑',
12 forms: '表单',
13 basicstyles: '基本格式',
14 paragraph: '段落',
15 links: '链接',
16 insert: '插入',
17 styles: '样式',
18 colors: '颜色',
19 tools: '工具'
20 },
21 toolbars: '工具栏'
22} );
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 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'toolbar', 'zh', {
6 toolbarCollapse: '摺疊工具列',
7 toolbarExpand: '展開工具列',
8 toolbarGroups: {
9 document: '文件',
10 clipboard: '剪貼簿/復原',
11 editing: '編輯選項',
12 forms: '格式',
13 basicstyles: '基本樣式',
14 paragraph: '段落',
15 links: '連結',
16 insert: '插入',
17 styles: '樣式',
18 colors: '顏色',
19 tools: '工具'
20 },
21 toolbars: '編輯器工具列'
22} );
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 @@
1/**
2 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */
5
6/**
7 * @fileOverview The "toolbar" plugin. Renders the default toolbar interface in
8 * the editor.
9 */
10
11( function() {
12 var toolbox = function() {
13 this.toolbars = [];
14 this.focusCommandExecuted = false;
15 };
16
17 toolbox.prototype.focus = function() {
18 for ( var t = 0, toolbar; toolbar = this.toolbars[ t++ ]; ) {
19 for ( var i = 0, item; item = toolbar.items[ i++ ]; ) {
20 if ( item.focus ) {
21 item.focus();
22 return;
23 }
24 }
25 }
26 };
27
28 var commands = {
29 toolbarFocus: {
30 modes: { wysiwyg: 1, source: 1 },
31 readOnly: 1,
32
33 exec: function( editor ) {
34 if ( editor.toolbox ) {
35 editor.toolbox.focusCommandExecuted = true;
36
37 // Make the first button focus accessible for IE. (#3417)
38 // Adobe AIR instead need while of delay.
39 if ( CKEDITOR.env.ie || CKEDITOR.env.air ) {
40 setTimeout( function() {
41 editor.toolbox.focus();
42 }, 100 );
43 } else {
44 editor.toolbox.focus();
45 }
46 }
47 }
48 }
49 };
50
51 CKEDITOR.plugins.add( 'toolbar', {
52 requires: 'button',
53 // jscs:disable maximumLineLength
54 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%
55 // jscs:enable maximumLineLength
56
57 init: function( editor ) {
58 var endFlag;
59
60 var itemKeystroke = function( item, keystroke ) {
61 var next, toolbar;
62 var rtl = editor.lang.dir == 'rtl',
63 toolbarGroupCycling = editor.config.toolbarGroupCycling,
64 // Picking right/left key codes.
65 rightKeyCode = rtl ? 37 : 39,
66 leftKeyCode = rtl ? 39 : 37;
67
68 toolbarGroupCycling = toolbarGroupCycling === undefined || toolbarGroupCycling;
69
70 switch ( keystroke ) {
71 case 9: // TAB
72 case CKEDITOR.SHIFT + 9: // SHIFT + TAB
73 // Cycle through the toolbars, starting from the one
74 // closest to the current item.
75 while ( !toolbar || !toolbar.items.length ) {
76 if ( keystroke == 9 ) {
77 toolbar = ( ( toolbar ? toolbar.next : item.toolbar.next ) || editor.toolbox.toolbars[ 0 ] );
78 } else {
79 toolbar = ( ( toolbar ? toolbar.previous : item.toolbar.previous ) || editor.toolbox.toolbars[ editor.toolbox.toolbars.length - 1 ] );
80 }
81
82 // Look for the first item that accepts focus.
83 if ( toolbar.items.length ) {
84 item = toolbar.items[ endFlag ? ( toolbar.items.length - 1 ) : 0 ];
85 while ( item && !item.focus ) {
86 item = endFlag ? item.previous : item.next;
87
88 if ( !item )
89 toolbar = 0;
90 }
91 }
92 }
93
94 if ( item )
95 item.focus();
96
97 return false;
98
99 case rightKeyCode:
100 next = item;
101 do {
102 // Look for the next item in the toolbar.
103 next = next.next;
104
105 // If it's the last item, cycle to the first one.
106 if ( !next && toolbarGroupCycling ) next = item.toolbar.items[ 0 ];
107 }
108 while ( next && !next.focus );
109
110 // If available, just focus it, otherwise focus the
111 // first one.
112 if ( next )
113 next.focus();
114 else
115 // Send a TAB.
116 itemKeystroke( item, 9 );
117
118 return false;
119 case 40: // DOWN-ARROW
120 if ( item.button && item.button.hasArrow ) {
121 // Note: code is duplicated in plugins\richcombo\plugin.js in keyDownFn().
122 editor.once( 'panelShow', function( evt ) {
123 evt.data._.panel._.currentBlock.onKeyDown( 40 );
124 } );
125 item.execute();
126 } else {
127 // Send left arrow key.
128 itemKeystroke( item, keystroke == 40 ? rightKeyCode : leftKeyCode );
129 }
130 return false;
131 case leftKeyCode:
132 case 38: // UP-ARROW
133 next = item;
134 do {
135 // Look for the previous item in the toolbar.
136 next = next.previous;
137
138 // If it's the first item, cycle to the last one.
139 if ( !next && toolbarGroupCycling ) next = item.toolbar.items[ item.toolbar.items.length - 1 ];
140 }
141 while ( next && !next.focus );
142
143 // If available, just focus it, otherwise focus the
144 // last one.
145 if ( next )
146 next.focus();
147 else {
148 endFlag = 1;
149 // Send a SHIFT + TAB.
150 itemKeystroke( item, CKEDITOR.SHIFT + 9 );
151 endFlag = 0;
152 }
153
154 return false;
155
156 case 27: // ESC
157 editor.focus();
158 return false;
159
160 case 13: // ENTER
161 case 32: // SPACE
162 item.execute();
163 return false;
164 }
165 return true;
166 };
167
168 editor.on( 'uiSpace', function( event ) {
169 if ( event.data.space != editor.config.toolbarLocation )
170 return;
171
172 // Create toolbar only once.
173 event.removeListener();
174
175 editor.toolbox = new toolbox();
176
177 var labelId = CKEDITOR.tools.getNextId();
178
179 var output = [
180 '<span id="', labelId, '" class="cke_voice_label">', editor.lang.toolbar.toolbars, '</span>',
181 '<span id="' + editor.ui.spaceId( 'toolbox' ) + '" class="cke_toolbox" role="group" aria-labelledby="', labelId, '" onmousedown="return false;">'
182 ];
183
184 var expanded = editor.config.toolbarStartupExpanded !== false,
185 groupStarted, pendingSeparator;
186
187 // If the toolbar collapser will be available, we'll have
188 // an additional container for all toolbars.
189 if ( editor.config.toolbarCanCollapse && editor.elementMode != CKEDITOR.ELEMENT_MODE_INLINE )
190 output.push( '<span class="cke_toolbox_main"' + ( expanded ? '>' : ' style="display:none">' ) );
191
192 var toolbars = editor.toolbox.toolbars,
193 toolbar = getToolbarConfig( editor ),
194 toolbarLength = toolbar.length;
195
196 for ( var r = 0; r < toolbarLength; r++ ) {
197 var toolbarId,
198 toolbarObj = 0,
199 toolbarName,
200 row = toolbar[ r ],
201 lastToolbarInRow = row !== '/' && ( toolbar[ r + 1 ] === '/' || r == toolbarLength - 1 ),
202 items;
203
204 // It's better to check if the row object is really
205 // available because it's a common mistake to leave
206 // an extra comma in the toolbar definition
207 // settings, which leads on the editor not loading
208 // at all in IE. (#3983)
209 if ( !row )
210 continue;
211
212 if ( groupStarted ) {
213 output.push( '</span>' );
214 groupStarted = 0;
215 pendingSeparator = 0;
216 }
217
218 if ( row === '/' ) {
219 output.push( '<span class="cke_toolbar_break"></span>' );
220 continue;
221 }
222
223 items = row.items || row;
224
225 // Create all items defined for this toolbar.
226 for ( var i = 0; i < items.length; i++ ) {
227 var item = items[ i ],
228 canGroup;
229
230 if ( item ) {
231 if ( item.type == CKEDITOR.UI_SEPARATOR ) {
232 // Do not add the separator immediately. Just save
233 // it be included if we already have something in
234 // the toolbar and if a new item is to be added (later).
235 pendingSeparator = groupStarted && item;
236 continue;
237 }
238
239 canGroup = item.canGroup !== false;
240
241 // Initialize the toolbar first, if needed.
242 if ( !toolbarObj ) {
243 // Create the basic toolbar object.
244 toolbarId = CKEDITOR.tools.getNextId();
245 toolbarObj = { id: toolbarId, items: [] };
246 toolbarName = row.name && ( editor.lang.toolbar.toolbarGroups[ row.name ] || row.name );
247
248 // Output the toolbar opener.
249 output.push( '<span id="', toolbarId, '" class="cke_toolbar' + ( lastToolbarInRow ? ' cke_toolbar_last"' : '"' ),
250 ( toolbarName ? ' aria-labelledby="' + toolbarId + '_label"' : '' ), ' role="toolbar">' );
251
252 // If a toolbar name is available, send the voice label.
253 toolbarName && output.push( '<span id="', toolbarId, '_label" class="cke_voice_label">', toolbarName, '</span>' );
254
255 output.push( '<span class="cke_toolbar_start"></span>' );
256
257 // Add the toolbar to the "editor.toolbox.toolbars"
258 // array.
259 var index = toolbars.push( toolbarObj ) - 1;
260
261 // Create the next/previous reference.
262 if ( index > 0 ) {
263 toolbarObj.previous = toolbars[ index - 1 ];
264 toolbarObj.previous.next = toolbarObj;
265 }
266 }
267
268 if ( canGroup ) {
269 if ( !groupStarted ) {
270 output.push( '<span class="cke_toolgroup" role="presentation">' );
271 groupStarted = 1;
272 }
273 } else if ( groupStarted ) {
274 output.push( '</span>' );
275 groupStarted = 0;
276 }
277
278 function addItem( item ) { // jshint ignore:line
279 var itemObj = item.render( editor, output );
280 index = toolbarObj.items.push( itemObj ) - 1;
281
282 if ( index > 0 ) {
283 itemObj.previous = toolbarObj.items[ index - 1 ];
284 itemObj.previous.next = itemObj;
285 }
286
287 itemObj.toolbar = toolbarObj;
288 itemObj.onkey = itemKeystroke;
289
290 // Fix for #3052:
291 // Prevent JAWS from focusing the toolbar after document load.
292 itemObj.onfocus = function() {
293 if ( !editor.toolbox.focusCommandExecuted )
294 editor.focus();
295 };
296 }
297
298 if ( pendingSeparator ) {
299 addItem( pendingSeparator );
300 pendingSeparator = 0;
301 }
302
303 addItem( item );
304 }
305 }
306
307 if ( groupStarted ) {
308 output.push( '</span>' );
309 groupStarted = 0;
310 pendingSeparator = 0;
311 }
312
313 if ( toolbarObj )
314 output.push( '<span class="cke_toolbar_end"></span></span>' );
315 }
316
317 if ( editor.config.toolbarCanCollapse )
318 output.push( '</span>' );
319
320 // Not toolbar collapser for inline mode.
321 if ( editor.config.toolbarCanCollapse && editor.elementMode != CKEDITOR.ELEMENT_MODE_INLINE ) {
322 var collapserFn = CKEDITOR.tools.addFunction( function() {
323 editor.execCommand( 'toolbarCollapse' );
324 } );
325
326 editor.on( 'destroy', function() {
327 CKEDITOR.tools.removeFunction( collapserFn );
328 } );
329
330 editor.addCommand( 'toolbarCollapse', {
331 readOnly: 1,
332 exec: function( editor ) {
333 var collapser = editor.ui.space( 'toolbar_collapser' ),
334 toolbox = collapser.getPrevious(),
335 contents = editor.ui.space( 'contents' ),
336 toolboxContainer = toolbox.getParent(),
337 contentHeight = parseInt( contents.$.style.height, 10 ),
338 previousHeight = toolboxContainer.$.offsetHeight,
339 minClass = 'cke_toolbox_collapser_min',
340 collapsed = collapser.hasClass( minClass );
341
342 if ( !collapsed ) {
343 toolbox.hide();
344 collapser.addClass( minClass );
345 collapser.setAttribute( 'title', editor.lang.toolbar.toolbarExpand );
346 } else {
347 toolbox.show();
348 collapser.removeClass( minClass );
349 collapser.setAttribute( 'title', editor.lang.toolbar.toolbarCollapse );
350 }
351
352 // Update collapser symbol.
353 collapser.getFirst().setText( collapsed ? '\u25B2' : // BLACK UP-POINTING TRIANGLE
354 '\u25C0' ); // BLACK LEFT-POINTING TRIANGLE
355
356 var dy = toolboxContainer.$.offsetHeight - previousHeight;
357 contents.setStyle( 'height', ( contentHeight - dy ) + 'px' );
358
359 editor.fire( 'resize', {
360 outerHeight: editor.container.$.offsetHeight,
361 contentsHeight: contents.$.offsetHeight,
362 outerWidth: editor.container.$.offsetWidth
363 } );
364 },
365
366 modes: { wysiwyg: 1, source: 1 }
367 } );
368
369 editor.setKeystroke( CKEDITOR.ALT + ( CKEDITOR.env.ie || CKEDITOR.env.webkit ? 189 : 109 ) /*-*/, 'toolbarCollapse' );
370
371 output.push( '<a title="' + ( expanded ? editor.lang.toolbar.toolbarCollapse : editor.lang.toolbar.toolbarExpand ) +
372 '" id="' + editor.ui.spaceId( 'toolbar_collapser' ) +
373 '" tabIndex="-1" class="cke_toolbox_collapser' );
374
375 if ( !expanded )
376 output.push( ' cke_toolbox_collapser_min' );
377
378 output.push( '" onclick="CKEDITOR.tools.callFunction(' + collapserFn + ')">', '<span class="cke_arrow">&#9650;</span>', // BLACK UP-POINTING TRIANGLE
379 '</a>' );
380 }
381
382 output.push( '</span>' );
383 event.data.html += output.join( '' );
384 } );
385
386 editor.on( 'destroy', function() {
387 if ( this.toolbox ) {
388 var toolbars,
389 index = 0,
390 i, items, instance;
391 toolbars = this.toolbox.toolbars;
392 for ( ; index < toolbars.length; index++ ) {
393 items = toolbars[ index ].items;
394 for ( i = 0; i < items.length; i++ ) {
395 instance = items[ i ];
396 if ( instance.clickFn )
397 CKEDITOR.tools.removeFunction( instance.clickFn );
398 if ( instance.keyDownFn )
399 CKEDITOR.tools.removeFunction( instance.keyDownFn );
400 }
401 }
402 }
403 } );
404
405 // Manage editor focus when navigating the toolbar.
406 editor.on( 'uiReady', function() {
407 var toolbox = editor.ui.space( 'toolbox' );
408 toolbox && editor.focusManager.add( toolbox, 1 );
409 } );
410
411 editor.addCommand( 'toolbarFocus', commands.toolbarFocus );
412 editor.setKeystroke( CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' );
413
414 editor.ui.add( '-', CKEDITOR.UI_SEPARATOR, {} );
415 editor.ui.addHandler( CKEDITOR.UI_SEPARATOR, {
416 create: function() {
417 return {
418 render: function( editor, output ) {
419 output.push( '<span class="cke_toolbar_separator" role="separator"></span>' );
420 return {};
421 }
422 };
423 }
424 } );
425 }
426 } );
427
428 function getToolbarConfig( editor ) {
429 var removeButtons = editor.config.removeButtons;
430
431 removeButtons = removeButtons && removeButtons.split( ',' );
432
433 function buildToolbarConfig() {
434
435 // Object containing all toolbar groups used by ui items.
436 var lookup = getItemDefinedGroups();
437
438 // Take the base for the new toolbar, which is basically a toolbar
439 // definition without items.
440 var toolbar = CKEDITOR.tools.clone( editor.config.toolbarGroups ) || getPrivateToolbarGroups( editor );
441
442 // Fill the toolbar groups with the available ui items.
443 for ( var i = 0; i < toolbar.length; i++ ) {
444 var toolbarGroup = toolbar[ i ];
445
446 // Skip toolbar break.
447 if ( toolbarGroup == '/' )
448 continue;
449 // Handle simply group name item.
450 else if ( typeof toolbarGroup == 'string' )
451 toolbarGroup = toolbar[ i ] = { name: toolbarGroup };
452
453 var items, subGroups = toolbarGroup.groups;
454
455 // Look for items that match sub groups.
456 if ( subGroups ) {
457 for ( var j = 0, sub; j < subGroups.length; j++ ) {
458 sub = subGroups[ j ];
459
460 // If any ui item is registered for this subgroup.
461 items = lookup[ sub ];
462 items && fillGroup( toolbarGroup, items );
463 }
464 }
465
466 // Add the main group items as well.
467 items = lookup[ toolbarGroup.name ];
468 items && fillGroup( toolbarGroup, items );
469 }
470
471 return toolbar;
472 }
473
474 // Returns an object containing all toolbar groups used by ui items.
475 function getItemDefinedGroups() {
476 var groups = {},
477 itemName, item, itemToolbar, group, order;
478
479 for ( itemName in editor.ui.items ) {
480 item = editor.ui.items[ itemName ];
481 itemToolbar = item.toolbar || 'others';
482 if ( itemToolbar ) {
483 // Break the toolbar property into its parts: "group_name[,order]".
484 itemToolbar = itemToolbar.split( ',' );
485 group = itemToolbar[ 0 ];
486 order = parseInt( itemToolbar[ 1 ] || -1, 10 );
487
488 // Initialize the group, if necessary.
489 groups[ group ] || ( groups[ group ] = [] );
490
491 // Push the data used to build the toolbar later.
492 groups[ group ].push( { name: itemName, order: order } );
493 }
494 }
495
496 // Put the items in the right order.
497 for ( group in groups ) {
498 groups[ group ] = groups[ group ].sort( function( a, b ) {
499 return a.order == b.order ? 0 :
500 b.order < 0 ? -1 :
501 a.order < 0 ? 1 :
502 a.order < b.order ? -1 :
503 1;
504 } );
505 }
506
507 return groups;
508 }
509
510 function fillGroup( toolbarGroup, uiItems ) {
511 if ( uiItems.length ) {
512 if ( toolbarGroup.items )
513 toolbarGroup.items.push( editor.ui.create( '-' ) );
514 else
515 toolbarGroup.items = [];
516
517 var item, name;
518 while ( ( item = uiItems.shift() ) ) {
519 name = typeof item == 'string' ? item : item.name;
520
521 // Ignore items that are configured to be removed.
522 if ( !removeButtons || CKEDITOR.tools.indexOf( removeButtons, name ) == -1 ) {
523 item = editor.ui.create( name );
524
525 if ( !item )
526 continue;
527
528 if ( !editor.addFeature( item ) )
529 continue;
530
531 toolbarGroup.items.push( item );
532 }
533 }
534 }
535 }
536
537 function populateToolbarConfig( config ) {
538 var toolbar = [],
539 i, group, newGroup;
540
541 for ( i = 0; i < config.length; ++i ) {
542 group = config[ i ];
543 newGroup = {};
544
545 if ( group == '/' )
546 toolbar.push( group );
547 else if ( CKEDITOR.tools.isArray( group ) ) {
548 fillGroup( newGroup, CKEDITOR.tools.clone( group ) );
549 toolbar.push( newGroup );
550 }
551 else if ( group.items ) {
552 fillGroup( newGroup, CKEDITOR.tools.clone( group.items ) );
553 newGroup.name = group.name;
554 toolbar.push( newGroup );
555 }
556 }
557
558 return toolbar;
559 }
560
561 var toolbar = editor.config.toolbar;
562
563 // If it is a string, return the relative "toolbar_name" config.
564 if ( typeof toolbar == 'string' )
565 toolbar = editor.config[ 'toolbar_' + toolbar ];
566
567 return ( editor.toolbar = toolbar ? populateToolbarConfig( toolbar ) : buildToolbarConfig() );
568 }
569
570 /**
571 * Adds a toolbar group. See {@link CKEDITOR.config#toolbarGroups} for more details.
572 *
573 * **Note:** This method will not modify toolbar groups set explicitly by
574 * {@link CKEDITOR.config#toolbarGroups}. It will only extend the default setting.
575 *
576 * @param {String} name Toolbar group name.
577 * @param {Number/String} previous The name of the toolbar group after which this one
578 * should be added or `0` if this group should be the first one.
579 * @param {String} [subgroupOf] The name of the parent group.
580 * @member CKEDITOR.ui
581 */
582 CKEDITOR.ui.prototype.addToolbarGroup = function( name, previous, subgroupOf ) {
583 // The toolbarGroups from the privates is the one we gonna use for automatic toolbar creation.
584 var toolbarGroups = getPrivateToolbarGroups( this.editor ),
585 atStart = previous === 0,
586 newGroup = { name: name };
587
588 if ( subgroupOf ) {
589 // Transform the subgroupOf name in the real subgroup object.
590 subgroupOf = CKEDITOR.tools.search( toolbarGroups, function( group ) {
591 return group.name == subgroupOf;
592 } );
593
594 if ( subgroupOf ) {
595 !subgroupOf.groups && ( subgroupOf.groups = [] ) ;
596
597 if ( previous ) {
598 // Search the "previous" item and add the new one after it.
599 previous = CKEDITOR.tools.indexOf( subgroupOf.groups, previous );
600 if ( previous >= 0 ) {
601 subgroupOf.groups.splice( previous + 1, 0, name );
602 return;
603 }
604 }
605
606 // If no previous found.
607
608 if ( atStart )
609 subgroupOf.groups.splice( 0, 0, name );
610 else
611 subgroupOf.groups.push( name );
612 return;
613 } else {
614 // Ignore "previous" if subgroupOf has not been found.
615 previous = null;
616 }
617 }
618
619 if ( previous ) {
620 // Transform the "previous" name into its index.
621 previous = CKEDITOR.tools.indexOf( toolbarGroups, function( group ) {
622 return group.name == previous;
623 } );
624 }
625
626 if ( atStart )
627 toolbarGroups.splice( 0, 0, name );
628 else if ( typeof previous == 'number' )
629 toolbarGroups.splice( previous + 1, 0, newGroup );
630 else
631 toolbarGroups.push( name );
632 };
633
634 function getPrivateToolbarGroups( editor ) {
635 return editor._.toolbarGroups || ( editor._.toolbarGroups = [
636 { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
637 { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
638 { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
639 { name: 'forms' },
640 '/',
641 { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
642 { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
643 { name: 'links' },
644 { name: 'insert' },
645 '/',
646 { name: 'styles' },
647 { name: 'colors' },
648 { name: 'tools' },
649 { name: 'others' },
650 { name: 'about' }
651 ] );
652 }
653} )();
654
655/**
656 * Separator UI element.
657 *
658 * @readonly
659 * @property {String} [='separator']
660 * @member CKEDITOR
661 */
662CKEDITOR.UI_SEPARATOR = 'separator';
663
664/**
665 * The part of the user interface where the toolbar will be rendered. For the default
666 * editor implementation, the recommended options are `'top'` and `'bottom'`.
667 *
668 * Please note that this option is only applicable to [classic](#!/guide/dev_framed)
669 * (`iframe`-based) editor. In case of [inline](#!/guide/dev_inline) editor the toolbar
670 * position is set dynamically depending on the position of the editable element on the screen.
671 *
672 * Read more in the [documentation](#!/guide/dev_toolbarlocation)
673 * and see the [SDK sample](http://sdk.ckeditor.com/samples/toolbarlocation.html).
674 *
675 * config.toolbarLocation = 'bottom';
676 *
677 * @cfg
678 * @member CKEDITOR.config
679 */
680CKEDITOR.config.toolbarLocation = 'top';
681
682/**
683 * The toolbox (alias toolbar) definition. It is a toolbar name or an array of
684 * toolbars (strips), each one being also an array, containing a list of UI items.
685 *
686 * If set to `null`, the toolbar will be generated automatically using all available buttons
687 * and {@link #toolbarGroups} as a toolbar groups layout.
688 *
689 * In CKEditor 4.5+ you can generate your toolbar customization code by using the [visual
690 * toolbar configurator](http://docs.ckeditor.com/#!/guide/dev_toolbar).
691 *
692 * // Defines a toolbar with only one strip containing the "Source" button, a
693 * // separator, and the "Bold" and "Italic" buttons.
694 * config.toolbar = [
695 * [ 'Source', '-', 'Bold', 'Italic' ]
696 * ];
697 *
698 * // Similar to the example above, defines a "Basic" toolbar with only one strip containing three buttons.
699 * // Note that this setting is composed by "toolbar_" added to the toolbar name, which in this case is called "Basic".
700 * // This second part of the setting name can be anything. You must use this name in the CKEDITOR.config.toolbar setting
701 * // in order to instruct the editor which `toolbar_(name)` setting should be used.
702 * config.toolbar_Basic = [
703 * [ 'Source', '-', 'Bold', 'Italic' ]
704 * ];
705 * // Load toolbar_Name where Name = Basic.
706 * config.toolbar = 'Basic';
707 *
708 * @cfg {Array/String} [toolbar=null]
709 * @member CKEDITOR.config
710 */
711
712/**
713 * The toolbar groups definition.
714 *
715 * If the toolbar layout is not explicitly defined by the {@link #toolbar} setting, then
716 * this setting is used to group all defined buttons (see {@link CKEDITOR.ui#addButton}).
717 * Buttons are associated with toolbar groups by the `toolbar` property in their definition objects.
718 *
719 * New groups may be dynamically added during the editor and plugin initialization by
720 * {@link CKEDITOR.ui#addToolbarGroup}. This is only possible if the default setting was used.
721 *
722 * // Default setting.
723 * config.toolbarGroups = [
724 * { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
725 * { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
726 * { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
727 * { name: 'forms' },
728 * '/',
729 * { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
730 * { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
731 * { name: 'links' },
732 * { name: 'insert' },
733 * '/',
734 * { name: 'styles' },
735 * { name: 'colors' },
736 * { name: 'tools' },
737 * { name: 'others' },
738 * { name: 'about' }
739 * ];
740 *
741 * @cfg {Array} [toolbarGroups=see example]
742 * @member CKEDITOR.config
743 */
744
745/**
746 * Whether the toolbar can be collapsed by the user. If disabled, the Collapse Toolbar
747 * button will not be displayed.
748 *
749 * config.toolbarCanCollapse = true;
750 *
751 * @cfg {Boolean} [toolbarCanCollapse=false]
752 * @member CKEDITOR.config
753 */
754
755/**
756 * Whether the toolbar must start expanded when the editor is loaded.
757 *
758 * Setting this option to `false` will affect the toolbar only when
759 * {@link #toolbarCanCollapse} is set to `true`:
760 *
761 * config.toolbarCanCollapse = true;
762 * config.toolbarStartupExpanded = false;
763 *
764 * @cfg {Boolean} [toolbarStartupExpanded=true]
765 * @member CKEDITOR.config
766 */
767
768/**
769 * When enabled, causes the *Arrow* keys navigation to cycle within the current
770 * toolbar group. Otherwise the *Arrow* keys will move through all items available in
771 * the toolbar. The *Tab* key will still be used to quickly jump among the
772 * toolbar groups.
773 *
774 * config.toolbarGroupCycling = false;
775 *
776 * @since 3.6
777 * @cfg {Boolean} [toolbarGroupCycling=true]
778 * @member CKEDITOR.config
779 */
780
781/**
782 * List of toolbar button names that must not be rendered. This will also work
783 * for non-button toolbar items, like the Font drop-down list.
784 *
785 * config.removeButtons = 'Underline,JustifyCenter';
786 *
787 * This configuration option should not be overused. The recommended way is to use the
788 * {@link CKEDITOR.config#removePlugins} setting to remove features from the editor
789 * or even better, [create a custom editor build](http://ckeditor.com/builder) with
790 * just the features that you will use.
791 * In some cases though, a single plugin may define a set of toolbar buttons and
792 * `removeButtons` may be useful when just a few of them are to be removed.
793 *
794 * @cfg {String} [removeButtons]
795 * @member CKEDITOR.config
796 */
797
798/**
799 * The toolbar definition used by the editor. It is created from the
800 * {@link CKEDITOR.config#toolbar} option if it is set or automatically
801 * based on {@link CKEDITOR.config#toolbarGroups}.
802 *
803 * @readonly
804 * @property {Object} toolbar
805 * @member CKEDITOR.editor
806 */
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 @@
1<!DOCTYPE html>
2<!--
3Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
4For licensing, see LICENSE.md or http://ckeditor.com/license
5-->
6<html>
7<head>
8 <meta charset="utf-8">
9 <title>Toolbar Configuration &mdash; CKEditor Sample</title>
10 <meta name="ckeditor-sample-name" content="Toolbar Configurations">
11 <meta name="ckeditor-sample-group" content="Advanced Samples">
12 <meta name="ckeditor-sample-description" content="Configuring CKEditor to display full or custom toolbar layout.">
13 <script src="../../../ckeditor.js"></script>
14 <link href="../../../samples/old/sample.css" rel="stylesheet">
15</head>
16<body>
17 <h1 class="samples">
18 <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; Toolbar Configuration
19 </h1>
20 <div class="warning deprecated">
21 This sample is not maintained anymore. Check out the <a href="../../../samples/toolbarconfigurator/index.html#basic">brand new CKEditor Toolbar Configurator</a>.
22 </div>
23 <div class="description">
24 <p>
25 This sample page demonstrates editor with loaded <a href="#fullToolbar">full toolbar</a> (all registered buttons) and, if
26 current editor's configuration modifies default settings, also editor with <a href="#currentToolbar">modified toolbar</a>.
27 </p>
28
29 <p>Since CKEditor 4 there are two ways to configure toolbar buttons.</p>
30
31 <h2 class="samples">By <a href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-toolbar">config.toolbar</a></h2>
32
33 <p>
34 You can explicitly define which buttons are displayed in which groups and in which order.
35 This is the more precise setting, but less flexible. If newly added plugin adds its
36 own button you'll have to add it manually to your <code>config.toolbar</code> setting as well.
37 </p>
38
39 <p>To add a CKEditor instance with custom toolbar setting, insert the following JavaScript call to your code:</p>
40
41 <pre class="samples">
42CKEDITOR.replace( <em>'textarea_id'</em>, {
43 <strong>toolbar:</strong> [
44 { name: 'document', items: [ 'Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] }, // Defines toolbar group with name (used to create voice label) and items in 3 subgroups.
45 [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ], // Defines toolbar group without name.
46 '/', // Line break - next group will be placed in new line.
47 { name: 'basicstyles', items: [ 'Bold', 'Italic' ] }
48 ]
49});</pre>
50
51 <h2 class="samples">By <a href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-toolbarGroups">config.toolbarGroups</a></h2>
52
53 <p>
54 You can define which groups of buttons (like e.g. <code>basicstyles</code>, <code>clipboard</code>
55 and <code>forms</code>) are displayed and in which order. Registered buttons are associated
56 with toolbar groups by <code>toolbar</code> property in their definition.
57 This setting's advantage is that you don't have to modify toolbar configuration
58 when adding/removing plugins which register their own buttons.
59 </p>
60
61 <p>To add a CKEditor instance with custom toolbar groups setting, insert the following JavaScript call to your code:</p>
62
63 <pre class="samples">
64CKEDITOR.replace( <em>'textarea_id'</em>, {
65 <strong>toolbarGroups:</strong> [
66 { name: 'document', groups: [ 'mode', 'document' ] }, // Displays document group with its two subgroups.
67 { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, // Group's name will be used to create voice label.
68 '/', // Line break - next group will be placed in new line.
69 { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
70 { name: 'links' }
71 ]
72
73 // NOTE: Remember to leave 'toolbar' property with the default value (null).
74});</pre>
75 </div>
76
77 <div id="currentToolbar" style="display: none">
78 <h2 class="samples">Current toolbar configuration</h2>
79 <p>Below you can see editor with current toolbar definition.</p>
80 <textarea cols="80" id="editorCurrent" name="editorCurrent" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
81 <pre id="editorCurrentCfg" class="samples"></pre>
82 </div>
83
84 <div id="fullToolbar">
85 <h2 class="samples">Full toolbar configuration</h2>
86 <p>Below you can see editor with full toolbar, generated automatically by the editor.</p>
87 <p>
88 <strong>Note</strong>: To create editor instance with full toolbar you don't have to set anything.
89 Just leave <code>toolbar</code> and <code>toolbarGroups</code> with the default, <code>null</code> values.
90 </p>
91 <textarea cols="80" id="editorFull" name="editorFull" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
92 <pre id="editorFullCfg" class="samples"></pre>
93 </div>
94
95 <script>
96
97(function() {
98 'use strict';
99
100 var buttonsNames;
101
102 CKEDITOR.config.extraPlugins = 'toolbar';
103
104 CKEDITOR.on( 'instanceReady', function( evt ) {
105 var editor = evt.editor,
106 editorCurrent = editor.name == 'editorCurrent',
107 defaultToolbar = !( editor.config.toolbar || editor.config.toolbarGroups || editor.config.removeButtons ),
108 pre = CKEDITOR.document.getById( editor.name + 'Cfg' ),
109 output = '';
110
111 if ( editorCurrent ) {
112 // If default toolbar configuration has been modified, show "current toolbar" section.
113 if ( !defaultToolbar )
114 CKEDITOR.document.getById( 'currentToolbar' ).show();
115 else
116 return;
117 }
118
119 if ( !buttonsNames )
120 buttonsNames = createButtonsNamesHash( editor.ui.items );
121
122 // Toolbar isn't set explicitly, so it was created automatically from toolbarGroups.
123 if ( !editor.config.toolbar ) {
124 output +=
125 '// Toolbar configuration generated automatically by the editor based on config.toolbarGroups.\n' +
126 dumpToolbarConfiguration( editor ) +
127 '\n\n' +
128 '// Toolbar groups configuration.\n' +
129 dumpToolbarConfiguration( editor, true )
130 }
131 // Toolbar groups doesn't count in this case - print only toolbar.
132 else {
133 output += '// Toolbar configuration.\n' +
134 dumpToolbarConfiguration( editor );
135 }
136
137 // Recreate to avoid old IE from loosing whitespaces on filling <pre> content.
138 var preOutput = pre.getOuterHtml().replace( /(?=<\/)/, output );
139 CKEDITOR.dom.element.createFromHtml( preOutput ).replace( pre );
140 } );
141
142 CKEDITOR.replace( 'editorCurrent', { height: 100 } );
143 CKEDITOR.replace( 'editorFull', {
144 // Reset toolbar settings, so full toolbar will be generated automatically.
145 toolbar: null,
146 toolbarGroups: null,
147 removeButtons: null,
148 height: 100
149 } );
150
151 function dumpToolbarConfiguration( editor, printGroups ) {
152 var output = [],
153 toolbar = editor.toolbar;
154
155 for ( var i = 0; i < toolbar.length; ++i ) {
156 var group = dumpToolbarGroup( toolbar[ i ], printGroups );
157 if ( group )
158 output.push( group );
159 }
160
161 return 'config.toolbar' + ( printGroups ? 'Groups' : '' ) + ' = [\n\t' + output.join( ',\n\t' ) + '\n];';
162 }
163
164 function dumpToolbarGroup( group, printGroups ) {
165 var output = [];
166
167 if ( typeof group == 'string' )
168 return '\'' + group + '\'';
169 if ( CKEDITOR.tools.isArray( group ) )
170 return dumpToolbarItems( group );
171 // Skip group when printing entire toolbar configuration and there are no items in this group.
172 if ( !printGroups && !group.items )
173 return;
174
175 if ( group.name )
176 output.push( 'name: \'' + group.name + '\'' );
177
178 if ( group.groups )
179 output.push( 'groups: ' + dumpToolbarItems( group.groups ) );
180
181 if ( !printGroups )
182 output.push( 'items: ' + dumpToolbarItems( group.items ) );
183
184 return '{ ' + output.join( ', ' ) + ' }';
185 }
186
187 function dumpToolbarItems( items ) {
188 if ( typeof items == 'string' )
189 return '\'' + items + '\'';
190
191 var names = [],
192 i, item;
193
194 for ( var i = 0; i < items.length; ++i ) {
195 item = items[ i ];
196 if ( typeof item == 'string' )
197 names.push( item );
198 else {
199 if ( item.type == CKEDITOR.UI_SEPARATOR )
200 names.push( '-' );
201 else
202 names.push( buttonsNames[ item.name ] );
203 }
204 }
205
206 return '[ \'' + names.join( '\', \'' ) + '\' ]';
207 }
208
209 // Creates { 'lowercased': 'LowerCased' } buttons names hash.
210 function createButtonsNamesHash( items ) {
211 var hash = {},
212 name;
213
214 for ( name in items ) {
215 hash[ items[ name ].name ] = name;
216 }
217
218 return hash;
219 }
220
221})();
222 </script>
223
224 <div id="footer">
225 <hr>
226 <p>
227 CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
228 </p>
229 <p id="copy">
230 Copyright &copy; 2003-2017, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
231 Knabben. All rights reserved.
232 </p>
233 </div>
234</body>
235</html>