diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-01-25 17:45:33 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-01-25 18:00:33 +0100 |
commit | 7adcb81e4f83f98c468889aaa5a85558ba88c770 (patch) | |
tree | 0d6ede733777b29060b48df4afaa2c64bfbae276 /sources/plugins/justify | |
download | connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.gz connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.zst connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.zip |
Initial commit4.5.6
Diffstat (limited to 'sources/plugins/justify')
75 files changed, 905 insertions, 0 deletions
diff --git a/sources/plugins/justify/icons/hidpi/justifyblock.png b/sources/plugins/justify/icons/hidpi/justifyblock.png new file mode 100644 index 00000000..7209fd41 --- /dev/null +++ b/sources/plugins/justify/icons/hidpi/justifyblock.png | |||
Binary files differ | |||
diff --git a/sources/plugins/justify/icons/hidpi/justifycenter.png b/sources/plugins/justify/icons/hidpi/justifycenter.png new file mode 100644 index 00000000..365e3205 --- /dev/null +++ b/sources/plugins/justify/icons/hidpi/justifycenter.png | |||
Binary files differ | |||
diff --git a/sources/plugins/justify/icons/hidpi/justifyleft.png b/sources/plugins/justify/icons/hidpi/justifyleft.png new file mode 100644 index 00000000..75308c12 --- /dev/null +++ b/sources/plugins/justify/icons/hidpi/justifyleft.png | |||
Binary files differ | |||
diff --git a/sources/plugins/justify/icons/hidpi/justifyright.png b/sources/plugins/justify/icons/hidpi/justifyright.png new file mode 100644 index 00000000..de7c3d45 --- /dev/null +++ b/sources/plugins/justify/icons/hidpi/justifyright.png | |||
Binary files differ | |||
diff --git a/sources/plugins/justify/icons/justifyblock.png b/sources/plugins/justify/icons/justifyblock.png new file mode 100644 index 00000000..a507be1b --- /dev/null +++ b/sources/plugins/justify/icons/justifyblock.png | |||
Binary files differ | |||
diff --git a/sources/plugins/justify/icons/justifycenter.png b/sources/plugins/justify/icons/justifycenter.png new file mode 100644 index 00000000..f758bc42 --- /dev/null +++ b/sources/plugins/justify/icons/justifycenter.png | |||
Binary files differ | |||
diff --git a/sources/plugins/justify/icons/justifyleft.png b/sources/plugins/justify/icons/justifyleft.png new file mode 100644 index 00000000..542ddee3 --- /dev/null +++ b/sources/plugins/justify/icons/justifyleft.png | |||
Binary files differ | |||
diff --git a/sources/plugins/justify/icons/justifyright.png b/sources/plugins/justify/icons/justifyright.png new file mode 100644 index 00000000..71a983c9 --- /dev/null +++ b/sources/plugins/justify/icons/justifyright.png | |||
Binary files differ | |||
diff --git a/sources/plugins/justify/lang/af.js b/sources/plugins/justify/lang/af.js new file mode 100644 index 00000000..5c427be2 --- /dev/null +++ b/sources/plugins/justify/lang/af.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'af', { | ||
6 | block: 'Uitvul', | ||
7 | center: 'Sentreer', | ||
8 | left: 'Links oplyn', | ||
9 | right: 'Regs oplyn' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ar.js b/sources/plugins/justify/lang/ar.js new file mode 100644 index 00000000..b71602da --- /dev/null +++ b/sources/plugins/justify/lang/ar.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ar', { | ||
6 | block: 'ضبط', | ||
7 | center: 'توسيط', | ||
8 | left: 'محاذاة إلى اليسار', | ||
9 | right: 'محاذاة إلى اليمين' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/bg.js b/sources/plugins/justify/lang/bg.js new file mode 100644 index 00000000..9c292f59 --- /dev/null +++ b/sources/plugins/justify/lang/bg.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'bg', { | ||
6 | block: 'Двустранно подравняване', | ||
7 | center: 'Център', | ||
8 | left: 'Подравни в ляво', | ||
9 | right: 'Подравни в дясно' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/bn.js b/sources/plugins/justify/lang/bn.js new file mode 100644 index 00000000..6db6d790 --- /dev/null +++ b/sources/plugins/justify/lang/bn.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'bn', { | ||
6 | block: 'ব্লক জাস্টিফাই', | ||
7 | center: 'মাঝ বরাবর ঘেষা', | ||
8 | left: 'বা দিকে ঘেঁষা', | ||
9 | right: 'ডান দিকে ঘেঁষা' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/bs.js b/sources/plugins/justify/lang/bs.js new file mode 100644 index 00000000..c8c05a66 --- /dev/null +++ b/sources/plugins/justify/lang/bs.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'bs', { | ||
6 | block: 'Puno poravnanje', | ||
7 | center: 'Centralno poravnanje', | ||
8 | left: 'Lijevo poravnanje', | ||
9 | right: 'Desno poravnanje' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ca.js b/sources/plugins/justify/lang/ca.js new file mode 100644 index 00000000..19fd7ff5 --- /dev/null +++ b/sources/plugins/justify/lang/ca.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ca', { | ||
6 | block: 'Justificat', | ||
7 | center: 'Centrat', | ||
8 | left: 'Alinea a l\'esquerra', | ||
9 | right: 'Alinea a la dreta' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/cs.js b/sources/plugins/justify/lang/cs.js new file mode 100644 index 00000000..2463cde9 --- /dev/null +++ b/sources/plugins/justify/lang/cs.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'cs', { | ||
6 | block: 'Zarovnat do bloku', | ||
7 | center: 'Zarovnat na střed', | ||
8 | left: 'Zarovnat vlevo', | ||
9 | right: 'Zarovnat vpravo' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/cy.js b/sources/plugins/justify/lang/cy.js new file mode 100644 index 00000000..95b8ac39 --- /dev/null +++ b/sources/plugins/justify/lang/cy.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'cy', { | ||
6 | block: 'Unioni', | ||
7 | center: 'Alinio i\'r Canol', | ||
8 | left: 'Alinio i\'r Chwith', | ||
9 | right: 'Alinio i\'r Dde' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/da.js b/sources/plugins/justify/lang/da.js new file mode 100644 index 00000000..433e127b --- /dev/null +++ b/sources/plugins/justify/lang/da.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'da', { | ||
6 | block: 'Lige margener', | ||
7 | center: 'Centreret', | ||
8 | left: 'Venstrestillet', | ||
9 | right: 'Højrestillet' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/de.js b/sources/plugins/justify/lang/de.js new file mode 100644 index 00000000..d1d5ba3a --- /dev/null +++ b/sources/plugins/justify/lang/de.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'de', { | ||
6 | block: 'Blocksatz', | ||
7 | center: 'Zentriert', | ||
8 | left: 'Linksbündig', | ||
9 | right: 'Rechtsbündig' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/el.js b/sources/plugins/justify/lang/el.js new file mode 100644 index 00000000..9930e3a0 --- /dev/null +++ b/sources/plugins/justify/lang/el.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'el', { | ||
6 | block: 'Πλήρης Στοίχιση', | ||
7 | center: 'Στο Κέντρο', | ||
8 | left: 'Στοίχιση Αριστερά', | ||
9 | right: 'Στοίχιση Δεξιά' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/en-au.js b/sources/plugins/justify/lang/en-au.js new file mode 100644 index 00000000..76019272 --- /dev/null +++ b/sources/plugins/justify/lang/en-au.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'en-au', { | ||
6 | block: 'Justify', | ||
7 | center: 'Centre', | ||
8 | left: 'Align Left', | ||
9 | right: 'Align Right' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/en-ca.js b/sources/plugins/justify/lang/en-ca.js new file mode 100644 index 00000000..b97a749c --- /dev/null +++ b/sources/plugins/justify/lang/en-ca.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'en-ca', { | ||
6 | block: 'Justify', | ||
7 | center: 'Centre', | ||
8 | left: 'Align Left', | ||
9 | right: 'Align Right' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/en-gb.js b/sources/plugins/justify/lang/en-gb.js new file mode 100644 index 00000000..66c27864 --- /dev/null +++ b/sources/plugins/justify/lang/en-gb.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'en-gb', { | ||
6 | block: 'Justify', | ||
7 | center: 'Centre', | ||
8 | left: 'Align Left', | ||
9 | right: 'Align Right' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/en.js b/sources/plugins/justify/lang/en.js new file mode 100644 index 00000000..c8054a66 --- /dev/null +++ b/sources/plugins/justify/lang/en.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'en', { | ||
6 | block: 'Justify', | ||
7 | center: 'Center', | ||
8 | left: 'Align Left', | ||
9 | right: 'Align Right' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/eo.js b/sources/plugins/justify/lang/eo.js new file mode 100644 index 00000000..9dc56c1e --- /dev/null +++ b/sources/plugins/justify/lang/eo.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'eo', { | ||
6 | block: 'Ĝisrandigi Ambaŭflanke', | ||
7 | center: 'Centrigi', | ||
8 | left: 'Ĝisrandigi maldekstren', | ||
9 | right: 'Ĝisrandigi dekstren' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/es.js b/sources/plugins/justify/lang/es.js new file mode 100644 index 00000000..1c26ef40 --- /dev/null +++ b/sources/plugins/justify/lang/es.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'es', { | ||
6 | block: 'Justificado', | ||
7 | center: 'Centrar', | ||
8 | left: 'Alinear a Izquierda', | ||
9 | right: 'Alinear a Derecha' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/et.js b/sources/plugins/justify/lang/et.js new file mode 100644 index 00000000..f91a575d --- /dev/null +++ b/sources/plugins/justify/lang/et.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'et', { | ||
6 | block: 'Rööpjoondus', | ||
7 | center: 'Keskjoondus', | ||
8 | left: 'Vasakjoondus', | ||
9 | right: 'Paremjoondus' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/eu.js b/sources/plugins/justify/lang/eu.js new file mode 100644 index 00000000..3becc223 --- /dev/null +++ b/sources/plugins/justify/lang/eu.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'eu', { | ||
6 | block: 'Justifikatu', | ||
7 | center: 'Erdian', | ||
8 | left: 'Lerrokatu ezkerrean', | ||
9 | right: 'Lerrokatu eskuinean' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/fa.js b/sources/plugins/justify/lang/fa.js new file mode 100644 index 00000000..4e8e3088 --- /dev/null +++ b/sources/plugins/justify/lang/fa.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'fa', { | ||
6 | block: 'بلوک چین', | ||
7 | center: 'میان چین', | ||
8 | left: 'چپ چین', | ||
9 | right: 'راست چین' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/fi.js b/sources/plugins/justify/lang/fi.js new file mode 100644 index 00000000..52660877 --- /dev/null +++ b/sources/plugins/justify/lang/fi.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'fi', { | ||
6 | block: 'Tasaa molemmat reunat', | ||
7 | center: 'Keskitä', | ||
8 | left: 'Tasaa vasemmat reunat', | ||
9 | right: 'Tasaa oikeat reunat' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/fo.js b/sources/plugins/justify/lang/fo.js new file mode 100644 index 00000000..8e8dec5b --- /dev/null +++ b/sources/plugins/justify/lang/fo.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'fo', { | ||
6 | block: 'Javnir tekstkantar', | ||
7 | center: 'Miðsett', | ||
8 | left: 'Vinstrasett', | ||
9 | right: 'Høgrasett' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/fr-ca.js b/sources/plugins/justify/lang/fr-ca.js new file mode 100644 index 00000000..c72309e0 --- /dev/null +++ b/sources/plugins/justify/lang/fr-ca.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'fr-ca', { | ||
6 | block: 'Justifié', | ||
7 | center: 'Centré', | ||
8 | left: 'Aligner à gauche', | ||
9 | right: 'Aligner à Droite' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/fr.js b/sources/plugins/justify/lang/fr.js new file mode 100644 index 00000000..f11cd9a9 --- /dev/null +++ b/sources/plugins/justify/lang/fr.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'fr', { | ||
6 | block: 'Justifier', | ||
7 | center: 'Centrer', | ||
8 | left: 'Aligner à gauche', | ||
9 | right: 'Aligner à droite' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/gl.js b/sources/plugins/justify/lang/gl.js new file mode 100644 index 00000000..da83d3cc --- /dev/null +++ b/sources/plugins/justify/lang/gl.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'gl', { | ||
6 | block: 'Xustificado', | ||
7 | center: 'Centrado', | ||
8 | left: 'Aliñar á esquerda', | ||
9 | right: 'Aliñar á dereita' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/gu.js b/sources/plugins/justify/lang/gu.js new file mode 100644 index 00000000..76bbc0c2 --- /dev/null +++ b/sources/plugins/justify/lang/gu.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'gu', { | ||
6 | block: 'બ્લૉક, અંતરાય જસ્ટિફાઇ', | ||
7 | center: 'સંકેંદ્રણ/સેંટરિંગ', | ||
8 | left: 'ડાબી બાજુએ/બાજુ તરફ', | ||
9 | right: 'જમણી બાજુએ/બાજુ તરફ' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/he.js b/sources/plugins/justify/lang/he.js new file mode 100644 index 00000000..1bd4204a --- /dev/null +++ b/sources/plugins/justify/lang/he.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'he', { | ||
6 | block: 'יישור לשוליים', | ||
7 | center: 'מרכוז', | ||
8 | left: 'יישור לשמאל', | ||
9 | right: 'יישור לימין' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/hi.js b/sources/plugins/justify/lang/hi.js new file mode 100644 index 00000000..2339f676 --- /dev/null +++ b/sources/plugins/justify/lang/hi.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'hi', { | ||
6 | block: 'ब्लॉक जस्टीफ़ाई', | ||
7 | center: 'बीच में', | ||
8 | left: 'बायीं तरफ', | ||
9 | right: 'दायीं तरफ' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/hr.js b/sources/plugins/justify/lang/hr.js new file mode 100644 index 00000000..4db599ae --- /dev/null +++ b/sources/plugins/justify/lang/hr.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'hr', { | ||
6 | block: 'Blok poravnanje', | ||
7 | center: 'Središnje poravnanje', | ||
8 | left: 'Lijevo poravnanje', | ||
9 | right: 'Desno poravnanje' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/hu.js b/sources/plugins/justify/lang/hu.js new file mode 100644 index 00000000..5e1a7990 --- /dev/null +++ b/sources/plugins/justify/lang/hu.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'hu', { | ||
6 | block: 'Sorkizárt', | ||
7 | center: 'Középre', | ||
8 | left: 'Balra', | ||
9 | right: 'Jobbra' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/id.js b/sources/plugins/justify/lang/id.js new file mode 100644 index 00000000..7dc6aafe --- /dev/null +++ b/sources/plugins/justify/lang/id.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'id', { | ||
6 | block: 'Rata kiri-kanan', | ||
7 | center: 'Pusat', | ||
8 | left: 'Align Left', // MISSING | ||
9 | right: 'Align Right' // MISSING | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/is.js b/sources/plugins/justify/lang/is.js new file mode 100644 index 00000000..8d94c59b --- /dev/null +++ b/sources/plugins/justify/lang/is.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'is', { | ||
6 | block: 'Jafna báðum megin', | ||
7 | center: 'Miðja texta', | ||
8 | left: 'Vinstrijöfnun', | ||
9 | right: 'Hægrijöfnun' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/it.js b/sources/plugins/justify/lang/it.js new file mode 100644 index 00000000..71060d6b --- /dev/null +++ b/sources/plugins/justify/lang/it.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'it', { | ||
6 | block: 'Giustifica', | ||
7 | center: 'Centra', | ||
8 | left: 'Allinea a sinistra', | ||
9 | right: 'Allinea a destra' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ja.js b/sources/plugins/justify/lang/ja.js new file mode 100644 index 00000000..ff972e4a --- /dev/null +++ b/sources/plugins/justify/lang/ja.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ja', { | ||
6 | block: '両端揃え', | ||
7 | center: '中央揃え', | ||
8 | left: '左揃え', | ||
9 | right: '右揃え' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ka.js b/sources/plugins/justify/lang/ka.js new file mode 100644 index 00000000..7479f064 --- /dev/null +++ b/sources/plugins/justify/lang/ka.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ka', { | ||
6 | block: 'გადასწორება', | ||
7 | center: 'შუაში სწორება', | ||
8 | left: 'მარცხნივ სწორება', | ||
9 | right: 'მარჯვნივ სწორება' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/km.js b/sources/plugins/justify/lang/km.js new file mode 100644 index 00000000..8769ba71 --- /dev/null +++ b/sources/plugins/justify/lang/km.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'km', { | ||
6 | block: 'តម្រឹមពេញ', | ||
7 | center: 'កណ្ដាល', | ||
8 | left: 'តម្រឹមឆ្វេង', | ||
9 | right: 'តម្រឹមស្ដាំ' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ko.js b/sources/plugins/justify/lang/ko.js new file mode 100644 index 00000000..4d0bb4cf --- /dev/null +++ b/sources/plugins/justify/lang/ko.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ko', { | ||
6 | block: '양쪽 맞춤', | ||
7 | center: '가운데 정렬', | ||
8 | left: '왼쪽 정렬', | ||
9 | right: '오른쪽 정렬' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ku.js b/sources/plugins/justify/lang/ku.js new file mode 100644 index 00000000..85b1e409 --- /dev/null +++ b/sources/plugins/justify/lang/ku.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ku', { | ||
6 | block: 'هاوستوونی', | ||
7 | center: 'ناوەڕاست', | ||
8 | left: 'بەهێڵ کردنی چەپ', | ||
9 | right: 'بەهێڵ کردنی ڕاست' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/lt.js b/sources/plugins/justify/lang/lt.js new file mode 100644 index 00000000..cef177be --- /dev/null +++ b/sources/plugins/justify/lang/lt.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'lt', { | ||
6 | block: 'Lygiuoti abi puses', | ||
7 | center: 'Centruoti', | ||
8 | left: 'Lygiuoti kairę', | ||
9 | right: 'Lygiuoti dešinę' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/lv.js b/sources/plugins/justify/lang/lv.js new file mode 100644 index 00000000..1711629f --- /dev/null +++ b/sources/plugins/justify/lang/lv.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'lv', { | ||
6 | block: 'Izlīdzināt malas', | ||
7 | center: 'Izlīdzināt pret centru', | ||
8 | left: 'Izlīdzināt pa kreisi', | ||
9 | right: 'Izlīdzināt pa labi' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/mk.js b/sources/plugins/justify/lang/mk.js new file mode 100644 index 00000000..10605fd9 --- /dev/null +++ b/sources/plugins/justify/lang/mk.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'mk', { | ||
6 | block: 'Justify', // MISSING | ||
7 | center: 'Center', // MISSING | ||
8 | left: 'Align Left', // MISSING | ||
9 | right: 'Align Right' // MISSING | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/mn.js b/sources/plugins/justify/lang/mn.js new file mode 100644 index 00000000..8ecaa78c --- /dev/null +++ b/sources/plugins/justify/lang/mn.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'mn', { | ||
6 | block: 'Тэгшлэх', | ||
7 | center: 'Голлуулах', | ||
8 | left: 'Зүүн талд тулгах', | ||
9 | right: 'Баруун талд тулгах' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ms.js b/sources/plugins/justify/lang/ms.js new file mode 100644 index 00000000..7f1deb15 --- /dev/null +++ b/sources/plugins/justify/lang/ms.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ms', { | ||
6 | block: 'Jajaran Blok', | ||
7 | center: 'Jajaran Tengah', | ||
8 | left: 'Jajaran Kiri', | ||
9 | right: 'Jajaran Kanan' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/nb.js b/sources/plugins/justify/lang/nb.js new file mode 100644 index 00000000..2cc4b56b --- /dev/null +++ b/sources/plugins/justify/lang/nb.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'nb', { | ||
6 | block: 'Blokkjuster', | ||
7 | center: 'Midtstill', | ||
8 | left: 'Venstrejuster', | ||
9 | right: 'Høyrejuster' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/nl.js b/sources/plugins/justify/lang/nl.js new file mode 100644 index 00000000..f0ed723c --- /dev/null +++ b/sources/plugins/justify/lang/nl.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'nl', { | ||
6 | block: 'Uitvullen', | ||
7 | center: 'Centreren', | ||
8 | left: 'Links uitlijnen', | ||
9 | right: 'Rechts uitlijnen' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/no.js b/sources/plugins/justify/lang/no.js new file mode 100644 index 00000000..cddfd5db --- /dev/null +++ b/sources/plugins/justify/lang/no.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'no', { | ||
6 | block: 'Blokkjuster', | ||
7 | center: 'Midtstill', | ||
8 | left: 'Venstrejuster', | ||
9 | right: 'Høyrejuster' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/pl.js b/sources/plugins/justify/lang/pl.js new file mode 100644 index 00000000..5d1fb432 --- /dev/null +++ b/sources/plugins/justify/lang/pl.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'pl', { | ||
6 | block: 'Wyjustuj', | ||
7 | center: 'Wyśrodkuj', | ||
8 | left: 'Wyrównaj do lewej', | ||
9 | right: 'Wyrównaj do prawej' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/pt-br.js b/sources/plugins/justify/lang/pt-br.js new file mode 100644 index 00000000..892a00fe --- /dev/null +++ b/sources/plugins/justify/lang/pt-br.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'pt-br', { | ||
6 | block: 'Justificado', | ||
7 | center: 'Centralizar', | ||
8 | left: 'Alinhar Esquerda', | ||
9 | right: 'Alinhar Direita' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/pt.js b/sources/plugins/justify/lang/pt.js new file mode 100644 index 00000000..20abc3b7 --- /dev/null +++ b/sources/plugins/justify/lang/pt.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'pt', { | ||
6 | block: 'Justificado', | ||
7 | center: 'Alinhar ao Centro', | ||
8 | left: 'Alinhar à esquerda', | ||
9 | right: 'Alinhar à direita' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ro.js b/sources/plugins/justify/lang/ro.js new file mode 100644 index 00000000..71db25ce --- /dev/null +++ b/sources/plugins/justify/lang/ro.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ro', { | ||
6 | block: 'Aliniere în bloc (Block Justify)', | ||
7 | center: 'Aliniere centrală', | ||
8 | left: 'Aliniere la stânga', | ||
9 | right: 'Aliniere la dreapta' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ru.js b/sources/plugins/justify/lang/ru.js new file mode 100644 index 00000000..fcbcf7df --- /dev/null +++ b/sources/plugins/justify/lang/ru.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ru', { | ||
6 | block: 'По ширине', | ||
7 | center: 'По центру', | ||
8 | left: 'По левому краю', | ||
9 | right: 'По правому краю' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/si.js b/sources/plugins/justify/lang/si.js new file mode 100644 index 00000000..e24354a0 --- /dev/null +++ b/sources/plugins/justify/lang/si.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'si', { | ||
6 | block: 'Justify', // MISSING | ||
7 | center: 'මධ්ය', | ||
8 | left: 'Align Left', // MISSING | ||
9 | right: 'Align Right' // MISSING | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/sk.js b/sources/plugins/justify/lang/sk.js new file mode 100644 index 00000000..2ec39eb8 --- /dev/null +++ b/sources/plugins/justify/lang/sk.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'sk', { | ||
6 | block: 'Zarovnať do bloku', | ||
7 | center: 'Zarovnať na stred', | ||
8 | left: 'Zarovnať vľavo', | ||
9 | right: 'Zarovnať vpravo' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/sl.js b/sources/plugins/justify/lang/sl.js new file mode 100644 index 00000000..95b5850f --- /dev/null +++ b/sources/plugins/justify/lang/sl.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'sl', { | ||
6 | block: 'Obojestranska poravnava', | ||
7 | center: 'Sredinska poravnava', | ||
8 | left: 'Leva poravnava', | ||
9 | right: 'Desna poravnava' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/sq.js b/sources/plugins/justify/lang/sq.js new file mode 100644 index 00000000..73195609 --- /dev/null +++ b/sources/plugins/justify/lang/sq.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'sq', { | ||
6 | block: 'Zgjero', | ||
7 | center: 'Qendër', | ||
8 | left: 'Rreshto majtas', | ||
9 | right: 'Rreshto Djathtas' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/sr-latn.js b/sources/plugins/justify/lang/sr-latn.js new file mode 100644 index 00000000..e95d5862 --- /dev/null +++ b/sources/plugins/justify/lang/sr-latn.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'sr-latn', { | ||
6 | block: 'Obostrano ravnanje', | ||
7 | center: 'Centriran tekst', | ||
8 | left: 'Levo ravnanje', | ||
9 | right: 'Desno ravnanje' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/sr.js b/sources/plugins/justify/lang/sr.js new file mode 100644 index 00000000..91176181 --- /dev/null +++ b/sources/plugins/justify/lang/sr.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'sr', { | ||
6 | block: 'Обострано равнање', | ||
7 | center: 'Центриран текст', | ||
8 | left: 'Лево равнање', | ||
9 | right: 'Десно равнање' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/sv.js b/sources/plugins/justify/lang/sv.js new file mode 100644 index 00000000..c1d4f44b --- /dev/null +++ b/sources/plugins/justify/lang/sv.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'sv', { | ||
6 | block: 'Justera till marginaler', | ||
7 | center: 'Centrera', | ||
8 | left: 'Vänsterjustera', | ||
9 | right: 'Högerjustera' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/th.js b/sources/plugins/justify/lang/th.js new file mode 100644 index 00000000..682fc9de --- /dev/null +++ b/sources/plugins/justify/lang/th.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'th', { | ||
6 | block: 'จัดพอดีหน้ากระดาษ', | ||
7 | center: 'จัดกึ่งกลาง', | ||
8 | left: 'จัดชิดซ้าย', | ||
9 | right: 'จัดชิดขวา' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/tr.js b/sources/plugins/justify/lang/tr.js new file mode 100644 index 00000000..e51cbe89 --- /dev/null +++ b/sources/plugins/justify/lang/tr.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'tr', { | ||
6 | block: 'İki Kenara Yaslanmış', | ||
7 | center: 'Ortalanmış', | ||
8 | left: 'Sola Dayalı', | ||
9 | right: 'Sağa Dayalı' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/tt.js b/sources/plugins/justify/lang/tt.js new file mode 100644 index 00000000..fc693413 --- /dev/null +++ b/sources/plugins/justify/lang/tt.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'tt', { | ||
6 | block: 'Киңлеккә карап тигезләү', | ||
7 | center: 'Үзәккә тигезләү', | ||
8 | left: 'Сул як кырыйдан тигезләү', | ||
9 | right: 'Уң як кырыйдан тигезләү' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/ug.js b/sources/plugins/justify/lang/ug.js new file mode 100644 index 00000000..3ddbaf51 --- /dev/null +++ b/sources/plugins/justify/lang/ug.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'ug', { | ||
6 | block: 'ئىككى تەرەپتىن توغرىلا', | ||
7 | center: 'ئوتتۇرىغا توغرىلا', | ||
8 | left: 'سولغا توغرىلا', | ||
9 | right: 'ئوڭغا توغرىلا' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/uk.js b/sources/plugins/justify/lang/uk.js new file mode 100644 index 00000000..eb74639a --- /dev/null +++ b/sources/plugins/justify/lang/uk.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'uk', { | ||
6 | block: 'По ширині', | ||
7 | center: 'По центру', | ||
8 | left: 'По лівому краю', | ||
9 | right: 'По правому краю' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/vi.js b/sources/plugins/justify/lang/vi.js new file mode 100644 index 00000000..a15674af --- /dev/null +++ b/sources/plugins/justify/lang/vi.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'vi', { | ||
6 | block: 'Canh đều', | ||
7 | center: 'Canh giữa', | ||
8 | left: 'Canh trái', | ||
9 | right: 'Canh phải' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/zh-cn.js b/sources/plugins/justify/lang/zh-cn.js new file mode 100644 index 00000000..f078618c --- /dev/null +++ b/sources/plugins/justify/lang/zh-cn.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'zh-cn', { | ||
6 | block: '两端对齐', | ||
7 | center: '居中', | ||
8 | left: '左对齐', | ||
9 | right: '右对齐' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/lang/zh.js b/sources/plugins/justify/lang/zh.js new file mode 100644 index 00000000..00e6ecea --- /dev/null +++ b/sources/plugins/justify/lang/zh.js | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'justify', 'zh', { | ||
6 | block: '左右對齊', | ||
7 | center: '置中', | ||
8 | left: '靠左對齊', | ||
9 | right: '靠右對齊' | ||
10 | } ); | ||
diff --git a/sources/plugins/justify/plugin.js b/sources/plugins/justify/plugin.js new file mode 100644 index 00000000..5be53ecd --- /dev/null +++ b/sources/plugins/justify/plugin.js | |||
@@ -0,0 +1,245 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /** | ||
7 | * @fileOverview Justify commands. | ||
8 | */ | ||
9 | |||
10 | ( function() { | ||
11 | function getAlignment( element, useComputedState ) { | ||
12 | useComputedState = useComputedState === undefined || useComputedState; | ||
13 | |||
14 | var align; | ||
15 | if ( useComputedState ) | ||
16 | align = element.getComputedStyle( 'text-align' ); | ||
17 | else { | ||
18 | while ( !element.hasAttribute || !( element.hasAttribute( 'align' ) || element.getStyle( 'text-align' ) ) ) { | ||
19 | var parent = element.getParent(); | ||
20 | if ( !parent ) | ||
21 | break; | ||
22 | element = parent; | ||
23 | } | ||
24 | align = element.getStyle( 'text-align' ) || element.getAttribute( 'align' ) || ''; | ||
25 | } | ||
26 | |||
27 | // Sometimes computed values doesn't tell. | ||
28 | align && ( align = align.replace( /(?:-(?:moz|webkit)-)?(?:start|auto)/i, '' ) ); | ||
29 | |||
30 | !align && useComputedState && ( align = element.getComputedStyle( 'direction' ) == 'rtl' ? 'right' : 'left' ); | ||
31 | |||
32 | return align; | ||
33 | } | ||
34 | |||
35 | function justifyCommand( editor, name, value ) { | ||
36 | this.editor = editor; | ||
37 | this.name = name; | ||
38 | this.value = value; | ||
39 | this.context = 'p'; | ||
40 | |||
41 | var classes = editor.config.justifyClasses, | ||
42 | blockTag = editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div'; | ||
43 | |||
44 | if ( classes ) { | ||
45 | switch ( value ) { | ||
46 | case 'left': | ||
47 | this.cssClassName = classes[ 0 ]; | ||
48 | break; | ||
49 | case 'center': | ||
50 | this.cssClassName = classes[ 1 ]; | ||
51 | break; | ||
52 | case 'right': | ||
53 | this.cssClassName = classes[ 2 ]; | ||
54 | break; | ||
55 | case 'justify': | ||
56 | this.cssClassName = classes[ 3 ]; | ||
57 | break; | ||
58 | } | ||
59 | |||
60 | this.cssClassRegex = new RegExp( '(?:^|\\s+)(?:' + classes.join( '|' ) + ')(?=$|\\s)' ); | ||
61 | this.requiredContent = blockTag + '(' + this.cssClassName + ')'; | ||
62 | } | ||
63 | else { | ||
64 | this.requiredContent = blockTag + '{text-align}'; | ||
65 | } | ||
66 | |||
67 | this.allowedContent = { | ||
68 | 'caption div h1 h2 h3 h4 h5 h6 p pre td th li': { | ||
69 | // Do not add elements, but only text-align style if element is validated by other rule. | ||
70 | propertiesOnly: true, | ||
71 | styles: this.cssClassName ? null : 'text-align', | ||
72 | classes: this.cssClassName || null | ||
73 | } | ||
74 | }; | ||
75 | |||
76 | // In enter mode BR we need to allow here for div, because when non other | ||
77 | // feature allows div justify is the only plugin that uses it. | ||
78 | if ( editor.config.enterMode == CKEDITOR.ENTER_BR ) | ||
79 | this.allowedContent.div = true; | ||
80 | } | ||
81 | |||
82 | function onDirChanged( e ) { | ||
83 | var editor = e.editor; | ||
84 | |||
85 | var range = editor.createRange(); | ||
86 | range.setStartBefore( e.data.node ); | ||
87 | range.setEndAfter( e.data.node ); | ||
88 | |||
89 | var walker = new CKEDITOR.dom.walker( range ), | ||
90 | node; | ||
91 | |||
92 | while ( ( node = walker.next() ) ) { | ||
93 | if ( node.type == CKEDITOR.NODE_ELEMENT ) { | ||
94 | // A child with the defined dir is to be ignored. | ||
95 | if ( !node.equals( e.data.node ) && node.getDirection() ) { | ||
96 | range.setStartAfter( node ); | ||
97 | walker = new CKEDITOR.dom.walker( range ); | ||
98 | continue; | ||
99 | } | ||
100 | |||
101 | // Switch the alignment. | ||
102 | var classes = editor.config.justifyClasses; | ||
103 | if ( classes ) { | ||
104 | // The left align class. | ||
105 | if ( node.hasClass( classes[ 0 ] ) ) { | ||
106 | node.removeClass( classes[ 0 ] ); | ||
107 | node.addClass( classes[ 2 ] ); | ||
108 | } | ||
109 | // The right align class. | ||
110 | else if ( node.hasClass( classes[ 2 ] ) ) { | ||
111 | node.removeClass( classes[ 2 ] ); | ||
112 | node.addClass( classes[ 0 ] ); | ||
113 | } | ||
114 | } | ||
115 | |||
116 | // Always switch CSS margins. | ||
117 | var style = 'text-align'; | ||
118 | var align = node.getStyle( style ); | ||
119 | |||
120 | if ( align == 'left' ) | ||
121 | node.setStyle( style, 'right' ); | ||
122 | else if ( align == 'right' ) | ||
123 | node.setStyle( style, 'left' ); | ||
124 | } | ||
125 | } | ||
126 | } | ||
127 | |||
128 | justifyCommand.prototype = { | ||
129 | exec: function( editor ) { | ||
130 | var selection = editor.getSelection(), | ||
131 | enterMode = editor.config.enterMode; | ||
132 | |||
133 | if ( !selection ) | ||
134 | return; | ||
135 | |||
136 | var bookmarks = selection.createBookmarks(), | ||
137 | ranges = selection.getRanges(); | ||
138 | |||
139 | var cssClassName = this.cssClassName, | ||
140 | iterator, block; | ||
141 | |||
142 | var useComputedState = editor.config.useComputedState; | ||
143 | useComputedState = useComputedState === undefined || useComputedState; | ||
144 | |||
145 | for ( var i = ranges.length - 1; i >= 0; i-- ) { | ||
146 | iterator = ranges[ i ].createIterator(); | ||
147 | iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR; | ||
148 | |||
149 | while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) ) { | ||
150 | if ( block.isReadOnly() ) | ||
151 | continue; | ||
152 | |||
153 | block.removeAttribute( 'align' ); | ||
154 | block.removeStyle( 'text-align' ); | ||
155 | |||
156 | // Remove any of the alignment classes from the className. | ||
157 | var className = cssClassName && ( block.$.className = CKEDITOR.tools.ltrim( block.$.className.replace( this.cssClassRegex, '' ) ) ); | ||
158 | |||
159 | var apply = ( this.state == CKEDITOR.TRISTATE_OFF ) && ( !useComputedState || ( getAlignment( block, true ) != this.value ) ); | ||
160 | |||
161 | if ( cssClassName ) { | ||
162 | // Append the desired class name. | ||
163 | if ( apply ) | ||
164 | block.addClass( cssClassName ); | ||
165 | else if ( !className ) | ||
166 | block.removeAttribute( 'class' ); | ||
167 | } else if ( apply ) { | ||
168 | block.setStyle( 'text-align', this.value ); | ||
169 | } | ||
170 | } | ||
171 | |||
172 | } | ||
173 | |||
174 | editor.focus(); | ||
175 | editor.forceNextSelectionCheck(); | ||
176 | selection.selectBookmarks( bookmarks ); | ||
177 | }, | ||
178 | |||
179 | refresh: function( editor, path ) { | ||
180 | var firstBlock = path.block || path.blockLimit; | ||
181 | |||
182 | this.setState( firstBlock.getName() != 'body' && getAlignment( firstBlock, this.editor.config.useComputedState ) == this.value ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF ); | ||
183 | } | ||
184 | }; | ||
185 | |||
186 | CKEDITOR.plugins.add( 'justify', { | ||
187 | // jscs:disable maximumLineLength | ||
188 | lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% | ||
189 | // jscs:enable maximumLineLength | ||
190 | icons: 'justifyblock,justifycenter,justifyleft,justifyright', // %REMOVE_LINE_CORE% | ||
191 | hidpi: true, // %REMOVE_LINE_CORE% | ||
192 | init: function( editor ) { | ||
193 | if ( editor.blockless ) | ||
194 | return; | ||
195 | |||
196 | var left = new justifyCommand( editor, 'justifyleft', 'left' ), | ||
197 | center = new justifyCommand( editor, 'justifycenter', 'center' ), | ||
198 | right = new justifyCommand( editor, 'justifyright', 'right' ), | ||
199 | justify = new justifyCommand( editor, 'justifyblock', 'justify' ); | ||
200 | |||
201 | editor.addCommand( 'justifyleft', left ); | ||
202 | editor.addCommand( 'justifycenter', center ); | ||
203 | editor.addCommand( 'justifyright', right ); | ||
204 | editor.addCommand( 'justifyblock', justify ); | ||
205 | |||
206 | if ( editor.ui.addButton ) { | ||
207 | editor.ui.addButton( 'JustifyLeft', { | ||
208 | label: editor.lang.justify.left, | ||
209 | command: 'justifyleft', | ||
210 | toolbar: 'align,10' | ||
211 | } ); | ||
212 | editor.ui.addButton( 'JustifyCenter', { | ||
213 | label: editor.lang.justify.center, | ||
214 | command: 'justifycenter', | ||
215 | toolbar: 'align,20' | ||
216 | } ); | ||
217 | editor.ui.addButton( 'JustifyRight', { | ||
218 | label: editor.lang.justify.right, | ||
219 | command: 'justifyright', | ||
220 | toolbar: 'align,30' | ||
221 | } ); | ||
222 | editor.ui.addButton( 'JustifyBlock', { | ||
223 | label: editor.lang.justify.block, | ||
224 | command: 'justifyblock', | ||
225 | toolbar: 'align,40' | ||
226 | } ); | ||
227 | } | ||
228 | |||
229 | editor.on( 'dirChanged', onDirChanged ); | ||
230 | } | ||
231 | } ); | ||
232 | } )(); | ||
233 | |||
234 | /** | ||
235 | * List of classes to use for aligning the contents. If it's `null`, no classes will be used | ||
236 | * and instead the corresponding CSS values will be used. | ||
237 | * | ||
238 | * The array should contain 4 members, in the following order: left, center, right, justify. | ||
239 | * | ||
240 | * // Use the classes 'AlignLeft', 'AlignCenter', 'AlignRight', 'AlignJustify' | ||
241 | * config.justifyClasses = [ 'AlignLeft', 'AlignCenter', 'AlignRight', 'AlignJustify' ]; | ||
242 | * | ||
243 | * @cfg {Array} [justifyClasses=null] | ||
244 | * @member CKEDITOR.config | ||
245 | */ | ||