aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/justify
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2017-12-04 17:54:04 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2017-12-04 17:54:04 +0100
commit317f8f8f0651488f226b5280a8f036c7c135c639 (patch)
tree97bd4889ab2822a00d4b0f0d5cde38b59f9f41de /sources/plugins/justify
parent1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c (diff)
downloadpiedsjaloux-ckeditor-component-4.7.3.tar.gz
piedsjaloux-ckeditor-component-4.7.3.tar.zst
piedsjaloux-ckeditor-component-4.7.3.zip
Add oembed4.7.3
Diffstat (limited to 'sources/plugins/justify')
-rw-r--r--sources/plugins/justify/icons/hidpi/justifyblock.pngbin882 -> 533 bytes
-rw-r--r--sources/plugins/justify/icons/hidpi/justifycenter.pngbin1142 -> 576 bytes
-rw-r--r--sources/plugins/justify/icons/hidpi/justifyleft.pngbin1042 -> 569 bytes
-rw-r--r--sources/plugins/justify/icons/hidpi/justifyright.pngbin1048 -> 549 bytes
-rw-r--r--sources/plugins/justify/icons/justifyblock.pngbin496 -> 315 bytes
-rw-r--r--sources/plugins/justify/icons/justifycenter.pngbin609 -> 564 bytes
-rw-r--r--sources/plugins/justify/icons/justifyleft.pngbin558 -> 342 bytes
-rw-r--r--sources/plugins/justify/icons/justifyright.pngbin554 -> 348 bytes
-rw-r--r--sources/plugins/justify/lang/af.js2
-rw-r--r--sources/plugins/justify/lang/ar.js2
-rw-r--r--sources/plugins/justify/lang/az.js10
-rw-r--r--sources/plugins/justify/lang/bg.js2
-rw-r--r--sources/plugins/justify/lang/bn.js4
-rw-r--r--sources/plugins/justify/lang/bs.js2
-rw-r--r--sources/plugins/justify/lang/ca.js2
-rw-r--r--sources/plugins/justify/lang/cs.js2
-rw-r--r--sources/plugins/justify/lang/cy.js2
-rw-r--r--sources/plugins/justify/lang/da.js2
-rw-r--r--sources/plugins/justify/lang/de-ch.js2
-rw-r--r--sources/plugins/justify/lang/de.js2
-rw-r--r--sources/plugins/justify/lang/el.js2
-rw-r--r--sources/plugins/justify/lang/en-au.js2
-rw-r--r--sources/plugins/justify/lang/en-ca.js2
-rw-r--r--sources/plugins/justify/lang/en-gb.js2
-rw-r--r--sources/plugins/justify/lang/en.js2
-rw-r--r--sources/plugins/justify/lang/eo.js2
-rw-r--r--sources/plugins/justify/lang/es-mx.js10
-rw-r--r--sources/plugins/justify/lang/es.js2
-rw-r--r--sources/plugins/justify/lang/et.js2
-rw-r--r--sources/plugins/justify/lang/eu.js2
-rw-r--r--sources/plugins/justify/lang/fa.js2
-rw-r--r--sources/plugins/justify/lang/fi.js2
-rw-r--r--sources/plugins/justify/lang/fo.js2
-rw-r--r--sources/plugins/justify/lang/fr-ca.js2
-rw-r--r--sources/plugins/justify/lang/fr.js2
-rw-r--r--sources/plugins/justify/lang/gl.js2
-rw-r--r--sources/plugins/justify/lang/gu.js2
-rw-r--r--sources/plugins/justify/lang/he.js2
-rw-r--r--sources/plugins/justify/lang/hi.js2
-rw-r--r--sources/plugins/justify/lang/hr.js2
-rw-r--r--sources/plugins/justify/lang/hu.js2
-rw-r--r--sources/plugins/justify/lang/id.js2
-rw-r--r--sources/plugins/justify/lang/is.js2
-rw-r--r--sources/plugins/justify/lang/it.js2
-rw-r--r--sources/plugins/justify/lang/ja.js2
-rw-r--r--sources/plugins/justify/lang/ka.js2
-rw-r--r--sources/plugins/justify/lang/km.js2
-rw-r--r--sources/plugins/justify/lang/ko.js2
-rw-r--r--sources/plugins/justify/lang/ku.js2
-rw-r--r--sources/plugins/justify/lang/lt.js2
-rw-r--r--sources/plugins/justify/lang/lv.js2
-rw-r--r--sources/plugins/justify/lang/mk.js2
-rw-r--r--sources/plugins/justify/lang/mn.js2
-rw-r--r--sources/plugins/justify/lang/ms.js2
-rw-r--r--sources/plugins/justify/lang/nb.js2
-rw-r--r--sources/plugins/justify/lang/nl.js2
-rw-r--r--sources/plugins/justify/lang/no.js2
-rw-r--r--sources/plugins/justify/lang/oc.js10
-rw-r--r--sources/plugins/justify/lang/pl.js2
-rw-r--r--sources/plugins/justify/lang/pt-br.js2
-rw-r--r--sources/plugins/justify/lang/pt.js4
-rw-r--r--sources/plugins/justify/lang/ro.js2
-rw-r--r--sources/plugins/justify/lang/ru.js2
-rw-r--r--sources/plugins/justify/lang/si.js2
-rw-r--r--sources/plugins/justify/lang/sk.js2
-rw-r--r--sources/plugins/justify/lang/sl.js2
-rw-r--r--sources/plugins/justify/lang/sq.js2
-rw-r--r--sources/plugins/justify/lang/sr-latn.js2
-rw-r--r--sources/plugins/justify/lang/sr.js2
-rw-r--r--sources/plugins/justify/lang/sv.js2
-rw-r--r--sources/plugins/justify/lang/th.js2
-rw-r--r--sources/plugins/justify/lang/tr.js2
-rw-r--r--sources/plugins/justify/lang/tt.js2
-rw-r--r--sources/plugins/justify/lang/ug.js2
-rw-r--r--sources/plugins/justify/lang/uk.js2
-rw-r--r--sources/plugins/justify/lang/vi.js2
-rw-r--r--sources/plugins/justify/lang/zh-cn.js2
-rw-r--r--sources/plugins/justify/lang/zh.js2
-rw-r--r--sources/plugins/justify/plugin.js43
79 files changed, 133 insertions, 78 deletions
diff --git a/sources/plugins/justify/icons/hidpi/justifyblock.png b/sources/plugins/justify/icons/hidpi/justifyblock.png
index 7209fd4..5c0cf43 100644
--- a/sources/plugins/justify/icons/hidpi/justifyblock.png
+++ 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
index 365e320..fd751be 100644
--- a/sources/plugins/justify/icons/hidpi/justifycenter.png
+++ 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
index 75308c1..a109ad3 100644
--- a/sources/plugins/justify/icons/hidpi/justifyleft.png
+++ 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
index de7c3d4..5125d56 100644
--- a/sources/plugins/justify/icons/hidpi/justifyright.png
+++ 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
index a507be1..ffe0620 100644
--- a/sources/plugins/justify/icons/justifyblock.png
+++ 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
index f758bc4..8b5b40f 100644
--- a/sources/plugins/justify/icons/justifycenter.png
+++ 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
index 542ddee..a60d079 100644
--- a/sources/plugins/justify/icons/justifyleft.png
+++ 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
index 71a983c..21de814 100644
--- a/sources/plugins/justify/icons/justifyright.png
+++ 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
index d9b468d..9f5c303 100644
--- a/sources/plugins/justify/lang/af.js
+++ b/sources/plugins/justify/lang/af.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'af', { 5CKEDITOR.plugins.setLang( 'justify', 'af', {
diff --git a/sources/plugins/justify/lang/ar.js b/sources/plugins/justify/lang/ar.js
index 4db5875..6c414be 100644
--- a/sources/plugins/justify/lang/ar.js
+++ b/sources/plugins/justify/lang/ar.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ar', { 5CKEDITOR.plugins.setLang( 'justify', 'ar', {
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
index 7a2841c..1724947 100644
--- a/sources/plugins/justify/lang/bg.js
+++ b/sources/plugins/justify/lang/bg.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'bg', { 5CKEDITOR.plugins.setLang( 'justify', 'bg', {
diff --git a/sources/plugins/justify/lang/bn.js b/sources/plugins/justify/lang/bn.js
index 77d5827..002a633 100644
--- a/sources/plugins/justify/lang/bn.js
+++ b/sources/plugins/justify/lang/bn.js
@@ -1,9 +1,9 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'bn', { 5CKEDITOR.plugins.setLang( 'justify', 'bn', {
6 block: 'ক জ', 6 block: ' ',
7 center: 'মাঝ বরাবর ঘেষা', 7 center: 'মাঝ বরাবর ঘেষা',
8 left: 'বা দিকে ঘেঁষা', 8 left: 'বা দিকে ঘেঁষা',
9 right: 'ডান দিকে ঘেঁষা' 9 right: 'ডান দিকে ঘেঁষা'
diff --git a/sources/plugins/justify/lang/bs.js b/sources/plugins/justify/lang/bs.js
index 1412437..0fbedfc 100644
--- a/sources/plugins/justify/lang/bs.js
+++ b/sources/plugins/justify/lang/bs.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'bs', { 5CKEDITOR.plugins.setLang( 'justify', 'bs', {
diff --git a/sources/plugins/justify/lang/ca.js b/sources/plugins/justify/lang/ca.js
index 02c3858..afb7adb 100644
--- a/sources/plugins/justify/lang/ca.js
+++ b/sources/plugins/justify/lang/ca.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ca', { 5CKEDITOR.plugins.setLang( 'justify', 'ca', {
diff --git a/sources/plugins/justify/lang/cs.js b/sources/plugins/justify/lang/cs.js
index d5f263f..467ae6f 100644
--- a/sources/plugins/justify/lang/cs.js
+++ b/sources/plugins/justify/lang/cs.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'cs', { 5CKEDITOR.plugins.setLang( 'justify', 'cs', {
diff --git a/sources/plugins/justify/lang/cy.js b/sources/plugins/justify/lang/cy.js
index 80883d1..6b39beb 100644
--- a/sources/plugins/justify/lang/cy.js
+++ b/sources/plugins/justify/lang/cy.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'cy', { 5CKEDITOR.plugins.setLang( 'justify', 'cy', {
diff --git a/sources/plugins/justify/lang/da.js b/sources/plugins/justify/lang/da.js
index e595639..ac8ee29 100644
--- a/sources/plugins/justify/lang/da.js
+++ b/sources/plugins/justify/lang/da.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'da', { 5CKEDITOR.plugins.setLang( 'justify', 'da', {
diff --git a/sources/plugins/justify/lang/de-ch.js b/sources/plugins/justify/lang/de-ch.js
index 36fc080..a2c24eb 100644
--- a/sources/plugins/justify/lang/de-ch.js
+++ b/sources/plugins/justify/lang/de-ch.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'de-ch', { 5CKEDITOR.plugins.setLang( 'justify', 'de-ch', {
diff --git a/sources/plugins/justify/lang/de.js b/sources/plugins/justify/lang/de.js
index dc45266..4db8725 100644
--- a/sources/plugins/justify/lang/de.js
+++ b/sources/plugins/justify/lang/de.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'de', { 5CKEDITOR.plugins.setLang( 'justify', 'de', {
diff --git a/sources/plugins/justify/lang/el.js b/sources/plugins/justify/lang/el.js
index 1d50fd2..1bdc64f 100644
--- a/sources/plugins/justify/lang/el.js
+++ b/sources/plugins/justify/lang/el.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'el', { 5CKEDITOR.plugins.setLang( 'justify', 'el', {
diff --git a/sources/plugins/justify/lang/en-au.js b/sources/plugins/justify/lang/en-au.js
index 53162fd..68eb09c 100644
--- a/sources/plugins/justify/lang/en-au.js
+++ b/sources/plugins/justify/lang/en-au.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'en-au', { 5CKEDITOR.plugins.setLang( 'justify', 'en-au', {
diff --git a/sources/plugins/justify/lang/en-ca.js b/sources/plugins/justify/lang/en-ca.js
index d64b9bf..27718a2 100644
--- a/sources/plugins/justify/lang/en-ca.js
+++ b/sources/plugins/justify/lang/en-ca.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'en-ca', { 5CKEDITOR.plugins.setLang( 'justify', 'en-ca', {
diff --git a/sources/plugins/justify/lang/en-gb.js b/sources/plugins/justify/lang/en-gb.js
index adb3b56..d6db4ff 100644
--- a/sources/plugins/justify/lang/en-gb.js
+++ b/sources/plugins/justify/lang/en-gb.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'en-gb', { 5CKEDITOR.plugins.setLang( 'justify', 'en-gb', {
diff --git a/sources/plugins/justify/lang/en.js b/sources/plugins/justify/lang/en.js
index acaaccb..8a72e85 100644
--- a/sources/plugins/justify/lang/en.js
+++ b/sources/plugins/justify/lang/en.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'en', { 5CKEDITOR.plugins.setLang( 'justify', 'en', {
diff --git a/sources/plugins/justify/lang/eo.js b/sources/plugins/justify/lang/eo.js
index f58b324..7531dde 100644
--- a/sources/plugins/justify/lang/eo.js
+++ b/sources/plugins/justify/lang/eo.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'eo', { 5CKEDITOR.plugins.setLang( 'justify', 'eo', {
diff --git a/sources/plugins/justify/lang/es-mx.js b/sources/plugins/justify/lang/es-mx.js
new file mode 100644
index 0000000..96443e0
--- /dev/null
+++ b/sources/plugins/justify/lang/es-mx.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-mx', {
6 block: 'Justificar',
7 center: 'Centrar',
8 left: 'Alinear a la izquierda',
9 right: 'Alinear a la derecha'
10} );
diff --git a/sources/plugins/justify/lang/es.js b/sources/plugins/justify/lang/es.js
index 23baf68..2e89bc0 100644
--- a/sources/plugins/justify/lang/es.js
+++ b/sources/plugins/justify/lang/es.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'es', { 5CKEDITOR.plugins.setLang( 'justify', 'es', {
diff --git a/sources/plugins/justify/lang/et.js b/sources/plugins/justify/lang/et.js
index 3226e87..0fc4915 100644
--- a/sources/plugins/justify/lang/et.js
+++ b/sources/plugins/justify/lang/et.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'et', { 5CKEDITOR.plugins.setLang( 'justify', 'et', {
diff --git a/sources/plugins/justify/lang/eu.js b/sources/plugins/justify/lang/eu.js
index dfcc507..f7d291e 100644
--- a/sources/plugins/justify/lang/eu.js
+++ b/sources/plugins/justify/lang/eu.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'eu', { 5CKEDITOR.plugins.setLang( 'justify', 'eu', {
diff --git a/sources/plugins/justify/lang/fa.js b/sources/plugins/justify/lang/fa.js
index ed6e14e..03c3c6b 100644
--- a/sources/plugins/justify/lang/fa.js
+++ b/sources/plugins/justify/lang/fa.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'fa', { 5CKEDITOR.plugins.setLang( 'justify', 'fa', {
diff --git a/sources/plugins/justify/lang/fi.js b/sources/plugins/justify/lang/fi.js
index 52ad58f..6993f10 100644
--- a/sources/plugins/justify/lang/fi.js
+++ b/sources/plugins/justify/lang/fi.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'fi', { 5CKEDITOR.plugins.setLang( 'justify', 'fi', {
diff --git a/sources/plugins/justify/lang/fo.js b/sources/plugins/justify/lang/fo.js
index 6705be4..f11a575 100644
--- a/sources/plugins/justify/lang/fo.js
+++ b/sources/plugins/justify/lang/fo.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'fo', { 5CKEDITOR.plugins.setLang( 'justify', 'fo', {
diff --git a/sources/plugins/justify/lang/fr-ca.js b/sources/plugins/justify/lang/fr-ca.js
index bb11f6e..8d59e5e 100644
--- a/sources/plugins/justify/lang/fr-ca.js
+++ b/sources/plugins/justify/lang/fr-ca.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'fr-ca', { 5CKEDITOR.plugins.setLang( 'justify', 'fr-ca', {
diff --git a/sources/plugins/justify/lang/fr.js b/sources/plugins/justify/lang/fr.js
index 348771c..e44df52 100644
--- a/sources/plugins/justify/lang/fr.js
+++ b/sources/plugins/justify/lang/fr.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'fr', { 5CKEDITOR.plugins.setLang( 'justify', 'fr', {
diff --git a/sources/plugins/justify/lang/gl.js b/sources/plugins/justify/lang/gl.js
index 0fdd269..1995e8c 100644
--- a/sources/plugins/justify/lang/gl.js
+++ b/sources/plugins/justify/lang/gl.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'gl', { 5CKEDITOR.plugins.setLang( 'justify', 'gl', {
diff --git a/sources/plugins/justify/lang/gu.js b/sources/plugins/justify/lang/gu.js
index a59efa7..d491684 100644
--- a/sources/plugins/justify/lang/gu.js
+++ b/sources/plugins/justify/lang/gu.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'gu', { 5CKEDITOR.plugins.setLang( 'justify', 'gu', {
diff --git a/sources/plugins/justify/lang/he.js b/sources/plugins/justify/lang/he.js
index 92e7c9c..ab5c759 100644
--- a/sources/plugins/justify/lang/he.js
+++ b/sources/plugins/justify/lang/he.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'he', { 5CKEDITOR.plugins.setLang( 'justify', 'he', {
diff --git a/sources/plugins/justify/lang/hi.js b/sources/plugins/justify/lang/hi.js
index 4606e3d..6a4fae8 100644
--- a/sources/plugins/justify/lang/hi.js
+++ b/sources/plugins/justify/lang/hi.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'hi', { 5CKEDITOR.plugins.setLang( 'justify', 'hi', {
diff --git a/sources/plugins/justify/lang/hr.js b/sources/plugins/justify/lang/hr.js
index 79282d9..852c686 100644
--- a/sources/plugins/justify/lang/hr.js
+++ b/sources/plugins/justify/lang/hr.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'hr', { 5CKEDITOR.plugins.setLang( 'justify', 'hr', {
diff --git a/sources/plugins/justify/lang/hu.js b/sources/plugins/justify/lang/hu.js
index 0aaff0f..c7b8dad 100644
--- a/sources/plugins/justify/lang/hu.js
+++ b/sources/plugins/justify/lang/hu.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'hu', { 5CKEDITOR.plugins.setLang( 'justify', 'hu', {
diff --git a/sources/plugins/justify/lang/id.js b/sources/plugins/justify/lang/id.js
index 297ae8e..d67247c 100644
--- a/sources/plugins/justify/lang/id.js
+++ b/sources/plugins/justify/lang/id.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'id', { 5CKEDITOR.plugins.setLang( 'justify', 'id', {
diff --git a/sources/plugins/justify/lang/is.js b/sources/plugins/justify/lang/is.js
index c2f6ad4..d01a43a 100644
--- a/sources/plugins/justify/lang/is.js
+++ b/sources/plugins/justify/lang/is.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'is', { 5CKEDITOR.plugins.setLang( 'justify', 'is', {
diff --git a/sources/plugins/justify/lang/it.js b/sources/plugins/justify/lang/it.js
index 10fc772..fd4ae51 100644
--- a/sources/plugins/justify/lang/it.js
+++ b/sources/plugins/justify/lang/it.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'it', { 5CKEDITOR.plugins.setLang( 'justify', 'it', {
diff --git a/sources/plugins/justify/lang/ja.js b/sources/plugins/justify/lang/ja.js
index 5665a8b..6c71c86 100644
--- a/sources/plugins/justify/lang/ja.js
+++ b/sources/plugins/justify/lang/ja.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ja', { 5CKEDITOR.plugins.setLang( 'justify', 'ja', {
diff --git a/sources/plugins/justify/lang/ka.js b/sources/plugins/justify/lang/ka.js
index b80d2ef..4ba0bcb 100644
--- a/sources/plugins/justify/lang/ka.js
+++ b/sources/plugins/justify/lang/ka.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ka', { 5CKEDITOR.plugins.setLang( 'justify', 'ka', {
diff --git a/sources/plugins/justify/lang/km.js b/sources/plugins/justify/lang/km.js
index 6161873..a7546c3 100644
--- a/sources/plugins/justify/lang/km.js
+++ b/sources/plugins/justify/lang/km.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'km', { 5CKEDITOR.plugins.setLang( 'justify', 'km', {
diff --git a/sources/plugins/justify/lang/ko.js b/sources/plugins/justify/lang/ko.js
index 13c155c..346405d 100644
--- a/sources/plugins/justify/lang/ko.js
+++ b/sources/plugins/justify/lang/ko.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ko', { 5CKEDITOR.plugins.setLang( 'justify', 'ko', {
diff --git a/sources/plugins/justify/lang/ku.js b/sources/plugins/justify/lang/ku.js
index 794b588..24ed914 100644
--- a/sources/plugins/justify/lang/ku.js
+++ b/sources/plugins/justify/lang/ku.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ku', { 5CKEDITOR.plugins.setLang( 'justify', 'ku', {
diff --git a/sources/plugins/justify/lang/lt.js b/sources/plugins/justify/lang/lt.js
index 1b373fd..08202cb 100644
--- a/sources/plugins/justify/lang/lt.js
+++ b/sources/plugins/justify/lang/lt.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'lt', { 5CKEDITOR.plugins.setLang( 'justify', 'lt', {
diff --git a/sources/plugins/justify/lang/lv.js b/sources/plugins/justify/lang/lv.js
index e20fe95..8c729c9 100644
--- a/sources/plugins/justify/lang/lv.js
+++ b/sources/plugins/justify/lang/lv.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'lv', { 5CKEDITOR.plugins.setLang( 'justify', 'lv', {
diff --git a/sources/plugins/justify/lang/mk.js b/sources/plugins/justify/lang/mk.js
index eb9d847..f45fb19 100644
--- a/sources/plugins/justify/lang/mk.js
+++ b/sources/plugins/justify/lang/mk.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'mk', { 5CKEDITOR.plugins.setLang( 'justify', 'mk', {
diff --git a/sources/plugins/justify/lang/mn.js b/sources/plugins/justify/lang/mn.js
index ff904dd..850e474 100644
--- a/sources/plugins/justify/lang/mn.js
+++ b/sources/plugins/justify/lang/mn.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'mn', { 5CKEDITOR.plugins.setLang( 'justify', 'mn', {
diff --git a/sources/plugins/justify/lang/ms.js b/sources/plugins/justify/lang/ms.js
index 41d736b..323f8e9 100644
--- a/sources/plugins/justify/lang/ms.js
+++ b/sources/plugins/justify/lang/ms.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ms', { 5CKEDITOR.plugins.setLang( 'justify', 'ms', {
diff --git a/sources/plugins/justify/lang/nb.js b/sources/plugins/justify/lang/nb.js
index aac1f86..98a3c44 100644
--- a/sources/plugins/justify/lang/nb.js
+++ b/sources/plugins/justify/lang/nb.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'nb', { 5CKEDITOR.plugins.setLang( 'justify', 'nb', {
diff --git a/sources/plugins/justify/lang/nl.js b/sources/plugins/justify/lang/nl.js
index 3b33e46..972bf82 100644
--- a/sources/plugins/justify/lang/nl.js
+++ b/sources/plugins/justify/lang/nl.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'nl', { 5CKEDITOR.plugins.setLang( 'justify', 'nl', {
diff --git a/sources/plugins/justify/lang/no.js b/sources/plugins/justify/lang/no.js
index c77daaa..cfcd72a 100644
--- a/sources/plugins/justify/lang/no.js
+++ b/sources/plugins/justify/lang/no.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'no', { 5CKEDITOR.plugins.setLang( 'justify', 'no', {
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
index 07f9807..60922b9 100644
--- a/sources/plugins/justify/lang/pl.js
+++ b/sources/plugins/justify/lang/pl.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'pl', { 5CKEDITOR.plugins.setLang( 'justify', 'pl', {
diff --git a/sources/plugins/justify/lang/pt-br.js b/sources/plugins/justify/lang/pt-br.js
index bb63097..cf40ad0 100644
--- a/sources/plugins/justify/lang/pt-br.js
+++ b/sources/plugins/justify/lang/pt-br.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'pt-br', { 5CKEDITOR.plugins.setLang( 'justify', 'pt-br', {
diff --git a/sources/plugins/justify/lang/pt.js b/sources/plugins/justify/lang/pt.js
index f1f233a..46ac43b 100644
--- a/sources/plugins/justify/lang/pt.js
+++ b/sources/plugins/justify/lang/pt.js
@@ -1,10 +1,10 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'pt', { 5CKEDITOR.plugins.setLang( 'justify', 'pt', {
6 block: 'Justificado', 6 block: 'Justificado',
7 center: 'Alinhar ao Centro', 7 center: 'Alinhar ao centro',
8 left: 'Alinhar à esquerda', 8 left: 'Alinhar à esquerda',
9 right: 'Alinhar à direita' 9 right: 'Alinhar à direita'
10} ); 10} );
diff --git a/sources/plugins/justify/lang/ro.js b/sources/plugins/justify/lang/ro.js
index 3ef171b..21caeca 100644
--- a/sources/plugins/justify/lang/ro.js
+++ b/sources/plugins/justify/lang/ro.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ro', { 5CKEDITOR.plugins.setLang( 'justify', 'ro', {
diff --git a/sources/plugins/justify/lang/ru.js b/sources/plugins/justify/lang/ru.js
index 5198476..47c98bb 100644
--- a/sources/plugins/justify/lang/ru.js
+++ b/sources/plugins/justify/lang/ru.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ru', { 5CKEDITOR.plugins.setLang( 'justify', 'ru', {
diff --git a/sources/plugins/justify/lang/si.js b/sources/plugins/justify/lang/si.js
index a29953e..6d9f373 100644
--- a/sources/plugins/justify/lang/si.js
+++ b/sources/plugins/justify/lang/si.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'si', { 5CKEDITOR.plugins.setLang( 'justify', 'si', {
diff --git a/sources/plugins/justify/lang/sk.js b/sources/plugins/justify/lang/sk.js
index f749df5..08c3991 100644
--- a/sources/plugins/justify/lang/sk.js
+++ b/sources/plugins/justify/lang/sk.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'sk', { 5CKEDITOR.plugins.setLang( 'justify', 'sk', {
diff --git a/sources/plugins/justify/lang/sl.js b/sources/plugins/justify/lang/sl.js
index bd4cd0b..d776354 100644
--- a/sources/plugins/justify/lang/sl.js
+++ b/sources/plugins/justify/lang/sl.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'sl', { 5CKEDITOR.plugins.setLang( 'justify', 'sl', {
diff --git a/sources/plugins/justify/lang/sq.js b/sources/plugins/justify/lang/sq.js
index b184d79..1ed002c 100644
--- a/sources/plugins/justify/lang/sq.js
+++ b/sources/plugins/justify/lang/sq.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'sq', { 5CKEDITOR.plugins.setLang( 'justify', 'sq', {
diff --git a/sources/plugins/justify/lang/sr-latn.js b/sources/plugins/justify/lang/sr-latn.js
index 978c540..7fdba23 100644
--- a/sources/plugins/justify/lang/sr-latn.js
+++ b/sources/plugins/justify/lang/sr-latn.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'sr-latn', { 5CKEDITOR.plugins.setLang( 'justify', 'sr-latn', {
diff --git a/sources/plugins/justify/lang/sr.js b/sources/plugins/justify/lang/sr.js
index 062b368..2314a96 100644
--- a/sources/plugins/justify/lang/sr.js
+++ b/sources/plugins/justify/lang/sr.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'sr', { 5CKEDITOR.plugins.setLang( 'justify', 'sr', {
diff --git a/sources/plugins/justify/lang/sv.js b/sources/plugins/justify/lang/sv.js
index 9e798ac..cac94c0 100644
--- a/sources/plugins/justify/lang/sv.js
+++ b/sources/plugins/justify/lang/sv.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'sv', { 5CKEDITOR.plugins.setLang( 'justify', 'sv', {
diff --git a/sources/plugins/justify/lang/th.js b/sources/plugins/justify/lang/th.js
index da8a403..4a9d4f9 100644
--- a/sources/plugins/justify/lang/th.js
+++ b/sources/plugins/justify/lang/th.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'th', { 5CKEDITOR.plugins.setLang( 'justify', 'th', {
diff --git a/sources/plugins/justify/lang/tr.js b/sources/plugins/justify/lang/tr.js
index 661782c..fbc512f 100644
--- a/sources/plugins/justify/lang/tr.js
+++ b/sources/plugins/justify/lang/tr.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'tr', { 5CKEDITOR.plugins.setLang( 'justify', 'tr', {
diff --git a/sources/plugins/justify/lang/tt.js b/sources/plugins/justify/lang/tt.js
index a6b41a1..b36f69c 100644
--- a/sources/plugins/justify/lang/tt.js
+++ b/sources/plugins/justify/lang/tt.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'tt', { 5CKEDITOR.plugins.setLang( 'justify', 'tt', {
diff --git a/sources/plugins/justify/lang/ug.js b/sources/plugins/justify/lang/ug.js
index 6c71c49..e5861f5 100644
--- a/sources/plugins/justify/lang/ug.js
+++ b/sources/plugins/justify/lang/ug.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'ug', { 5CKEDITOR.plugins.setLang( 'justify', 'ug', {
diff --git a/sources/plugins/justify/lang/uk.js b/sources/plugins/justify/lang/uk.js
index 55ee9c4..5807f25 100644
--- a/sources/plugins/justify/lang/uk.js
+++ b/sources/plugins/justify/lang/uk.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'uk', { 5CKEDITOR.plugins.setLang( 'justify', 'uk', {
diff --git a/sources/plugins/justify/lang/vi.js b/sources/plugins/justify/lang/vi.js
index 0d9dce2..de0c170 100644
--- a/sources/plugins/justify/lang/vi.js
+++ b/sources/plugins/justify/lang/vi.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'vi', { 5CKEDITOR.plugins.setLang( 'justify', 'vi', {
diff --git a/sources/plugins/justify/lang/zh-cn.js b/sources/plugins/justify/lang/zh-cn.js
index f1d3df4..4c19627 100644
--- a/sources/plugins/justify/lang/zh-cn.js
+++ b/sources/plugins/justify/lang/zh-cn.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'zh-cn', { 5CKEDITOR.plugins.setLang( 'justify', 'zh-cn', {
diff --git a/sources/plugins/justify/lang/zh.js b/sources/plugins/justify/lang/zh.js
index 9cdd4fc..0865d51 100644
--- a/sources/plugins/justify/lang/zh.js
+++ b/sources/plugins/justify/lang/zh.js
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license 3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'justify', 'zh', { 5CKEDITOR.plugins.setLang( 'justify', 'zh', {
diff --git a/sources/plugins/justify/plugin.js b/sources/plugins/justify/plugin.js
index 15163b8..21b9221 100644
--- a/sources/plugins/justify/plugin.js
+++ b/sources/plugins/justify/plugin.js
@@ -1,5 +1,5 @@
1/** 1/**
2 * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license 3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */ 4 */
5 5
@@ -37,7 +37,6 @@
37 this.name = name; 37 this.name = name;
38 this.value = value; 38 this.value = value;
39 this.context = 'p'; 39 this.context = 'p';
40
41 var classes = editor.config.justifyClasses, 40 var classes = editor.config.justifyClasses,
42 blockTag = editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div'; 41 blockTag = editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div';
43 42
@@ -150,6 +149,17 @@
150 if ( block.isReadOnly() ) 149 if ( block.isReadOnly() )
151 continue; 150 continue;
152 151
152 // Check if style or class might be applied to currently processed element (#455).
153 var tag = block.getName(),
154 isAllowedTextAlign, isAllowedCssClass;
155
156 isAllowedTextAlign = editor.activeFilter.check( tag + '{text-align}' );
157 isAllowedCssClass = editor.activeFilter.check( tag + '(' + cssClassName + ')' );
158
159 if ( !isAllowedCssClass && !isAllowedTextAlign ) {
160 continue;
161 }
162
153 block.removeAttribute( 'align' ); 163 block.removeAttribute( 'align' );
154 block.removeStyle( 'text-align' ); 164 block.removeStyle( 'text-align' );
155 165
@@ -158,13 +168,13 @@
158 168
159 var apply = ( this.state == CKEDITOR.TRISTATE_OFF ) && ( !useComputedState || ( getAlignment( block, true ) != this.value ) ); 169 var apply = ( this.state == CKEDITOR.TRISTATE_OFF ) && ( !useComputedState || ( getAlignment( block, true ) != this.value ) );
160 170
161 if ( cssClassName ) { 171 if ( cssClassName && isAllowedCssClass ) {
162 // Append the desired class name. 172 // Append the desired class name.
163 if ( apply ) 173 if ( apply )
164 block.addClass( cssClassName ); 174 block.addClass( cssClassName );
165 else if ( !className ) 175 else if ( !className )
166 block.removeAttribute( 'class' ); 176 block.removeAttribute( 'class' );
167 } else if ( apply ) { 177 } else if ( apply && isAllowedTextAlign ) {
168 block.setStyle( 'text-align', this.value ); 178 block.setStyle( 'text-align', this.value );
169 } 179 }
170 } 180 }
@@ -177,15 +187,31 @@
177 }, 187 },
178 188
179 refresh: function( editor, path ) { 189 refresh: function( editor, path ) {
180 var firstBlock = path.block || path.blockLimit; 190 var firstBlock = path.block || path.blockLimit,
181 191 name = firstBlock.getName(),
182 this.setState( firstBlock.getName() != 'body' && getAlignment( firstBlock, this.editor.config.useComputedState ) == this.value ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF ); 192 isEditable = firstBlock.equals( editor.editable() ),
193 isStylable = this.cssClassName ? editor.activeFilter.check( name + '(' + this.cssClassName + ')' ) :
194 editor.activeFilter.check( name + '{text-align}' );
195
196 // #455
197 // 1. Check if we are directly in editbale. Justification should be always allowed, and not highlighted.
198 // Checking path.elements.length is required to filter out situation `body > ul` where ul is selected and path.blockLimit returns editable.
199 // 2. Check if current element can have applied specific class.
200 // 3. Check if current element can have applied text-align style.
201 if ( isEditable && path.elements.length === 1 ) {
202 this.setState( CKEDITOR.TRISTATE_OFF );
203 } else if ( !isEditable && isStylable ) {
204 // 2 & 3 in one condition.
205 this.setState( getAlignment( firstBlock, this.editor.config.useComputedState ) == this.value ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
206 } else {
207 this.setState( CKEDITOR.TRISTATE_DISABLED );
208 }
183 } 209 }
184 }; 210 };
185 211
186 CKEDITOR.plugins.add( 'justify', { 212 CKEDITOR.plugins.add( 'justify', {
187 // jscs:disable maximumLineLength 213 // jscs:disable maximumLineLength
188 lang: 'af,ar,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,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% 214 lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,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 215 // jscs:enable maximumLineLength
190 icons: 'justifyblock,justifycenter,justifyleft,justifyright', // %REMOVE_LINE_CORE% 216 icons: 'justifyblock,justifycenter,justifyleft,justifyright', // %REMOVE_LINE_CORE%
191 hidpi: true, // %REMOVE_LINE_CORE% 217 hidpi: true, // %REMOVE_LINE_CORE%
@@ -225,7 +251,6 @@
225 toolbar: 'align,40' 251 toolbar: 'align,40'
226 } ); 252 } );
227 } 253 }
228
229 editor.on( 'dirChanged', onDirChanged ); 254 editor.on( 'dirChanged', onDirChanged );
230 } 255 }
231 } ); 256 } );