From 7adcb81e4f83f98c468889aaa5a85558ba88c770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 25 Jan 2016 17:45:33 +0100 Subject: Initial commit --- .../plugins/justify/icons/hidpi/justifyblock.png | Bin 0 -> 882 bytes .../plugins/justify/icons/hidpi/justifycenter.png | Bin 0 -> 1142 bytes .../plugins/justify/icons/hidpi/justifyleft.png | Bin 0 -> 1042 bytes .../plugins/justify/icons/hidpi/justifyright.png | Bin 0 -> 1048 bytes sources/plugins/justify/icons/justifyblock.png | Bin 0 -> 496 bytes sources/plugins/justify/icons/justifycenter.png | Bin 0 -> 609 bytes sources/plugins/justify/icons/justifyleft.png | Bin 0 -> 558 bytes sources/plugins/justify/icons/justifyright.png | Bin 0 -> 554 bytes sources/plugins/justify/lang/af.js | 10 + sources/plugins/justify/lang/ar.js | 10 + sources/plugins/justify/lang/bg.js | 10 + sources/plugins/justify/lang/bn.js | 10 + sources/plugins/justify/lang/bs.js | 10 + sources/plugins/justify/lang/ca.js | 10 + sources/plugins/justify/lang/cs.js | 10 + sources/plugins/justify/lang/cy.js | 10 + sources/plugins/justify/lang/da.js | 10 + sources/plugins/justify/lang/de.js | 10 + sources/plugins/justify/lang/el.js | 10 + sources/plugins/justify/lang/en-au.js | 10 + sources/plugins/justify/lang/en-ca.js | 10 + sources/plugins/justify/lang/en-gb.js | 10 + sources/plugins/justify/lang/en.js | 10 + sources/plugins/justify/lang/eo.js | 10 + sources/plugins/justify/lang/es.js | 10 + sources/plugins/justify/lang/et.js | 10 + sources/plugins/justify/lang/eu.js | 10 + sources/plugins/justify/lang/fa.js | 10 + sources/plugins/justify/lang/fi.js | 10 + sources/plugins/justify/lang/fo.js | 10 + sources/plugins/justify/lang/fr-ca.js | 10 + sources/plugins/justify/lang/fr.js | 10 + sources/plugins/justify/lang/gl.js | 10 + sources/plugins/justify/lang/gu.js | 10 + sources/plugins/justify/lang/he.js | 10 + sources/plugins/justify/lang/hi.js | 10 + sources/plugins/justify/lang/hr.js | 10 + sources/plugins/justify/lang/hu.js | 10 + sources/plugins/justify/lang/id.js | 10 + sources/plugins/justify/lang/is.js | 10 + sources/plugins/justify/lang/it.js | 10 + sources/plugins/justify/lang/ja.js | 10 + sources/plugins/justify/lang/ka.js | 10 + sources/plugins/justify/lang/km.js | 10 + sources/plugins/justify/lang/ko.js | 10 + sources/plugins/justify/lang/ku.js | 10 + sources/plugins/justify/lang/lt.js | 10 + sources/plugins/justify/lang/lv.js | 10 + sources/plugins/justify/lang/mk.js | 10 + sources/plugins/justify/lang/mn.js | 10 + sources/plugins/justify/lang/ms.js | 10 + sources/plugins/justify/lang/nb.js | 10 + sources/plugins/justify/lang/nl.js | 10 + sources/plugins/justify/lang/no.js | 10 + sources/plugins/justify/lang/pl.js | 10 + sources/plugins/justify/lang/pt-br.js | 10 + sources/plugins/justify/lang/pt.js | 10 + sources/plugins/justify/lang/ro.js | 10 + sources/plugins/justify/lang/ru.js | 10 + sources/plugins/justify/lang/si.js | 10 + sources/plugins/justify/lang/sk.js | 10 + sources/plugins/justify/lang/sl.js | 10 + sources/plugins/justify/lang/sq.js | 10 + sources/plugins/justify/lang/sr-latn.js | 10 + sources/plugins/justify/lang/sr.js | 10 + sources/plugins/justify/lang/sv.js | 10 + sources/plugins/justify/lang/th.js | 10 + sources/plugins/justify/lang/tr.js | 10 + sources/plugins/justify/lang/tt.js | 10 + sources/plugins/justify/lang/ug.js | 10 + sources/plugins/justify/lang/uk.js | 10 + sources/plugins/justify/lang/vi.js | 10 + sources/plugins/justify/lang/zh-cn.js | 10 + sources/plugins/justify/lang/zh.js | 10 + sources/plugins/justify/plugin.js | 245 +++++++++++++++++++++ 75 files changed, 905 insertions(+) create mode 100644 sources/plugins/justify/icons/hidpi/justifyblock.png create mode 100644 sources/plugins/justify/icons/hidpi/justifycenter.png create mode 100644 sources/plugins/justify/icons/hidpi/justifyleft.png create mode 100644 sources/plugins/justify/icons/hidpi/justifyright.png create mode 100644 sources/plugins/justify/icons/justifyblock.png create mode 100644 sources/plugins/justify/icons/justifycenter.png create mode 100644 sources/plugins/justify/icons/justifyleft.png create mode 100644 sources/plugins/justify/icons/justifyright.png create mode 100644 sources/plugins/justify/lang/af.js create mode 100644 sources/plugins/justify/lang/ar.js create mode 100644 sources/plugins/justify/lang/bg.js create mode 100644 sources/plugins/justify/lang/bn.js create mode 100644 sources/plugins/justify/lang/bs.js create mode 100644 sources/plugins/justify/lang/ca.js create mode 100644 sources/plugins/justify/lang/cs.js create mode 100644 sources/plugins/justify/lang/cy.js create mode 100644 sources/plugins/justify/lang/da.js create mode 100644 sources/plugins/justify/lang/de.js create mode 100644 sources/plugins/justify/lang/el.js create mode 100644 sources/plugins/justify/lang/en-au.js create mode 100644 sources/plugins/justify/lang/en-ca.js create mode 100644 sources/plugins/justify/lang/en-gb.js create mode 100644 sources/plugins/justify/lang/en.js create mode 100644 sources/plugins/justify/lang/eo.js create mode 100644 sources/plugins/justify/lang/es.js create mode 100644 sources/plugins/justify/lang/et.js create mode 100644 sources/plugins/justify/lang/eu.js create mode 100644 sources/plugins/justify/lang/fa.js create mode 100644 sources/plugins/justify/lang/fi.js create mode 100644 sources/plugins/justify/lang/fo.js create mode 100644 sources/plugins/justify/lang/fr-ca.js create mode 100644 sources/plugins/justify/lang/fr.js create mode 100644 sources/plugins/justify/lang/gl.js create mode 100644 sources/plugins/justify/lang/gu.js create mode 100644 sources/plugins/justify/lang/he.js create mode 100644 sources/plugins/justify/lang/hi.js create mode 100644 sources/plugins/justify/lang/hr.js create mode 100644 sources/plugins/justify/lang/hu.js create mode 100644 sources/plugins/justify/lang/id.js create mode 100644 sources/plugins/justify/lang/is.js create mode 100644 sources/plugins/justify/lang/it.js create mode 100644 sources/plugins/justify/lang/ja.js create mode 100644 sources/plugins/justify/lang/ka.js create mode 100644 sources/plugins/justify/lang/km.js create mode 100644 sources/plugins/justify/lang/ko.js create mode 100644 sources/plugins/justify/lang/ku.js create mode 100644 sources/plugins/justify/lang/lt.js create mode 100644 sources/plugins/justify/lang/lv.js create mode 100644 sources/plugins/justify/lang/mk.js create mode 100644 sources/plugins/justify/lang/mn.js create mode 100644 sources/plugins/justify/lang/ms.js create mode 100644 sources/plugins/justify/lang/nb.js create mode 100644 sources/plugins/justify/lang/nl.js create mode 100644 sources/plugins/justify/lang/no.js create mode 100644 sources/plugins/justify/lang/pl.js create mode 100644 sources/plugins/justify/lang/pt-br.js create mode 100644 sources/plugins/justify/lang/pt.js create mode 100644 sources/plugins/justify/lang/ro.js create mode 100644 sources/plugins/justify/lang/ru.js create mode 100644 sources/plugins/justify/lang/si.js create mode 100644 sources/plugins/justify/lang/sk.js create mode 100644 sources/plugins/justify/lang/sl.js create mode 100644 sources/plugins/justify/lang/sq.js create mode 100644 sources/plugins/justify/lang/sr-latn.js create mode 100644 sources/plugins/justify/lang/sr.js create mode 100644 sources/plugins/justify/lang/sv.js create mode 100644 sources/plugins/justify/lang/th.js create mode 100644 sources/plugins/justify/lang/tr.js create mode 100644 sources/plugins/justify/lang/tt.js create mode 100644 sources/plugins/justify/lang/ug.js create mode 100644 sources/plugins/justify/lang/uk.js create mode 100644 sources/plugins/justify/lang/vi.js create mode 100644 sources/plugins/justify/lang/zh-cn.js create mode 100644 sources/plugins/justify/lang/zh.js create mode 100644 sources/plugins/justify/plugin.js (limited to 'sources/plugins/justify') diff --git a/sources/plugins/justify/icons/hidpi/justifyblock.png b/sources/plugins/justify/icons/hidpi/justifyblock.png new file mode 100644 index 00000000..7209fd41 Binary files /dev/null and b/sources/plugins/justify/icons/hidpi/justifyblock.png differ diff --git a/sources/plugins/justify/icons/hidpi/justifycenter.png b/sources/plugins/justify/icons/hidpi/justifycenter.png new file mode 100644 index 00000000..365e3205 Binary files /dev/null and b/sources/plugins/justify/icons/hidpi/justifycenter.png differ diff --git a/sources/plugins/justify/icons/hidpi/justifyleft.png b/sources/plugins/justify/icons/hidpi/justifyleft.png new file mode 100644 index 00000000..75308c12 Binary files /dev/null and b/sources/plugins/justify/icons/hidpi/justifyleft.png differ diff --git a/sources/plugins/justify/icons/hidpi/justifyright.png b/sources/plugins/justify/icons/hidpi/justifyright.png new file mode 100644 index 00000000..de7c3d45 Binary files /dev/null and b/sources/plugins/justify/icons/hidpi/justifyright.png differ diff --git a/sources/plugins/justify/icons/justifyblock.png b/sources/plugins/justify/icons/justifyblock.png new file mode 100644 index 00000000..a507be1b Binary files /dev/null and b/sources/plugins/justify/icons/justifyblock.png differ diff --git a/sources/plugins/justify/icons/justifycenter.png b/sources/plugins/justify/icons/justifycenter.png new file mode 100644 index 00000000..f758bc42 Binary files /dev/null and b/sources/plugins/justify/icons/justifycenter.png differ diff --git a/sources/plugins/justify/icons/justifyleft.png b/sources/plugins/justify/icons/justifyleft.png new file mode 100644 index 00000000..542ddee3 Binary files /dev/null and b/sources/plugins/justify/icons/justifyleft.png differ diff --git a/sources/plugins/justify/icons/justifyright.png b/sources/plugins/justify/icons/justifyright.png new file mode 100644 index 00000000..71a983c9 Binary files /dev/null and b/sources/plugins/justify/icons/justifyright.png differ diff --git a/sources/plugins/justify/lang/af.js b/sources/plugins/justify/lang/af.js new file mode 100644 index 00000000..5c427be2 --- /dev/null +++ b/sources/plugins/justify/lang/af.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'af', { + block: 'Uitvul', + center: 'Sentreer', + left: 'Links oplyn', + right: 'Regs oplyn' +} ); diff --git a/sources/plugins/justify/lang/ar.js b/sources/plugins/justify/lang/ar.js new file mode 100644 index 00000000..b71602da --- /dev/null +++ b/sources/plugins/justify/lang/ar.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ar', { + block: 'ضبط', + center: 'توسيط', + left: 'محاذاة إلى اليسار', + right: 'محاذاة إلى اليمين' +} ); diff --git a/sources/plugins/justify/lang/bg.js b/sources/plugins/justify/lang/bg.js new file mode 100644 index 00000000..9c292f59 --- /dev/null +++ b/sources/plugins/justify/lang/bg.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'bg', { + block: 'Двустранно подравняване', + center: 'Център', + left: 'Подравни в ляво', + right: 'Подравни в дясно' +} ); diff --git a/sources/plugins/justify/lang/bn.js b/sources/plugins/justify/lang/bn.js new file mode 100644 index 00000000..6db6d790 --- /dev/null +++ b/sources/plugins/justify/lang/bn.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'bn', { + block: 'ব্লক জাস্টিফাই', + center: 'মাঝ বরাবর ঘেষা', + left: 'বা দিকে ঘেঁষা', + right: 'ডান দিকে ঘেঁষা' +} ); diff --git a/sources/plugins/justify/lang/bs.js b/sources/plugins/justify/lang/bs.js new file mode 100644 index 00000000..c8c05a66 --- /dev/null +++ b/sources/plugins/justify/lang/bs.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'bs', { + block: 'Puno poravnanje', + center: 'Centralno poravnanje', + left: 'Lijevo poravnanje', + right: 'Desno poravnanje' +} ); diff --git a/sources/plugins/justify/lang/ca.js b/sources/plugins/justify/lang/ca.js new file mode 100644 index 00000000..19fd7ff5 --- /dev/null +++ b/sources/plugins/justify/lang/ca.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ca', { + block: 'Justificat', + center: 'Centrat', + left: 'Alinea a l\'esquerra', + right: 'Alinea a la dreta' +} ); diff --git a/sources/plugins/justify/lang/cs.js b/sources/plugins/justify/lang/cs.js new file mode 100644 index 00000000..2463cde9 --- /dev/null +++ b/sources/plugins/justify/lang/cs.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'cs', { + block: 'Zarovnat do bloku', + center: 'Zarovnat na střed', + left: 'Zarovnat vlevo', + right: 'Zarovnat vpravo' +} ); diff --git a/sources/plugins/justify/lang/cy.js b/sources/plugins/justify/lang/cy.js new file mode 100644 index 00000000..95b8ac39 --- /dev/null +++ b/sources/plugins/justify/lang/cy.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'cy', { + block: 'Unioni', + center: 'Alinio i\'r Canol', + left: 'Alinio i\'r Chwith', + right: 'Alinio i\'r Dde' +} ); diff --git a/sources/plugins/justify/lang/da.js b/sources/plugins/justify/lang/da.js new file mode 100644 index 00000000..433e127b --- /dev/null +++ b/sources/plugins/justify/lang/da.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'da', { + block: 'Lige margener', + center: 'Centreret', + left: 'Venstrestillet', + right: 'Højrestillet' +} ); diff --git a/sources/plugins/justify/lang/de.js b/sources/plugins/justify/lang/de.js new file mode 100644 index 00000000..d1d5ba3a --- /dev/null +++ b/sources/plugins/justify/lang/de.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'de', { + block: 'Blocksatz', + center: 'Zentriert', + left: 'Linksbündig', + right: 'Rechtsbündig' +} ); diff --git a/sources/plugins/justify/lang/el.js b/sources/plugins/justify/lang/el.js new file mode 100644 index 00000000..9930e3a0 --- /dev/null +++ b/sources/plugins/justify/lang/el.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'el', { + block: 'Πλήρης Στοίχιση', + center: 'Στο Κέντρο', + left: 'Στοίχιση Αριστερά', + right: 'Στοίχιση Δεξιά' +} ); diff --git a/sources/plugins/justify/lang/en-au.js b/sources/plugins/justify/lang/en-au.js new file mode 100644 index 00000000..76019272 --- /dev/null +++ b/sources/plugins/justify/lang/en-au.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'en-au', { + block: 'Justify', + center: 'Centre', + left: 'Align Left', + right: 'Align Right' +} ); diff --git a/sources/plugins/justify/lang/en-ca.js b/sources/plugins/justify/lang/en-ca.js new file mode 100644 index 00000000..b97a749c --- /dev/null +++ b/sources/plugins/justify/lang/en-ca.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'en-ca', { + block: 'Justify', + center: 'Centre', + left: 'Align Left', + right: 'Align Right' +} ); diff --git a/sources/plugins/justify/lang/en-gb.js b/sources/plugins/justify/lang/en-gb.js new file mode 100644 index 00000000..66c27864 --- /dev/null +++ b/sources/plugins/justify/lang/en-gb.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'en-gb', { + block: 'Justify', + center: 'Centre', + left: 'Align Left', + right: 'Align Right' +} ); diff --git a/sources/plugins/justify/lang/en.js b/sources/plugins/justify/lang/en.js new file mode 100644 index 00000000..c8054a66 --- /dev/null +++ b/sources/plugins/justify/lang/en.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'en', { + block: 'Justify', + center: 'Center', + left: 'Align Left', + right: 'Align Right' +} ); diff --git a/sources/plugins/justify/lang/eo.js b/sources/plugins/justify/lang/eo.js new file mode 100644 index 00000000..9dc56c1e --- /dev/null +++ b/sources/plugins/justify/lang/eo.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'eo', { + block: 'Ĝisrandigi Ambaŭflanke', + center: 'Centrigi', + left: 'Ĝisrandigi maldekstren', + right: 'Ĝisrandigi dekstren' +} ); diff --git a/sources/plugins/justify/lang/es.js b/sources/plugins/justify/lang/es.js new file mode 100644 index 00000000..1c26ef40 --- /dev/null +++ b/sources/plugins/justify/lang/es.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'es', { + block: 'Justificado', + center: 'Centrar', + left: 'Alinear a Izquierda', + right: 'Alinear a Derecha' +} ); diff --git a/sources/plugins/justify/lang/et.js b/sources/plugins/justify/lang/et.js new file mode 100644 index 00000000..f91a575d --- /dev/null +++ b/sources/plugins/justify/lang/et.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'et', { + block: 'Rööpjoondus', + center: 'Keskjoondus', + left: 'Vasakjoondus', + right: 'Paremjoondus' +} ); diff --git a/sources/plugins/justify/lang/eu.js b/sources/plugins/justify/lang/eu.js new file mode 100644 index 00000000..3becc223 --- /dev/null +++ b/sources/plugins/justify/lang/eu.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'eu', { + block: 'Justifikatu', + center: 'Erdian', + left: 'Lerrokatu ezkerrean', + right: 'Lerrokatu eskuinean' +} ); diff --git a/sources/plugins/justify/lang/fa.js b/sources/plugins/justify/lang/fa.js new file mode 100644 index 00000000..4e8e3088 --- /dev/null +++ b/sources/plugins/justify/lang/fa.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'fa', { + block: 'بلوک چین', + center: 'میان چین', + left: 'چپ چین', + right: 'راست چین' +} ); diff --git a/sources/plugins/justify/lang/fi.js b/sources/plugins/justify/lang/fi.js new file mode 100644 index 00000000..52660877 --- /dev/null +++ b/sources/plugins/justify/lang/fi.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'fi', { + block: 'Tasaa molemmat reunat', + center: 'Keskitä', + left: 'Tasaa vasemmat reunat', + right: 'Tasaa oikeat reunat' +} ); diff --git a/sources/plugins/justify/lang/fo.js b/sources/plugins/justify/lang/fo.js new file mode 100644 index 00000000..8e8dec5b --- /dev/null +++ b/sources/plugins/justify/lang/fo.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'fo', { + block: 'Javnir tekstkantar', + center: 'Miðsett', + left: 'Vinstrasett', + right: 'Høgrasett' +} ); diff --git a/sources/plugins/justify/lang/fr-ca.js b/sources/plugins/justify/lang/fr-ca.js new file mode 100644 index 00000000..c72309e0 --- /dev/null +++ b/sources/plugins/justify/lang/fr-ca.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'fr-ca', { + block: 'Justifié', + center: 'Centré', + left: 'Aligner à gauche', + right: 'Aligner à Droite' +} ); diff --git a/sources/plugins/justify/lang/fr.js b/sources/plugins/justify/lang/fr.js new file mode 100644 index 00000000..f11cd9a9 --- /dev/null +++ b/sources/plugins/justify/lang/fr.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'fr', { + block: 'Justifier', + center: 'Centrer', + left: 'Aligner à gauche', + right: 'Aligner à droite' +} ); diff --git a/sources/plugins/justify/lang/gl.js b/sources/plugins/justify/lang/gl.js new file mode 100644 index 00000000..da83d3cc --- /dev/null +++ b/sources/plugins/justify/lang/gl.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'gl', { + block: 'Xustificado', + center: 'Centrado', + left: 'Aliñar á esquerda', + right: 'Aliñar á dereita' +} ); diff --git a/sources/plugins/justify/lang/gu.js b/sources/plugins/justify/lang/gu.js new file mode 100644 index 00000000..76bbc0c2 --- /dev/null +++ b/sources/plugins/justify/lang/gu.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'gu', { + block: 'બ્લૉક, અંતરાય જસ્ટિફાઇ', + center: 'સંકેંદ્રણ/સેંટરિંગ', + left: 'ડાબી બાજુએ/બાજુ તરફ', + right: 'જમણી બાજુએ/બાજુ તરફ' +} ); diff --git a/sources/plugins/justify/lang/he.js b/sources/plugins/justify/lang/he.js new file mode 100644 index 00000000..1bd4204a --- /dev/null +++ b/sources/plugins/justify/lang/he.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'he', { + block: 'יישור לשוליים', + center: 'מרכוז', + left: 'יישור לשמאל', + right: 'יישור לימין' +} ); diff --git a/sources/plugins/justify/lang/hi.js b/sources/plugins/justify/lang/hi.js new file mode 100644 index 00000000..2339f676 --- /dev/null +++ b/sources/plugins/justify/lang/hi.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'hi', { + block: 'ब्लॉक जस्टीफ़ाई', + center: 'बीच में', + left: 'बायीं तरफ', + right: 'दायीं तरफ' +} ); diff --git a/sources/plugins/justify/lang/hr.js b/sources/plugins/justify/lang/hr.js new file mode 100644 index 00000000..4db599ae --- /dev/null +++ b/sources/plugins/justify/lang/hr.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'hr', { + block: 'Blok poravnanje', + center: 'Središnje poravnanje', + left: 'Lijevo poravnanje', + right: 'Desno poravnanje' +} ); diff --git a/sources/plugins/justify/lang/hu.js b/sources/plugins/justify/lang/hu.js new file mode 100644 index 00000000..5e1a7990 --- /dev/null +++ b/sources/plugins/justify/lang/hu.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'hu', { + block: 'Sorkizárt', + center: 'Középre', + left: 'Balra', + right: 'Jobbra' +} ); diff --git a/sources/plugins/justify/lang/id.js b/sources/plugins/justify/lang/id.js new file mode 100644 index 00000000..7dc6aafe --- /dev/null +++ b/sources/plugins/justify/lang/id.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'id', { + block: 'Rata kiri-kanan', + center: 'Pusat', + left: 'Align Left', // MISSING + right: 'Align Right' // MISSING +} ); diff --git a/sources/plugins/justify/lang/is.js b/sources/plugins/justify/lang/is.js new file mode 100644 index 00000000..8d94c59b --- /dev/null +++ b/sources/plugins/justify/lang/is.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'is', { + block: 'Jafna báðum megin', + center: 'Miðja texta', + left: 'Vinstrijöfnun', + right: 'Hægrijöfnun' +} ); diff --git a/sources/plugins/justify/lang/it.js b/sources/plugins/justify/lang/it.js new file mode 100644 index 00000000..71060d6b --- /dev/null +++ b/sources/plugins/justify/lang/it.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'it', { + block: 'Giustifica', + center: 'Centra', + left: 'Allinea a sinistra', + right: 'Allinea a destra' +} ); diff --git a/sources/plugins/justify/lang/ja.js b/sources/plugins/justify/lang/ja.js new file mode 100644 index 00000000..ff972e4a --- /dev/null +++ b/sources/plugins/justify/lang/ja.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ja', { + block: '両端揃え', + center: '中央揃え', + left: '左揃え', + right: '右揃え' +} ); diff --git a/sources/plugins/justify/lang/ka.js b/sources/plugins/justify/lang/ka.js new file mode 100644 index 00000000..7479f064 --- /dev/null +++ b/sources/plugins/justify/lang/ka.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ka', { + block: 'გადასწორება', + center: 'შუაში სწორება', + left: 'მარცხნივ სწორება', + right: 'მარჯვნივ სწორება' +} ); diff --git a/sources/plugins/justify/lang/km.js b/sources/plugins/justify/lang/km.js new file mode 100644 index 00000000..8769ba71 --- /dev/null +++ b/sources/plugins/justify/lang/km.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'km', { + block: 'តម្រឹម​ពេញ', + center: 'កណ្ដាល', + left: 'តម្រឹម​ឆ្វេង', + right: 'តម្រឹម​ស្ដាំ' +} ); diff --git a/sources/plugins/justify/lang/ko.js b/sources/plugins/justify/lang/ko.js new file mode 100644 index 00000000..4d0bb4cf --- /dev/null +++ b/sources/plugins/justify/lang/ko.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ko', { + block: '양쪽 맞춤', + center: '가운데 정렬', + left: '왼쪽 정렬', + right: '오른쪽 정렬' +} ); diff --git a/sources/plugins/justify/lang/ku.js b/sources/plugins/justify/lang/ku.js new file mode 100644 index 00000000..85b1e409 --- /dev/null +++ b/sources/plugins/justify/lang/ku.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ku', { + block: 'هاوستوونی', + center: 'ناوەڕاست', + left: 'بەهێڵ کردنی چەپ', + right: 'بەهێڵ کردنی ڕاست' +} ); diff --git a/sources/plugins/justify/lang/lt.js b/sources/plugins/justify/lang/lt.js new file mode 100644 index 00000000..cef177be --- /dev/null +++ b/sources/plugins/justify/lang/lt.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'lt', { + block: 'Lygiuoti abi puses', + center: 'Centruoti', + left: 'Lygiuoti kairę', + right: 'Lygiuoti dešinę' +} ); diff --git a/sources/plugins/justify/lang/lv.js b/sources/plugins/justify/lang/lv.js new file mode 100644 index 00000000..1711629f --- /dev/null +++ b/sources/plugins/justify/lang/lv.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'lv', { + block: 'Izlīdzināt malas', + center: 'Izlīdzināt pret centru', + left: 'Izlīdzināt pa kreisi', + right: 'Izlīdzināt pa labi' +} ); diff --git a/sources/plugins/justify/lang/mk.js b/sources/plugins/justify/lang/mk.js new file mode 100644 index 00000000..10605fd9 --- /dev/null +++ b/sources/plugins/justify/lang/mk.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'mk', { + block: 'Justify', // MISSING + center: 'Center', // MISSING + left: 'Align Left', // MISSING + right: 'Align Right' // MISSING +} ); diff --git a/sources/plugins/justify/lang/mn.js b/sources/plugins/justify/lang/mn.js new file mode 100644 index 00000000..8ecaa78c --- /dev/null +++ b/sources/plugins/justify/lang/mn.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'mn', { + block: 'Тэгшлэх', + center: 'Голлуулах', + left: 'Зүүн талд тулгах', + right: 'Баруун талд тулгах' +} ); diff --git a/sources/plugins/justify/lang/ms.js b/sources/plugins/justify/lang/ms.js new file mode 100644 index 00000000..7f1deb15 --- /dev/null +++ b/sources/plugins/justify/lang/ms.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ms', { + block: 'Jajaran Blok', + center: 'Jajaran Tengah', + left: 'Jajaran Kiri', + right: 'Jajaran Kanan' +} ); diff --git a/sources/plugins/justify/lang/nb.js b/sources/plugins/justify/lang/nb.js new file mode 100644 index 00000000..2cc4b56b --- /dev/null +++ b/sources/plugins/justify/lang/nb.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'nb', { + block: 'Blokkjuster', + center: 'Midtstill', + left: 'Venstrejuster', + right: 'Høyrejuster' +} ); diff --git a/sources/plugins/justify/lang/nl.js b/sources/plugins/justify/lang/nl.js new file mode 100644 index 00000000..f0ed723c --- /dev/null +++ b/sources/plugins/justify/lang/nl.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'nl', { + block: 'Uitvullen', + center: 'Centreren', + left: 'Links uitlijnen', + right: 'Rechts uitlijnen' +} ); diff --git a/sources/plugins/justify/lang/no.js b/sources/plugins/justify/lang/no.js new file mode 100644 index 00000000..cddfd5db --- /dev/null +++ b/sources/plugins/justify/lang/no.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'no', { + block: 'Blokkjuster', + center: 'Midtstill', + left: 'Venstrejuster', + right: 'Høyrejuster' +} ); diff --git a/sources/plugins/justify/lang/pl.js b/sources/plugins/justify/lang/pl.js new file mode 100644 index 00000000..5d1fb432 --- /dev/null +++ b/sources/plugins/justify/lang/pl.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'pl', { + block: 'Wyjustuj', + center: 'Wyśrodkuj', + left: 'Wyrównaj do lewej', + right: 'Wyrównaj do prawej' +} ); diff --git a/sources/plugins/justify/lang/pt-br.js b/sources/plugins/justify/lang/pt-br.js new file mode 100644 index 00000000..892a00fe --- /dev/null +++ b/sources/plugins/justify/lang/pt-br.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'pt-br', { + block: 'Justificado', + center: 'Centralizar', + left: 'Alinhar Esquerda', + right: 'Alinhar Direita' +} ); diff --git a/sources/plugins/justify/lang/pt.js b/sources/plugins/justify/lang/pt.js new file mode 100644 index 00000000..20abc3b7 --- /dev/null +++ b/sources/plugins/justify/lang/pt.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'pt', { + block: 'Justificado', + center: 'Alinhar ao Centro', + left: 'Alinhar à esquerda', + right: 'Alinhar à direita' +} ); diff --git a/sources/plugins/justify/lang/ro.js b/sources/plugins/justify/lang/ro.js new file mode 100644 index 00000000..71db25ce --- /dev/null +++ b/sources/plugins/justify/lang/ro.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ro', { + block: 'Aliniere în bloc (Block Justify)', + center: 'Aliniere centrală', + left: 'Aliniere la stânga', + right: 'Aliniere la dreapta' +} ); diff --git a/sources/plugins/justify/lang/ru.js b/sources/plugins/justify/lang/ru.js new file mode 100644 index 00000000..fcbcf7df --- /dev/null +++ b/sources/plugins/justify/lang/ru.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ru', { + block: 'По ширине', + center: 'По центру', + left: 'По левому краю', + right: 'По правому краю' +} ); diff --git a/sources/plugins/justify/lang/si.js b/sources/plugins/justify/lang/si.js new file mode 100644 index 00000000..e24354a0 --- /dev/null +++ b/sources/plugins/justify/lang/si.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'si', { + block: 'Justify', // MISSING + center: 'මධ්‍ය', + left: 'Align Left', // MISSING + right: 'Align Right' // MISSING +} ); diff --git a/sources/plugins/justify/lang/sk.js b/sources/plugins/justify/lang/sk.js new file mode 100644 index 00000000..2ec39eb8 --- /dev/null +++ b/sources/plugins/justify/lang/sk.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'sk', { + block: 'Zarovnať do bloku', + center: 'Zarovnať na stred', + left: 'Zarovnať vľavo', + right: 'Zarovnať vpravo' +} ); diff --git a/sources/plugins/justify/lang/sl.js b/sources/plugins/justify/lang/sl.js new file mode 100644 index 00000000..95b5850f --- /dev/null +++ b/sources/plugins/justify/lang/sl.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'sl', { + block: 'Obojestranska poravnava', + center: 'Sredinska poravnava', + left: 'Leva poravnava', + right: 'Desna poravnava' +} ); diff --git a/sources/plugins/justify/lang/sq.js b/sources/plugins/justify/lang/sq.js new file mode 100644 index 00000000..73195609 --- /dev/null +++ b/sources/plugins/justify/lang/sq.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'sq', { + block: 'Zgjero', + center: 'Qendër', + left: 'Rreshto majtas', + right: 'Rreshto Djathtas' +} ); diff --git a/sources/plugins/justify/lang/sr-latn.js b/sources/plugins/justify/lang/sr-latn.js new file mode 100644 index 00000000..e95d5862 --- /dev/null +++ b/sources/plugins/justify/lang/sr-latn.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'sr-latn', { + block: 'Obostrano ravnanje', + center: 'Centriran tekst', + left: 'Levo ravnanje', + right: 'Desno ravnanje' +} ); diff --git a/sources/plugins/justify/lang/sr.js b/sources/plugins/justify/lang/sr.js new file mode 100644 index 00000000..91176181 --- /dev/null +++ b/sources/plugins/justify/lang/sr.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'sr', { + block: 'Обострано равнање', + center: 'Центриран текст', + left: 'Лево равнање', + right: 'Десно равнање' +} ); diff --git a/sources/plugins/justify/lang/sv.js b/sources/plugins/justify/lang/sv.js new file mode 100644 index 00000000..c1d4f44b --- /dev/null +++ b/sources/plugins/justify/lang/sv.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'sv', { + block: 'Justera till marginaler', + center: 'Centrera', + left: 'Vänsterjustera', + right: 'Högerjustera' +} ); diff --git a/sources/plugins/justify/lang/th.js b/sources/plugins/justify/lang/th.js new file mode 100644 index 00000000..682fc9de --- /dev/null +++ b/sources/plugins/justify/lang/th.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'th', { + block: 'จัดพอดีหน้ากระดาษ', + center: 'จัดกึ่งกลาง', + left: 'จัดชิดซ้าย', + right: 'จัดชิดขวา' +} ); diff --git a/sources/plugins/justify/lang/tr.js b/sources/plugins/justify/lang/tr.js new file mode 100644 index 00000000..e51cbe89 --- /dev/null +++ b/sources/plugins/justify/lang/tr.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'tr', { + block: 'İki Kenara Yaslanmış', + center: 'Ortalanmış', + left: 'Sola Dayalı', + right: 'Sağa Dayalı' +} ); diff --git a/sources/plugins/justify/lang/tt.js b/sources/plugins/justify/lang/tt.js new file mode 100644 index 00000000..fc693413 --- /dev/null +++ b/sources/plugins/justify/lang/tt.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'tt', { + block: 'Киңлеккә карап тигезләү', + center: 'Үзәккә тигезләү', + left: 'Сул як кырыйдан тигезләү', + right: 'Уң як кырыйдан тигезләү' +} ); diff --git a/sources/plugins/justify/lang/ug.js b/sources/plugins/justify/lang/ug.js new file mode 100644 index 00000000..3ddbaf51 --- /dev/null +++ b/sources/plugins/justify/lang/ug.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'ug', { + block: 'ئىككى تەرەپتىن توغرىلا', + center: 'ئوتتۇرىغا توغرىلا', + left: 'سولغا توغرىلا', + right: 'ئوڭغا توغرىلا' +} ); diff --git a/sources/plugins/justify/lang/uk.js b/sources/plugins/justify/lang/uk.js new file mode 100644 index 00000000..eb74639a --- /dev/null +++ b/sources/plugins/justify/lang/uk.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'uk', { + block: 'По ширині', + center: 'По центру', + left: 'По лівому краю', + right: 'По правому краю' +} ); diff --git a/sources/plugins/justify/lang/vi.js b/sources/plugins/justify/lang/vi.js new file mode 100644 index 00000000..a15674af --- /dev/null +++ b/sources/plugins/justify/lang/vi.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'vi', { + block: 'Canh đều', + center: 'Canh giữa', + left: 'Canh trái', + right: 'Canh phải' +} ); diff --git a/sources/plugins/justify/lang/zh-cn.js b/sources/plugins/justify/lang/zh-cn.js new file mode 100644 index 00000000..f078618c --- /dev/null +++ b/sources/plugins/justify/lang/zh-cn.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'zh-cn', { + block: '两端对齐', + center: '居中', + left: '左对齐', + right: '右对齐' +} ); diff --git a/sources/plugins/justify/lang/zh.js b/sources/plugins/justify/lang/zh.js new file mode 100644 index 00000000..00e6ecea --- /dev/null +++ b/sources/plugins/justify/lang/zh.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'justify', 'zh', { + block: '左右對齊', + center: '置中', + left: '靠左對齊', + right: '靠右對齊' +} ); diff --git a/sources/plugins/justify/plugin.js b/sources/plugins/justify/plugin.js new file mode 100644 index 00000000..5be53ecd --- /dev/null +++ b/sources/plugins/justify/plugin.js @@ -0,0 +1,245 @@ +/** + * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview Justify commands. + */ + +( function() { + function getAlignment( element, useComputedState ) { + useComputedState = useComputedState === undefined || useComputedState; + + var align; + if ( useComputedState ) + align = element.getComputedStyle( 'text-align' ); + else { + while ( !element.hasAttribute || !( element.hasAttribute( 'align' ) || element.getStyle( 'text-align' ) ) ) { + var parent = element.getParent(); + if ( !parent ) + break; + element = parent; + } + align = element.getStyle( 'text-align' ) || element.getAttribute( 'align' ) || ''; + } + + // Sometimes computed values doesn't tell. + align && ( align = align.replace( /(?:-(?:moz|webkit)-)?(?:start|auto)/i, '' ) ); + + !align && useComputedState && ( align = element.getComputedStyle( 'direction' ) == 'rtl' ? 'right' : 'left' ); + + return align; + } + + function justifyCommand( editor, name, value ) { + this.editor = editor; + this.name = name; + this.value = value; + this.context = 'p'; + + var classes = editor.config.justifyClasses, + blockTag = editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div'; + + if ( classes ) { + switch ( value ) { + case 'left': + this.cssClassName = classes[ 0 ]; + break; + case 'center': + this.cssClassName = classes[ 1 ]; + break; + case 'right': + this.cssClassName = classes[ 2 ]; + break; + case 'justify': + this.cssClassName = classes[ 3 ]; + break; + } + + this.cssClassRegex = new RegExp( '(?:^|\\s+)(?:' + classes.join( '|' ) + ')(?=$|\\s)' ); + this.requiredContent = blockTag + '(' + this.cssClassName + ')'; + } + else { + this.requiredContent = blockTag + '{text-align}'; + } + + this.allowedContent = { + 'caption div h1 h2 h3 h4 h5 h6 p pre td th li': { + // Do not add elements, but only text-align style if element is validated by other rule. + propertiesOnly: true, + styles: this.cssClassName ? null : 'text-align', + classes: this.cssClassName || null + } + }; + + // In enter mode BR we need to allow here for div, because when non other + // feature allows div justify is the only plugin that uses it. + if ( editor.config.enterMode == CKEDITOR.ENTER_BR ) + this.allowedContent.div = true; + } + + function onDirChanged( e ) { + var editor = e.editor; + + var range = editor.createRange(); + range.setStartBefore( e.data.node ); + range.setEndAfter( e.data.node ); + + var walker = new CKEDITOR.dom.walker( range ), + node; + + while ( ( node = walker.next() ) ) { + if ( node.type == CKEDITOR.NODE_ELEMENT ) { + // A child with the defined dir is to be ignored. + if ( !node.equals( e.data.node ) && node.getDirection() ) { + range.setStartAfter( node ); + walker = new CKEDITOR.dom.walker( range ); + continue; + } + + // Switch the alignment. + var classes = editor.config.justifyClasses; + if ( classes ) { + // The left align class. + if ( node.hasClass( classes[ 0 ] ) ) { + node.removeClass( classes[ 0 ] ); + node.addClass( classes[ 2 ] ); + } + // The right align class. + else if ( node.hasClass( classes[ 2 ] ) ) { + node.removeClass( classes[ 2 ] ); + node.addClass( classes[ 0 ] ); + } + } + + // Always switch CSS margins. + var style = 'text-align'; + var align = node.getStyle( style ); + + if ( align == 'left' ) + node.setStyle( style, 'right' ); + else if ( align == 'right' ) + node.setStyle( style, 'left' ); + } + } + } + + justifyCommand.prototype = { + exec: function( editor ) { + var selection = editor.getSelection(), + enterMode = editor.config.enterMode; + + if ( !selection ) + return; + + var bookmarks = selection.createBookmarks(), + ranges = selection.getRanges(); + + var cssClassName = this.cssClassName, + iterator, block; + + var useComputedState = editor.config.useComputedState; + useComputedState = useComputedState === undefined || useComputedState; + + for ( var i = ranges.length - 1; i >= 0; i-- ) { + iterator = ranges[ i ].createIterator(); + iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR; + + while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) ) { + if ( block.isReadOnly() ) + continue; + + block.removeAttribute( 'align' ); + block.removeStyle( 'text-align' ); + + // Remove any of the alignment classes from the className. + var className = cssClassName && ( block.$.className = CKEDITOR.tools.ltrim( block.$.className.replace( this.cssClassRegex, '' ) ) ); + + var apply = ( this.state == CKEDITOR.TRISTATE_OFF ) && ( !useComputedState || ( getAlignment( block, true ) != this.value ) ); + + if ( cssClassName ) { + // Append the desired class name. + if ( apply ) + block.addClass( cssClassName ); + else if ( !className ) + block.removeAttribute( 'class' ); + } else if ( apply ) { + block.setStyle( 'text-align', this.value ); + } + } + + } + + editor.focus(); + editor.forceNextSelectionCheck(); + selection.selectBookmarks( bookmarks ); + }, + + refresh: function( editor, path ) { + var firstBlock = path.block || path.blockLimit; + + this.setState( firstBlock.getName() != 'body' && getAlignment( firstBlock, this.editor.config.useComputedState ) == this.value ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF ); + } + }; + + CKEDITOR.plugins.add( 'justify', { + // jscs:disable maximumLineLength + lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% + // jscs:enable maximumLineLength + icons: 'justifyblock,justifycenter,justifyleft,justifyright', // %REMOVE_LINE_CORE% + hidpi: true, // %REMOVE_LINE_CORE% + init: function( editor ) { + if ( editor.blockless ) + return; + + var left = new justifyCommand( editor, 'justifyleft', 'left' ), + center = new justifyCommand( editor, 'justifycenter', 'center' ), + right = new justifyCommand( editor, 'justifyright', 'right' ), + justify = new justifyCommand( editor, 'justifyblock', 'justify' ); + + editor.addCommand( 'justifyleft', left ); + editor.addCommand( 'justifycenter', center ); + editor.addCommand( 'justifyright', right ); + editor.addCommand( 'justifyblock', justify ); + + if ( editor.ui.addButton ) { + editor.ui.addButton( 'JustifyLeft', { + label: editor.lang.justify.left, + command: 'justifyleft', + toolbar: 'align,10' + } ); + editor.ui.addButton( 'JustifyCenter', { + label: editor.lang.justify.center, + command: 'justifycenter', + toolbar: 'align,20' + } ); + editor.ui.addButton( 'JustifyRight', { + label: editor.lang.justify.right, + command: 'justifyright', + toolbar: 'align,30' + } ); + editor.ui.addButton( 'JustifyBlock', { + label: editor.lang.justify.block, + command: 'justifyblock', + toolbar: 'align,40' + } ); + } + + editor.on( 'dirChanged', onDirChanged ); + } + } ); +} )(); + +/** + * List of classes to use for aligning the contents. If it's `null`, no classes will be used + * and instead the corresponding CSS values will be used. + * + * The array should contain 4 members, in the following order: left, center, right, justify. + * + * // Use the classes 'AlignLeft', 'AlignCenter', 'AlignRight', 'AlignJustify' + * config.justifyClasses = [ 'AlignLeft', 'AlignCenter', 'AlignRight', 'AlignJustify' ]; + * + * @cfg {Array} [justifyClasses=null] + * @member CKEDITOR.config + */ -- cgit v1.2.3