diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-01-20 00:55:51 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-01-20 00:55:51 +0100 |
commit | c63493c899de714b05b0521bb38aab60d19030ef (patch) | |
tree | fcb2b261afa0f3c2bd6b48929b64724c71192bae /sources/plugins/maximize | |
download | ludivine-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/maximize')
72 files changed, 866 insertions, 0 deletions
diff --git a/sources/plugins/maximize/icons/hidpi/maximize.png b/sources/plugins/maximize/icons/hidpi/maximize.png new file mode 100644 index 0000000..865c582 --- /dev/null +++ b/sources/plugins/maximize/icons/hidpi/maximize.png | |||
Binary files differ | |||
diff --git a/sources/plugins/maximize/icons/maximize.png b/sources/plugins/maximize/icons/maximize.png new file mode 100644 index 0000000..ab25547 --- /dev/null +++ b/sources/plugins/maximize/icons/maximize.png | |||
Binary files differ | |||
diff --git a/sources/plugins/maximize/lang/af.js b/sources/plugins/maximize/lang/af.js new file mode 100644 index 0000000..5f17e23 --- /dev/null +++ b/sources/plugins/maximize/lang/af.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'af', { | ||
6 | maximize: 'Maksimaliseer', | ||
7 | minimize: 'Minimaliseer' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ar.js b/sources/plugins/maximize/lang/ar.js new file mode 100644 index 0000000..cdfb258 --- /dev/null +++ b/sources/plugins/maximize/lang/ar.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ar', { | ||
6 | maximize: 'تكبير', | ||
7 | minimize: 'تصغير' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/az.js b/sources/plugins/maximize/lang/az.js new file mode 100644 index 0000000..d3a92ac --- /dev/null +++ b/sources/plugins/maximize/lang/az.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'az', { | ||
6 | maximize: 'Aşkarla', | ||
7 | minimize: 'Gizlət' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/bg.js b/sources/plugins/maximize/lang/bg.js new file mode 100644 index 0000000..a56e04e --- /dev/null +++ b/sources/plugins/maximize/lang/bg.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'bg', { | ||
6 | maximize: 'Максимизиране', | ||
7 | minimize: 'Минимизиране' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/bn.js b/sources/plugins/maximize/lang/bn.js new file mode 100644 index 0000000..3fd4087 --- /dev/null +++ b/sources/plugins/maximize/lang/bn.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'bn', { | ||
6 | maximize: 'Maximize', // MISSING | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/bs.js b/sources/plugins/maximize/lang/bs.js new file mode 100644 index 0000000..cb49710 --- /dev/null +++ b/sources/plugins/maximize/lang/bs.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'bs', { | ||
6 | maximize: 'Maximize', // MISSING | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ca.js b/sources/plugins/maximize/lang/ca.js new file mode 100644 index 0000000..fc88615 --- /dev/null +++ b/sources/plugins/maximize/lang/ca.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ca', { | ||
6 | maximize: 'Maximitza', | ||
7 | minimize: 'Minimitza' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/cs.js b/sources/plugins/maximize/lang/cs.js new file mode 100644 index 0000000..2234af2 --- /dev/null +++ b/sources/plugins/maximize/lang/cs.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'cs', { | ||
6 | maximize: 'Maximalizovat', | ||
7 | minimize: 'Minimalizovat' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/cy.js b/sources/plugins/maximize/lang/cy.js new file mode 100644 index 0000000..c3370b3 --- /dev/null +++ b/sources/plugins/maximize/lang/cy.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'cy', { | ||
6 | maximize: 'Mwyhau', | ||
7 | minimize: 'Lleihau' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/da.js b/sources/plugins/maximize/lang/da.js new file mode 100644 index 0000000..8dd2d88 --- /dev/null +++ b/sources/plugins/maximize/lang/da.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'da', { | ||
6 | maximize: 'Maksimér', | ||
7 | minimize: 'Minimér' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/de-ch.js b/sources/plugins/maximize/lang/de-ch.js new file mode 100644 index 0000000..440814b --- /dev/null +++ b/sources/plugins/maximize/lang/de-ch.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'de-ch', { | ||
6 | maximize: 'Maximieren', | ||
7 | minimize: 'Minimieren' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/de.js b/sources/plugins/maximize/lang/de.js new file mode 100644 index 0000000..9af6706 --- /dev/null +++ b/sources/plugins/maximize/lang/de.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'de', { | ||
6 | maximize: 'Maximieren', | ||
7 | minimize: 'Minimieren' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/el.js b/sources/plugins/maximize/lang/el.js new file mode 100644 index 0000000..7da1b0b --- /dev/null +++ b/sources/plugins/maximize/lang/el.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'el', { | ||
6 | maximize: 'Μεγιστοποίηση', | ||
7 | minimize: 'Ελαχιστοποίηση' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/en-au.js b/sources/plugins/maximize/lang/en-au.js new file mode 100644 index 0000000..de0310d --- /dev/null +++ b/sources/plugins/maximize/lang/en-au.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'en-au', { | ||
6 | maximize: 'Maximize', | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/en-ca.js b/sources/plugins/maximize/lang/en-ca.js new file mode 100644 index 0000000..1c48ee0 --- /dev/null +++ b/sources/plugins/maximize/lang/en-ca.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'en-ca', { | ||
6 | maximize: 'Maximize', | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/en-gb.js b/sources/plugins/maximize/lang/en-gb.js new file mode 100644 index 0000000..433a065 --- /dev/null +++ b/sources/plugins/maximize/lang/en-gb.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'en-gb', { | ||
6 | maximize: 'Maximise', | ||
7 | minimize: 'Minimise' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/en.js b/sources/plugins/maximize/lang/en.js new file mode 100644 index 0000000..1e45418 --- /dev/null +++ b/sources/plugins/maximize/lang/en.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'en', { | ||
6 | maximize: 'Maximize', | ||
7 | minimize: 'Minimize' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/eo.js b/sources/plugins/maximize/lang/eo.js new file mode 100644 index 0000000..852f529 --- /dev/null +++ b/sources/plugins/maximize/lang/eo.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'eo', { | ||
6 | maximize: 'Pligrandigi', | ||
7 | minimize: 'Malgrandigi' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/es.js b/sources/plugins/maximize/lang/es.js new file mode 100644 index 0000000..411aae5 --- /dev/null +++ b/sources/plugins/maximize/lang/es.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'es', { | ||
6 | maximize: 'Maximizar', | ||
7 | minimize: 'Minimizar' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/et.js b/sources/plugins/maximize/lang/et.js new file mode 100644 index 0000000..1682ec9 --- /dev/null +++ b/sources/plugins/maximize/lang/et.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'et', { | ||
6 | maximize: 'Maksimeerimine', | ||
7 | minimize: 'Minimeerimine' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/eu.js b/sources/plugins/maximize/lang/eu.js new file mode 100644 index 0000000..a25c164 --- /dev/null +++ b/sources/plugins/maximize/lang/eu.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'eu', { | ||
6 | maximize: 'Maximizatu', | ||
7 | minimize: 'Minimizatu' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/fa.js b/sources/plugins/maximize/lang/fa.js new file mode 100644 index 0000000..e08e9ea --- /dev/null +++ b/sources/plugins/maximize/lang/fa.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'fa', { | ||
6 | maximize: 'بیشنه کردن', | ||
7 | minimize: 'کمینه کردن' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/fi.js b/sources/plugins/maximize/lang/fi.js new file mode 100644 index 0000000..763eede --- /dev/null +++ b/sources/plugins/maximize/lang/fi.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'fi', { | ||
6 | maximize: 'Suurenna', | ||
7 | minimize: 'Pienennä' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/fo.js b/sources/plugins/maximize/lang/fo.js new file mode 100644 index 0000000..635415a --- /dev/null +++ b/sources/plugins/maximize/lang/fo.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'fo', { | ||
6 | maximize: 'Maksimera', | ||
7 | minimize: 'Minimera' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/fr-ca.js b/sources/plugins/maximize/lang/fr-ca.js new file mode 100644 index 0000000..59ed278 --- /dev/null +++ b/sources/plugins/maximize/lang/fr-ca.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'fr-ca', { | ||
6 | maximize: 'Maximizer', | ||
7 | minimize: 'Minimizer' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/fr.js b/sources/plugins/maximize/lang/fr.js new file mode 100644 index 0000000..cb3d4dd --- /dev/null +++ b/sources/plugins/maximize/lang/fr.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'fr', { | ||
6 | maximize: 'Agrandir', | ||
7 | minimize: 'Réduire' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/gl.js b/sources/plugins/maximize/lang/gl.js new file mode 100644 index 0000000..79009f8 --- /dev/null +++ b/sources/plugins/maximize/lang/gl.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'gl', { | ||
6 | maximize: 'Maximizar', | ||
7 | minimize: 'Minimizar' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/gu.js b/sources/plugins/maximize/lang/gu.js new file mode 100644 index 0000000..bbd4b52 --- /dev/null +++ b/sources/plugins/maximize/lang/gu.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'gu', { | ||
6 | maximize: 'મોટું કરવું', | ||
7 | minimize: 'નાનું કરવું' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/he.js b/sources/plugins/maximize/lang/he.js new file mode 100644 index 0000000..d46856b --- /dev/null +++ b/sources/plugins/maximize/lang/he.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'he', { | ||
6 | maximize: 'הגדלה למקסימום', | ||
7 | minimize: 'הקטנה למינימום' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/hi.js b/sources/plugins/maximize/lang/hi.js new file mode 100644 index 0000000..76b0c0c --- /dev/null +++ b/sources/plugins/maximize/lang/hi.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'hi', { | ||
6 | maximize: 'मेक्सिमाईज़', | ||
7 | minimize: 'मिनिमाईज़' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/hr.js b/sources/plugins/maximize/lang/hr.js new file mode 100644 index 0000000..4b7a7b3 --- /dev/null +++ b/sources/plugins/maximize/lang/hr.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'hr', { | ||
6 | maximize: 'Povećaj', | ||
7 | minimize: 'Smanji' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/hu.js b/sources/plugins/maximize/lang/hu.js new file mode 100644 index 0000000..3e11e22 --- /dev/null +++ b/sources/plugins/maximize/lang/hu.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'hu', { | ||
6 | maximize: 'Teljes méret', | ||
7 | minimize: 'Kis méret' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/id.js b/sources/plugins/maximize/lang/id.js new file mode 100644 index 0000000..1a32383 --- /dev/null +++ b/sources/plugins/maximize/lang/id.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'id', { | ||
6 | maximize: 'Memperbesar', | ||
7 | minimize: 'Memperkecil' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/is.js b/sources/plugins/maximize/lang/is.js new file mode 100644 index 0000000..dec813f --- /dev/null +++ b/sources/plugins/maximize/lang/is.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'is', { | ||
6 | maximize: 'Maximize', // MISSING | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/it.js b/sources/plugins/maximize/lang/it.js new file mode 100644 index 0000000..67a8a29 --- /dev/null +++ b/sources/plugins/maximize/lang/it.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'it', { | ||
6 | maximize: 'Massimizza', | ||
7 | minimize: 'Minimizza' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ja.js b/sources/plugins/maximize/lang/ja.js new file mode 100644 index 0000000..33184da --- /dev/null +++ b/sources/plugins/maximize/lang/ja.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ja', { | ||
6 | maximize: '最大化', | ||
7 | minimize: '最小化' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ka.js b/sources/plugins/maximize/lang/ka.js new file mode 100644 index 0000000..a90fb04 --- /dev/null +++ b/sources/plugins/maximize/lang/ka.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ka', { | ||
6 | maximize: 'გადიდება', | ||
7 | minimize: 'დაპატარავება' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/km.js b/sources/plugins/maximize/lang/km.js new file mode 100644 index 0000000..4cda2db --- /dev/null +++ b/sources/plugins/maximize/lang/km.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'km', { | ||
6 | maximize: 'ពង្រីកអតិបរមា', | ||
7 | minimize: 'បង្រួមអប្បបរមា' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ko.js b/sources/plugins/maximize/lang/ko.js new file mode 100644 index 0000000..f4af9d4 --- /dev/null +++ b/sources/plugins/maximize/lang/ko.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ko', { | ||
6 | maximize: '최대화', | ||
7 | minimize: '최소화' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ku.js b/sources/plugins/maximize/lang/ku.js new file mode 100644 index 0000000..d34e588 --- /dev/null +++ b/sources/plugins/maximize/lang/ku.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ku', { | ||
6 | maximize: 'ئەوپەڕی گەورەیی', | ||
7 | minimize: 'ئەوپەڕی بچووکی' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/lt.js b/sources/plugins/maximize/lang/lt.js new file mode 100644 index 0000000..064291b --- /dev/null +++ b/sources/plugins/maximize/lang/lt.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'lt', { | ||
6 | maximize: 'Išdidinti', | ||
7 | minimize: 'Sumažinti' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/lv.js b/sources/plugins/maximize/lang/lv.js new file mode 100644 index 0000000..afbbbbe --- /dev/null +++ b/sources/plugins/maximize/lang/lv.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'lv', { | ||
6 | maximize: 'Maksimizēt', | ||
7 | minimize: 'Minimizēt' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/mk.js b/sources/plugins/maximize/lang/mk.js new file mode 100644 index 0000000..69fcfe9 --- /dev/null +++ b/sources/plugins/maximize/lang/mk.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'mk', { | ||
6 | maximize: 'Maximize', // MISSING | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/mn.js b/sources/plugins/maximize/lang/mn.js new file mode 100644 index 0000000..6c4a076 --- /dev/null +++ b/sources/plugins/maximize/lang/mn.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'mn', { | ||
6 | maximize: 'Дэлгэц дүүргэх', | ||
7 | minimize: 'Цонхыг багсгаж харуулах' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ms.js b/sources/plugins/maximize/lang/ms.js new file mode 100644 index 0000000..0f27d91 --- /dev/null +++ b/sources/plugins/maximize/lang/ms.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ms', { | ||
6 | maximize: 'Maximize', // MISSING | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/nb.js b/sources/plugins/maximize/lang/nb.js new file mode 100644 index 0000000..a8ec9dd --- /dev/null +++ b/sources/plugins/maximize/lang/nb.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'nb', { | ||
6 | maximize: 'Maksimer', | ||
7 | minimize: 'Minimer' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/nl.js b/sources/plugins/maximize/lang/nl.js new file mode 100644 index 0000000..978bda0 --- /dev/null +++ b/sources/plugins/maximize/lang/nl.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'nl', { | ||
6 | maximize: 'Maximaliseren', | ||
7 | minimize: 'Minimaliseren' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/no.js b/sources/plugins/maximize/lang/no.js new file mode 100644 index 0000000..02afe8a --- /dev/null +++ b/sources/plugins/maximize/lang/no.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'no', { | ||
6 | maximize: 'Maksimer', | ||
7 | minimize: 'Minimer' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/oc.js b/sources/plugins/maximize/lang/oc.js new file mode 100644 index 0000000..cbd94a4 --- /dev/null +++ b/sources/plugins/maximize/lang/oc.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'oc', { | ||
6 | maximize: 'Maximizar', | ||
7 | minimize: 'Minimizar' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/pl.js b/sources/plugins/maximize/lang/pl.js new file mode 100644 index 0000000..1bf6d07 --- /dev/null +++ b/sources/plugins/maximize/lang/pl.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'pl', { | ||
6 | maximize: 'Maksymalizuj', | ||
7 | minimize: 'Minimalizuj' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/pt-br.js b/sources/plugins/maximize/lang/pt-br.js new file mode 100644 index 0000000..e5c2a52 --- /dev/null +++ b/sources/plugins/maximize/lang/pt-br.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'pt-br', { | ||
6 | maximize: 'Maximizar', | ||
7 | minimize: 'Minimize' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/pt.js b/sources/plugins/maximize/lang/pt.js new file mode 100644 index 0000000..a379036 --- /dev/null +++ b/sources/plugins/maximize/lang/pt.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'pt', { | ||
6 | maximize: 'Maximizar', | ||
7 | minimize: 'Minimizar' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ro.js b/sources/plugins/maximize/lang/ro.js new file mode 100644 index 0000000..0a3ded6 --- /dev/null +++ b/sources/plugins/maximize/lang/ro.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ro', { | ||
6 | maximize: 'Mărește', | ||
7 | minimize: 'Micșorează' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ru.js b/sources/plugins/maximize/lang/ru.js new file mode 100644 index 0000000..30c491a --- /dev/null +++ b/sources/plugins/maximize/lang/ru.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ru', { | ||
6 | maximize: 'Развернуть', | ||
7 | minimize: 'Свернуть' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/si.js b/sources/plugins/maximize/lang/si.js new file mode 100644 index 0000000..a0331ab --- /dev/null +++ b/sources/plugins/maximize/lang/si.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'si', { | ||
6 | maximize: 'විශාල කිරීම', | ||
7 | minimize: 'කුඩා කිරීම' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/sk.js b/sources/plugins/maximize/lang/sk.js new file mode 100644 index 0000000..a9f2515 --- /dev/null +++ b/sources/plugins/maximize/lang/sk.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'sk', { | ||
6 | maximize: 'Maximalizovať', | ||
7 | minimize: 'Minimalizovať' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/sl.js b/sources/plugins/maximize/lang/sl.js new file mode 100644 index 0000000..73d5e91 --- /dev/null +++ b/sources/plugins/maximize/lang/sl.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'sl', { | ||
6 | maximize: 'Maksimiraj', | ||
7 | minimize: 'Minimiraj' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/sq.js b/sources/plugins/maximize/lang/sq.js new file mode 100644 index 0000000..e6b5bc3 --- /dev/null +++ b/sources/plugins/maximize/lang/sq.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'sq', { | ||
6 | maximize: 'Zmadho', | ||
7 | minimize: 'Zvogëlo' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/sr-latn.js b/sources/plugins/maximize/lang/sr-latn.js new file mode 100644 index 0000000..33dcd9e --- /dev/null +++ b/sources/plugins/maximize/lang/sr-latn.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'sr-latn', { | ||
6 | maximize: 'Maximize', // MISSING | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/sr.js b/sources/plugins/maximize/lang/sr.js new file mode 100644 index 0000000..f1ef2d1 --- /dev/null +++ b/sources/plugins/maximize/lang/sr.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'sr', { | ||
6 | maximize: 'Maximize', // MISSING | ||
7 | minimize: 'Minimize' // MISSING | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/sv.js b/sources/plugins/maximize/lang/sv.js new file mode 100644 index 0000000..d14fb84 --- /dev/null +++ b/sources/plugins/maximize/lang/sv.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'sv', { | ||
6 | maximize: 'Maximera', | ||
7 | minimize: 'Minimera' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/th.js b/sources/plugins/maximize/lang/th.js new file mode 100644 index 0000000..df09eef --- /dev/null +++ b/sources/plugins/maximize/lang/th.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'th', { | ||
6 | maximize: 'ขยายใหญ่', | ||
7 | minimize: 'ย่อขนาด' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/tr.js b/sources/plugins/maximize/lang/tr.js new file mode 100644 index 0000000..90724f4 --- /dev/null +++ b/sources/plugins/maximize/lang/tr.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'tr', { | ||
6 | maximize: 'Büyült', | ||
7 | minimize: 'Küçült' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/tt.js b/sources/plugins/maximize/lang/tt.js new file mode 100644 index 0000000..cc92021 --- /dev/null +++ b/sources/plugins/maximize/lang/tt.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'tt', { | ||
6 | maximize: 'Зурайту', | ||
7 | minimize: 'Кечерәйтү' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/ug.js b/sources/plugins/maximize/lang/ug.js new file mode 100644 index 0000000..85af046 --- /dev/null +++ b/sources/plugins/maximize/lang/ug.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'ug', { | ||
6 | maximize: 'چوڭايت', | ||
7 | minimize: 'كىچىكلەت' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/uk.js b/sources/plugins/maximize/lang/uk.js new file mode 100644 index 0000000..5ca1021 --- /dev/null +++ b/sources/plugins/maximize/lang/uk.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'uk', { | ||
6 | maximize: 'Максимізувати', | ||
7 | minimize: 'Мінімізувати' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/vi.js b/sources/plugins/maximize/lang/vi.js new file mode 100644 index 0000000..4ab3a6b --- /dev/null +++ b/sources/plugins/maximize/lang/vi.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'vi', { | ||
6 | maximize: 'Phóng to tối đa', | ||
7 | minimize: 'Thu nhỏ' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/zh-cn.js b/sources/plugins/maximize/lang/zh-cn.js new file mode 100644 index 0000000..f4ddf72 --- /dev/null +++ b/sources/plugins/maximize/lang/zh-cn.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'zh-cn', { | ||
6 | maximize: '全屏', | ||
7 | minimize: '最小化' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/lang/zh.js b/sources/plugins/maximize/lang/zh.js new file mode 100644 index 0000000..6bca434 --- /dev/null +++ b/sources/plugins/maximize/lang/zh.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'maximize', 'zh', { | ||
6 | maximize: '最大化', | ||
7 | minimize: '最小化' | ||
8 | } ); | ||
diff --git a/sources/plugins/maximize/plugin.js b/sources/plugins/maximize/plugin.js new file mode 100644 index 0000000..16967a0 --- /dev/null +++ b/sources/plugins/maximize/plugin.js | |||
@@ -0,0 +1,314 @@ | |||
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 | ( function() { | ||
7 | function protectFormStyles( formElement ) { | ||
8 | if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' ) | ||
9 | return []; | ||
10 | |||
11 | var hijackRecord = [], | ||
12 | hijackNames = [ 'style', 'className' ]; | ||
13 | for ( var i = 0; i < hijackNames.length; i++ ) { | ||
14 | var name = hijackNames[ i ]; | ||
15 | var $node = formElement.$.elements.namedItem( name ); | ||
16 | if ( $node ) { | ||
17 | var hijackNode = new CKEDITOR.dom.element( $node ); | ||
18 | hijackRecord.push( [ hijackNode, hijackNode.nextSibling ] ); | ||
19 | hijackNode.remove(); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | return hijackRecord; | ||
24 | } | ||
25 | |||
26 | function restoreFormStyles( formElement, hijackRecord ) { | ||
27 | if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' ) | ||
28 | return; | ||
29 | |||
30 | if ( hijackRecord.length > 0 ) { | ||
31 | for ( var i = hijackRecord.length - 1; i >= 0; i-- ) { | ||
32 | var node = hijackRecord[ i ][ 0 ]; | ||
33 | var sibling = hijackRecord[ i ][ 1 ]; | ||
34 | if ( sibling ) | ||
35 | node.insertBefore( sibling ); | ||
36 | else | ||
37 | node.appendTo( formElement ); | ||
38 | } | ||
39 | } | ||
40 | } | ||
41 | |||
42 | function saveStyles( element, isInsideEditor ) { | ||
43 | var data = protectFormStyles( element ); | ||
44 | var retval = {}; | ||
45 | |||
46 | var $element = element.$; | ||
47 | |||
48 | if ( !isInsideEditor ) { | ||
49 | retval[ 'class' ] = $element.className || ''; | ||
50 | $element.className = ''; | ||
51 | } | ||
52 | |||
53 | retval.inline = $element.style.cssText || ''; | ||
54 | if ( !isInsideEditor ) // Reset any external styles that might interfere. (#2474) | ||
55 | $element.style.cssText = 'position: static; overflow: visible'; | ||
56 | |||
57 | restoreFormStyles( data ); | ||
58 | return retval; | ||
59 | } | ||
60 | |||
61 | function restoreStyles( element, savedStyles ) { | ||
62 | var data = protectFormStyles( element ); | ||
63 | var $element = element.$; | ||
64 | if ( 'class' in savedStyles ) | ||
65 | $element.className = savedStyles[ 'class' ]; | ||
66 | if ( 'inline' in savedStyles ) | ||
67 | $element.style.cssText = savedStyles.inline; | ||
68 | restoreFormStyles( data ); | ||
69 | } | ||
70 | |||
71 | function refreshCursor( editor ) { | ||
72 | if ( editor.editable().isInline() ) | ||
73 | return; | ||
74 | |||
75 | // Refresh all editor instances on the page (#5724). | ||
76 | var all = CKEDITOR.instances; | ||
77 | for ( var i in all ) { | ||
78 | var one = all[ i ]; | ||
79 | if ( one.mode == 'wysiwyg' && !one.readOnly ) { | ||
80 | var body = one.document.getBody(); | ||
81 | // Refresh 'contentEditable' otherwise | ||
82 | // DOM lifting breaks design mode. (#5560) | ||
83 | body.setAttribute( 'contentEditable', false ); | ||
84 | body.setAttribute( 'contentEditable', true ); | ||
85 | } | ||
86 | } | ||
87 | |||
88 | if ( editor.editable().hasFocus ) { | ||
89 | editor.toolbox.focus(); | ||
90 | editor.focus(); | ||
91 | } | ||
92 | } | ||
93 | |||
94 | CKEDITOR.plugins.add( 'maximize', { | ||
95 | // jscs:disable maximumLineLength | ||
96 | 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% | ||
97 | // jscs:enable maximumLineLength | ||
98 | icons: 'maximize', // %REMOVE_LINE_CORE% | ||
99 | hidpi: true, // %REMOVE_LINE_CORE% | ||
100 | init: function( editor ) { | ||
101 | // Maximize plugin isn't available in inline mode yet. | ||
102 | if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ) | ||
103 | return; | ||
104 | |||
105 | var lang = editor.lang; | ||
106 | var mainDocument = CKEDITOR.document, | ||
107 | mainWindow = mainDocument.getWindow(); | ||
108 | |||
109 | // Saved selection and scroll position for the editing area. | ||
110 | var savedSelection, savedScroll; | ||
111 | |||
112 | // Saved scroll position for the outer window. | ||
113 | var outerScroll; | ||
114 | |||
115 | // Saved resize handler function. | ||
116 | function resizeHandler() { | ||
117 | var viewPaneSize = mainWindow.getViewPaneSize(); | ||
118 | editor.resize( viewPaneSize.width, viewPaneSize.height, null, true ); | ||
119 | } | ||
120 | |||
121 | // Retain state after mode switches. | ||
122 | var savedState = CKEDITOR.TRISTATE_OFF; | ||
123 | |||
124 | editor.addCommand( 'maximize', { | ||
125 | // Disabled on iOS (#8307). | ||
126 | modes: { wysiwyg: !CKEDITOR.env.iOS, source: !CKEDITOR.env.iOS }, | ||
127 | readOnly: 1, | ||
128 | editorFocus: false, | ||
129 | exec: function() { | ||
130 | var container = editor.container.getFirst( function( node ) { | ||
131 | return node.type == CKEDITOR.NODE_ELEMENT && node.hasClass( 'cke_inner' ); | ||
132 | } ); | ||
133 | var contents = editor.ui.space( 'contents' ); | ||
134 | |||
135 | // Save current selection and scroll position in editing area. | ||
136 | if ( editor.mode == 'wysiwyg' ) { | ||
137 | var selection = editor.getSelection(); | ||
138 | savedSelection = selection && selection.getRanges(); | ||
139 | savedScroll = mainWindow.getScrollPosition(); | ||
140 | } else { | ||
141 | var $textarea = editor.editable().$; | ||
142 | savedSelection = !CKEDITOR.env.ie && [ $textarea.selectionStart, $textarea.selectionEnd ]; | ||
143 | savedScroll = [ $textarea.scrollLeft, $textarea.scrollTop ]; | ||
144 | } | ||
145 | |||
146 | // Go fullscreen if the state is off. | ||
147 | if ( this.state == CKEDITOR.TRISTATE_OFF ) { | ||
148 | // Add event handler for resizing. | ||
149 | mainWindow.on( 'resize', resizeHandler ); | ||
150 | |||
151 | // Save the scroll bar position. | ||
152 | outerScroll = mainWindow.getScrollPosition(); | ||
153 | |||
154 | // Save and reset the styles for the entire node tree. | ||
155 | var currentNode = editor.container; | ||
156 | while ( ( currentNode = currentNode.getParent() ) ) { | ||
157 | currentNode.setCustomData( 'maximize_saved_styles', saveStyles( currentNode ) ); | ||
158 | // Show under floatpanels (-1) and context menu (-2). | ||
159 | currentNode.setStyle( 'z-index', editor.config.baseFloatZIndex - 5 ); | ||
160 | } | ||
161 | contents.setCustomData( 'maximize_saved_styles', saveStyles( contents, true ) ); | ||
162 | container.setCustomData( 'maximize_saved_styles', saveStyles( container, true ) ); | ||
163 | |||
164 | // Hide scroll bars. | ||
165 | var styles = { | ||
166 | overflow: CKEDITOR.env.webkit ? '' : 'hidden', // #6896 | ||
167 | width: 0, | ||
168 | height: 0 | ||
169 | }; | ||
170 | |||
171 | mainDocument.getDocumentElement().setStyles( styles ); | ||
172 | !CKEDITOR.env.gecko && mainDocument.getDocumentElement().setStyle( 'position', 'fixed' ); | ||
173 | !( CKEDITOR.env.gecko && CKEDITOR.env.quirks ) && mainDocument.getBody().setStyles( styles ); | ||
174 | |||
175 | // Scroll to the top left (IE needs some time for it - #4923). | ||
176 | CKEDITOR.env.ie ? setTimeout( function() { | ||
177 | mainWindow.$.scrollTo( 0, 0 ); | ||
178 | }, 0 ) : mainWindow.$.scrollTo( 0, 0 ); | ||
179 | |||
180 | // Resize and move to top left. | ||
181 | // Special treatment for FF Quirks (#7284) | ||
182 | container.setStyle( 'position', CKEDITOR.env.gecko && CKEDITOR.env.quirks ? 'fixed' : 'absolute' ); | ||
183 | container.$.offsetLeft; // SAFARI BUG: See #2066. | ||
184 | container.setStyles( { | ||
185 | // Show under floatpanels (-1) and context menu (-2). | ||
186 | 'z-index': editor.config.baseFloatZIndex - 5, | ||
187 | left: '0px', | ||
188 | top: '0px' | ||
189 | } ); | ||
190 | |||
191 | // Add cke_maximized class before resize handle since that will change things sizes (#5580) | ||
192 | container.addClass( 'cke_maximized' ); | ||
193 | |||
194 | resizeHandler(); | ||
195 | |||
196 | // Still not top left? Fix it. (Bug #174) | ||
197 | var offset = container.getDocumentPosition(); | ||
198 | container.setStyles( { | ||
199 | left: ( -1 * offset.x ) + 'px', | ||
200 | top: ( -1 * offset.y ) + 'px' | ||
201 | } ); | ||
202 | |||
203 | // Fixing positioning editor chrome in Firefox break design mode. (#5149) | ||
204 | CKEDITOR.env.gecko && refreshCursor( editor ); | ||
205 | } | ||
206 | // Restore from fullscreen if the state is on. | ||
207 | else if ( this.state == CKEDITOR.TRISTATE_ON ) { | ||
208 | // Remove event handler for resizing. | ||
209 | mainWindow.removeListener( 'resize', resizeHandler ); | ||
210 | |||
211 | // Restore CSS styles for the entire node tree. | ||
212 | var editorElements = [ contents, container ]; | ||
213 | for ( var i = 0; i < editorElements.length; i++ ) { | ||
214 | restoreStyles( editorElements[ i ], editorElements[ i ].getCustomData( 'maximize_saved_styles' ) ); | ||
215 | editorElements[ i ].removeCustomData( 'maximize_saved_styles' ); | ||
216 | } | ||
217 | |||
218 | currentNode = editor.container; | ||
219 | while ( ( currentNode = currentNode.getParent() ) ) { | ||
220 | restoreStyles( currentNode, currentNode.getCustomData( 'maximize_saved_styles' ) ); | ||
221 | currentNode.removeCustomData( 'maximize_saved_styles' ); | ||
222 | } | ||
223 | |||
224 | // Restore the window scroll position. | ||
225 | CKEDITOR.env.ie ? setTimeout( function() { | ||
226 | mainWindow.$.scrollTo( outerScroll.x, outerScroll.y ); | ||
227 | }, 0 ) : mainWindow.$.scrollTo( outerScroll.x, outerScroll.y ); | ||
228 | |||
229 | // Remove cke_maximized class. | ||
230 | container.removeClass( 'cke_maximized' ); | ||
231 | |||
232 | // Webkit requires a re-layout on editor chrome. (#6695) | ||
233 | if ( CKEDITOR.env.webkit ) { | ||
234 | container.setStyle( 'display', 'inline' ); | ||
235 | setTimeout( function() { | ||
236 | container.setStyle( 'display', 'block' ); | ||
237 | }, 0 ); | ||
238 | } | ||
239 | |||
240 | // Emit a resize event, because this time the size is modified in | ||
241 | // restoreStyles. | ||
242 | editor.fire( 'resize', { | ||
243 | outerHeight: editor.container.$.offsetHeight, | ||
244 | contentsHeight: contents.$.offsetHeight, | ||
245 | outerWidth: editor.container.$.offsetWidth | ||
246 | } ); | ||
247 | } | ||
248 | |||
249 | this.toggleState(); | ||
250 | |||
251 | // Toggle button label. | ||
252 | var button = this.uiItems[ 0 ]; | ||
253 | // Only try to change the button if it exists (#6166) | ||
254 | if ( button ) { | ||
255 | var label = ( this.state == CKEDITOR.TRISTATE_OFF ) ? lang.maximize.maximize : lang.maximize.minimize; | ||
256 | var buttonNode = CKEDITOR.document.getById( button._.id ); | ||
257 | buttonNode.getChild( 1 ).setHtml( label ); | ||
258 | buttonNode.setAttribute( 'title', label ); | ||
259 | buttonNode.setAttribute( 'href', 'javascript:void("' + label + '");' ); // jshint ignore:line | ||
260 | } | ||
261 | |||
262 | // Restore selection and scroll position in editing area. | ||
263 | if ( editor.mode == 'wysiwyg' ) { | ||
264 | if ( savedSelection ) { | ||
265 | // Fixing positioning editor chrome in Firefox break design mode. (#5149) | ||
266 | CKEDITOR.env.gecko && refreshCursor( editor ); | ||
267 | |||
268 | editor.getSelection().selectRanges( savedSelection ); | ||
269 | var element = editor.getSelection().getStartElement(); | ||
270 | element && element.scrollIntoView( true ); | ||
271 | } else { | ||
272 | mainWindow.$.scrollTo( savedScroll.x, savedScroll.y ); | ||
273 | } | ||
274 | } else { | ||
275 | if ( savedSelection ) { | ||
276 | $textarea.selectionStart = savedSelection[ 0 ]; | ||
277 | $textarea.selectionEnd = savedSelection[ 1 ]; | ||
278 | } | ||
279 | $textarea.scrollLeft = savedScroll[ 0 ]; | ||
280 | $textarea.scrollTop = savedScroll[ 1 ]; | ||
281 | } | ||
282 | |||
283 | savedSelection = savedScroll = null; | ||
284 | savedState = this.state; | ||
285 | |||
286 | editor.fire( 'maximize', this.state ); | ||
287 | }, | ||
288 | canUndo: false | ||
289 | } ); | ||
290 | |||
291 | editor.ui.addButton && editor.ui.addButton( 'Maximize', { | ||
292 | label: lang.maximize.maximize, | ||
293 | command: 'maximize', | ||
294 | toolbar: 'tools,10' | ||
295 | } ); | ||
296 | |||
297 | // Restore the command state after mode change, unless it has been changed to disabled (#6467) | ||
298 | editor.on( 'mode', function() { | ||
299 | var command = editor.getCommand( 'maximize' ); | ||
300 | command.setState( command.state == CKEDITOR.TRISTATE_DISABLED ? CKEDITOR.TRISTATE_DISABLED : savedState ); | ||
301 | }, null, null, 100 ); | ||
302 | } | ||
303 | } ); | ||
304 | } )(); | ||
305 | |||
306 | /** | ||
307 | * Event fired when the maximize command is called. | ||
308 | * It also indicates whether an editor is maximized or not. | ||
309 | * | ||
310 | * @event maximize | ||
311 | * @member CKEDITOR.editor | ||
312 | * @param {CKEDITOR.editor} editor This editor instance. | ||
313 | * @param {Number} data Current state of the command. See {@link CKEDITOR#TRISTATE_ON} and {@link CKEDITOR#TRISTATE_OFF}. | ||
314 | */ | ||