aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/justify
diff options
context:
space:
mode:
Diffstat (limited to 'sources/plugins/justify')
-rw-r--r--sources/plugins/justify/icons/hidpi/justifyblock.pngbin0 -> 533 bytes
-rw-r--r--sources/plugins/justify/icons/hidpi/justifycenter.pngbin0 -> 576 bytes
-rw-r--r--sources/plugins/justify/icons/hidpi/justifyleft.pngbin0 -> 569 bytes
-rw-r--r--sources/plugins/justify/icons/hidpi/justifyright.pngbin0 -> 549 bytes
-rw-r--r--sources/plugins/justify/icons/justifyblock.pngbin0 -> 315 bytes
-rw-r--r--sources/plugins/justify/icons/justifycenter.pngbin0 -> 564 bytes
-rw-r--r--sources/plugins/justify/icons/justifyleft.pngbin0 -> 342 bytes
-rw-r--r--sources/plugins/justify/icons/justifyright.pngbin0 -> 348 bytes
-rw-r--r--sources/plugins/justify/lang/af.js10
-rw-r--r--sources/plugins/justify/lang/ar.js10
-rw-r--r--sources/plugins/justify/lang/az.js10
-rw-r--r--sources/plugins/justify/lang/bg.js10
-rw-r--r--sources/plugins/justify/lang/bn.js10
-rw-r--r--sources/plugins/justify/lang/bs.js10
-rw-r--r--sources/plugins/justify/lang/ca.js10
-rw-r--r--sources/plugins/justify/lang/cs.js10
-rw-r--r--sources/plugins/justify/lang/cy.js10
-rw-r--r--sources/plugins/justify/lang/da.js10
-rw-r--r--sources/plugins/justify/lang/de-ch.js10
-rw-r--r--sources/plugins/justify/lang/de.js10
-rw-r--r--sources/plugins/justify/lang/el.js10
-rw-r--r--sources/plugins/justify/lang/en-au.js10
-rw-r--r--sources/plugins/justify/lang/en-ca.js10
-rw-r--r--sources/plugins/justify/lang/en-gb.js10
-rw-r--r--sources/plugins/justify/lang/en.js10
-rw-r--r--sources/plugins/justify/lang/eo.js10
-rw-r--r--sources/plugins/justify/lang/es.js10
-rw-r--r--sources/plugins/justify/lang/et.js10
-rw-r--r--sources/plugins/justify/lang/eu.js10
-rw-r--r--sources/plugins/justify/lang/fa.js10
-rw-r--r--sources/plugins/justify/lang/fi.js10
-rw-r--r--sources/plugins/justify/lang/fo.js10
-rw-r--r--sources/plugins/justify/lang/fr-ca.js10
-rw-r--r--sources/plugins/justify/lang/fr.js10
-rw-r--r--sources/plugins/justify/lang/gl.js10
-rw-r--r--sources/plugins/justify/lang/gu.js10
-rw-r--r--sources/plugins/justify/lang/he.js10
-rw-r--r--sources/plugins/justify/lang/hi.js10
-rw-r--r--sources/plugins/justify/lang/hr.js10
-rw-r--r--sources/plugins/justify/lang/hu.js10
-rw-r--r--sources/plugins/justify/lang/id.js10
-rw-r--r--sources/plugins/justify/lang/is.js10
-rw-r--r--sources/plugins/justify/lang/it.js10
-rw-r--r--sources/plugins/justify/lang/ja.js10
-rw-r--r--sources/plugins/justify/lang/ka.js10
-rw-r--r--sources/plugins/justify/lang/km.js10
-rw-r--r--sources/plugins/justify/lang/ko.js10
-rw-r--r--sources/plugins/justify/lang/ku.js10
-rw-r--r--sources/plugins/justify/lang/lt.js10
-rw-r--r--sources/plugins/justify/lang/lv.js10
-rw-r--r--sources/plugins/justify/lang/mk.js10
-rw-r--r--sources/plugins/justify/lang/mn.js10
-rw-r--r--sources/plugins/justify/lang/ms.js10
-rw-r--r--sources/plugins/justify/lang/nb.js10
-rw-r--r--sources/plugins/justify/lang/nl.js10
-rw-r--r--sources/plugins/justify/lang/no.js10
-rw-r--r--sources/plugins/justify/lang/oc.js10
-rw-r--r--sources/plugins/justify/lang/pl.js10
-rw-r--r--sources/plugins/justify/lang/pt-br.js10
-rw-r--r--sources/plugins/justify/lang/pt.js10
-rw-r--r--sources/plugins/justify/lang/ro.js10
-rw-r--r--sources/plugins/justify/lang/ru.js10
-rw-r--r--sources/plugins/justify/lang/si.js10
-rw-r--r--sources/plugins/justify/lang/sk.js10
-rw-r--r--sources/plugins/justify/lang/sl.js10
-rw-r--r--sources/plugins/justify/lang/sq.js10
-rw-r--r--sources/plugins/justify/lang/sr-latn.js10
-rw-r--r--sources/plugins/justify/lang/sr.js10
-rw-r--r--sources/plugins/justify/lang/sv.js10
-rw-r--r--sources/plugins/justify/lang/th.js10
-rw-r--r--sources/plugins/justify/lang/tr.js10
-rw-r--r--sources/plugins/justify/lang/tt.js10
-rw-r--r--sources/plugins/justify/lang/ug.js10
-rw-r--r--sources/plugins/justify/lang/uk.js10
-rw-r--r--sources/plugins/justify/lang/vi.js10
-rw-r--r--sources/plugins/justify/lang/zh-cn.js10
-rw-r--r--sources/plugins/justify/lang/zh.js10
-rw-r--r--sources/plugins/justify/plugin.js245
78 files changed, 935 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 0000000..5c0cf43
--- /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 0000000..fd751be
--- /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 0000000..a109ad3
--- /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 0000000..5125d56
--- /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 0000000..ffe0620
--- /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 0000000..8b5b40f
--- /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 0000000..a60d079
--- /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 0000000..21de814
--- /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 0000000..9f5c303
--- /dev/null
+++ b/sources/plugins/justify/lang/af.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..6c414be
--- /dev/null
+++ b/sources/plugins/justify/lang/ar.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'justify', 'ar', {
6 block: 'ضبط',
7 center: 'توسيط',
8 left: 'محاذاة إلى اليسار',
9 right: 'محاذاة إلى اليمين'
10} );
diff --git a/sources/plugins/justify/lang/az.js b/sources/plugins/justify/lang/az.js
new file mode 100644
index 0000000..9360568
--- /dev/null
+++ b/sources/plugins/justify/lang/az.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'justify', 'az', {
6 block: 'Eninə görə',
7 center: 'Mərkəz',
8 left: 'Soldan düzləndir',
9 right: 'Sağdan düzləndir'
10} );
diff --git a/sources/plugins/justify/lang/bg.js b/sources/plugins/justify/lang/bg.js
new file mode 100644
index 0000000..1724947
--- /dev/null
+++ b/sources/plugins/justify/lang/bg.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..002a633
--- /dev/null
+++ b/sources/plugins/justify/lang/bn.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..0fbedfc
--- /dev/null
+++ b/sources/plugins/justify/lang/bs.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..afb7adb
--- /dev/null
+++ b/sources/plugins/justify/lang/ca.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..467ae6f
--- /dev/null
+++ b/sources/plugins/justify/lang/cs.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..6b39beb
--- /dev/null
+++ b/sources/plugins/justify/lang/cy.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..ac8ee29
--- /dev/null
+++ b/sources/plugins/justify/lang/da.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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-ch.js b/sources/plugins/justify/lang/de-ch.js
new file mode 100644
index 0000000..a2c24eb
--- /dev/null
+++ b/sources/plugins/justify/lang/de-ch.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'justify', 'de-ch', {
6 block: 'Blocksatz',
7 center: 'Zentriert',
8 left: 'Linksbündig',
9 right: 'Rechtsbündig'
10} );
diff --git a/sources/plugins/justify/lang/de.js b/sources/plugins/justify/lang/de.js
new file mode 100644
index 0000000..4db8725
--- /dev/null
+++ b/sources/plugins/justify/lang/de.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..1bdc64f
--- /dev/null
+++ b/sources/plugins/justify/lang/el.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..68eb09c
--- /dev/null
+++ b/sources/plugins/justify/lang/en-au.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..27718a2
--- /dev/null
+++ b/sources/plugins/justify/lang/en-ca.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..d6db4ff
--- /dev/null
+++ b/sources/plugins/justify/lang/en-gb.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..8a72e85
--- /dev/null
+++ b/sources/plugins/justify/lang/en.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..7531dde
--- /dev/null
+++ b/sources/plugins/justify/lang/eo.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..2e89bc0
--- /dev/null
+++ b/sources/plugins/justify/lang/es.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..0fc4915
--- /dev/null
+++ b/sources/plugins/justify/lang/et.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..f7d291e
--- /dev/null
+++ b/sources/plugins/justify/lang/eu.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..03c3c6b
--- /dev/null
+++ b/sources/plugins/justify/lang/fa.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..6993f10
--- /dev/null
+++ b/sources/plugins/justify/lang/fi.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..f11a575
--- /dev/null
+++ b/sources/plugins/justify/lang/fo.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..8d59e5e
--- /dev/null
+++ b/sources/plugins/justify/lang/fr-ca.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..e44df52
--- /dev/null
+++ b/sources/plugins/justify/lang/fr.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..1995e8c
--- /dev/null
+++ b/sources/plugins/justify/lang/gl.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..d491684
--- /dev/null
+++ b/sources/plugins/justify/lang/gu.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..ab5c759
--- /dev/null
+++ b/sources/plugins/justify/lang/he.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..6a4fae8
--- /dev/null
+++ b/sources/plugins/justify/lang/hi.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..852c686
--- /dev/null
+++ b/sources/plugins/justify/lang/hr.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..c7b8dad
--- /dev/null
+++ b/sources/plugins/justify/lang/hu.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..d67247c
--- /dev/null
+++ b/sources/plugins/justify/lang/id.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..d01a43a
--- /dev/null
+++ b/sources/plugins/justify/lang/is.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..fd4ae51
--- /dev/null
+++ b/sources/plugins/justify/lang/it.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..6c71c86
--- /dev/null
+++ b/sources/plugins/justify/lang/ja.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..4ba0bcb
--- /dev/null
+++ b/sources/plugins/justify/lang/ka.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..a7546c3
--- /dev/null
+++ b/sources/plugins/justify/lang/km.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..346405d
--- /dev/null
+++ b/sources/plugins/justify/lang/ko.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..24ed914
--- /dev/null
+++ b/sources/plugins/justify/lang/ku.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..08202cb
--- /dev/null
+++ b/sources/plugins/justify/lang/lt.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..8c729c9
--- /dev/null
+++ b/sources/plugins/justify/lang/lv.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..f45fb19
--- /dev/null
+++ b/sources/plugins/justify/lang/mk.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'justify', 'mk', {
6 block: 'Justify', // MISSING
7 center: 'Во средина',
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 0000000..850e474
--- /dev/null
+++ b/sources/plugins/justify/lang/mn.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..323f8e9
--- /dev/null
+++ b/sources/plugins/justify/lang/ms.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..98a3c44
--- /dev/null
+++ b/sources/plugins/justify/lang/nb.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..972bf82
--- /dev/null
+++ b/sources/plugins/justify/lang/nl.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..cfcd72a
--- /dev/null
+++ b/sources/plugins/justify/lang/no.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'justify', 'no', {
6 block: 'Blokkjuster',
7 center: 'Midtstill',
8 left: 'Venstrejuster',
9 right: 'Høyrejuster'
10} );
diff --git a/sources/plugins/justify/lang/oc.js b/sources/plugins/justify/lang/oc.js
new file mode 100644
index 0000000..a13e528
--- /dev/null
+++ b/sources/plugins/justify/lang/oc.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'justify', 'oc', {
6 block: 'Justificar',
7 center: 'Centrar',
8 left: 'Alinhar a esquèrra',
9 right: 'Alinhar a dreita'
10} );
diff --git a/sources/plugins/justify/lang/pl.js b/sources/plugins/justify/lang/pl.js
new file mode 100644
index 0000000..60922b9
--- /dev/null
+++ b/sources/plugins/justify/lang/pl.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..cf40ad0
--- /dev/null
+++ b/sources/plugins/justify/lang/pt-br.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..46ac43b
--- /dev/null
+++ b/sources/plugins/justify/lang/pt.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..21caeca
--- /dev/null
+++ b/sources/plugins/justify/lang/ro.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..47c98bb
--- /dev/null
+++ b/sources/plugins/justify/lang/ru.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..6d9f373
--- /dev/null
+++ b/sources/plugins/justify/lang/si.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..08c3991
--- /dev/null
+++ b/sources/plugins/justify/lang/sk.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..d776354
--- /dev/null
+++ b/sources/plugins/justify/lang/sl.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..1ed002c
--- /dev/null
+++ b/sources/plugins/justify/lang/sq.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..7fdba23
--- /dev/null
+++ b/sources/plugins/justify/lang/sr-latn.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..2314a96
--- /dev/null
+++ b/sources/plugins/justify/lang/sr.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..cac94c0
--- /dev/null
+++ b/sources/plugins/justify/lang/sv.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..4a9d4f9
--- /dev/null
+++ b/sources/plugins/justify/lang/th.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..fbc512f
--- /dev/null
+++ b/sources/plugins/justify/lang/tr.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..b36f69c
--- /dev/null
+++ b/sources/plugins/justify/lang/tt.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..e5861f5
--- /dev/null
+++ b/sources/plugins/justify/lang/ug.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..5807f25
--- /dev/null
+++ b/sources/plugins/justify/lang/uk.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..de0c170
--- /dev/null
+++ b/sources/plugins/justify/lang/vi.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..4c19627
--- /dev/null
+++ b/sources/plugins/justify/lang/zh-cn.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..0865d51
--- /dev/null
+++ b/sources/plugins/justify/lang/zh.js
@@ -0,0 +1,10 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( '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 0000000..ce5cab3
--- /dev/null
+++ b/sources/plugins/justify/plugin.js
@@ -0,0 +1,245 @@
1/**
2 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */
5
6/**
7 * @fileOverview 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,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%
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 */