diff options
Diffstat (limited to 'plugins/blockquote')
66 files changed, 695 insertions, 0 deletions
diff --git a/plugins/blockquote/icons/blockquote.png b/plugins/blockquote/icons/blockquote.png Binary files differnew file mode 100644 index 0000000..517e6e2 --- /dev/null +++ b/plugins/blockquote/icons/blockquote.png diff --git a/plugins/blockquote/lang/af.js b/plugins/blockquote/lang/af.js new file mode 100644 index 0000000..2e49b7f --- /dev/null +++ b/plugins/blockquote/lang/af.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'af', {
+ toolbar: 'Sitaatblok'
+});
diff --git a/plugins/blockquote/lang/ar.js b/plugins/blockquote/lang/ar.js new file mode 100644 index 0000000..4608efa --- /dev/null +++ b/plugins/blockquote/lang/ar.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ar', {
+ toolbar: 'اقتباس'
+});
diff --git a/plugins/blockquote/lang/bg.js b/plugins/blockquote/lang/bg.js new file mode 100644 index 0000000..d1a6926 --- /dev/null +++ b/plugins/blockquote/lang/bg.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'bg', {
+ toolbar: 'Блок за цитат'
+});
diff --git a/plugins/blockquote/lang/bn.js b/plugins/blockquote/lang/bn.js new file mode 100644 index 0000000..4feb460 --- /dev/null +++ b/plugins/blockquote/lang/bn.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'bn', {
+ toolbar: 'Block Quote' // MISSING
+});
diff --git a/plugins/blockquote/lang/bs.js b/plugins/blockquote/lang/bs.js new file mode 100644 index 0000000..a75a5ec --- /dev/null +++ b/plugins/blockquote/lang/bs.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'bs', {
+ toolbar: 'Block Quote' // MISSING
+});
diff --git a/plugins/blockquote/lang/ca.js b/plugins/blockquote/lang/ca.js new file mode 100644 index 0000000..3c94506 --- /dev/null +++ b/plugins/blockquote/lang/ca.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ca', {
+ toolbar: 'Bloc de cita'
+});
diff --git a/plugins/blockquote/lang/cs.js b/plugins/blockquote/lang/cs.js new file mode 100644 index 0000000..1c35a1a --- /dev/null +++ b/plugins/blockquote/lang/cs.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'cs', {
+ toolbar: 'Citace'
+});
diff --git a/plugins/blockquote/lang/cy.js b/plugins/blockquote/lang/cy.js new file mode 100644 index 0000000..c53362f --- /dev/null +++ b/plugins/blockquote/lang/cy.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'cy', {
+ toolbar: 'Dyfyniad bloc'
+});
diff --git a/plugins/blockquote/lang/da.js b/plugins/blockquote/lang/da.js new file mode 100644 index 0000000..2604638 --- /dev/null +++ b/plugins/blockquote/lang/da.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'da', {
+ toolbar: 'Blokcitat'
+});
diff --git a/plugins/blockquote/lang/de.js b/plugins/blockquote/lang/de.js new file mode 100644 index 0000000..0b03678 --- /dev/null +++ b/plugins/blockquote/lang/de.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'de', {
+ toolbar: 'Zitatblock'
+});
diff --git a/plugins/blockquote/lang/el.js b/plugins/blockquote/lang/el.js new file mode 100644 index 0000000..b1222c0 --- /dev/null +++ b/plugins/blockquote/lang/el.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'el', {
+ toolbar: 'Περιοχή Παράθεσης'
+});
diff --git a/plugins/blockquote/lang/en-au.js b/plugins/blockquote/lang/en-au.js new file mode 100644 index 0000000..c2d0fe7 --- /dev/null +++ b/plugins/blockquote/lang/en-au.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'en-au', {
+ toolbar: 'Block Quote'
+});
diff --git a/plugins/blockquote/lang/en-ca.js b/plugins/blockquote/lang/en-ca.js new file mode 100644 index 0000000..63d1472 --- /dev/null +++ b/plugins/blockquote/lang/en-ca.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'en-ca', {
+ toolbar: 'Block Quote'
+});
diff --git a/plugins/blockquote/lang/en-gb.js b/plugins/blockquote/lang/en-gb.js new file mode 100644 index 0000000..c7cffe2 --- /dev/null +++ b/plugins/blockquote/lang/en-gb.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'en-gb', {
+ toolbar: 'Block Quote'
+});
diff --git a/plugins/blockquote/lang/en.js b/plugins/blockquote/lang/en.js new file mode 100644 index 0000000..4e1ace0 --- /dev/null +++ b/plugins/blockquote/lang/en.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'en', {
+ toolbar: 'Block Quote'
+});
diff --git a/plugins/blockquote/lang/eo.js b/plugins/blockquote/lang/eo.js new file mode 100644 index 0000000..37c255d --- /dev/null +++ b/plugins/blockquote/lang/eo.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'eo', {
+ toolbar: 'Citaĵo'
+});
diff --git a/plugins/blockquote/lang/es.js b/plugins/blockquote/lang/es.js new file mode 100644 index 0000000..2fc8a93 --- /dev/null +++ b/plugins/blockquote/lang/es.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'es', {
+ toolbar: 'Cita'
+});
diff --git a/plugins/blockquote/lang/et.js b/plugins/blockquote/lang/et.js new file mode 100644 index 0000000..dff7315 --- /dev/null +++ b/plugins/blockquote/lang/et.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'et', {
+ toolbar: 'Blokktsitaat'
+});
diff --git a/plugins/blockquote/lang/eu.js b/plugins/blockquote/lang/eu.js new file mode 100644 index 0000000..90f9a9d --- /dev/null +++ b/plugins/blockquote/lang/eu.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'eu', {
+ toolbar: 'Aipamen blokea'
+});
diff --git a/plugins/blockquote/lang/fa.js b/plugins/blockquote/lang/fa.js new file mode 100644 index 0000000..3eb4d2b --- /dev/null +++ b/plugins/blockquote/lang/fa.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'fa', {
+ toolbar: 'بلوک نقل قول'
+});
diff --git a/plugins/blockquote/lang/fi.js b/plugins/blockquote/lang/fi.js new file mode 100644 index 0000000..66d261e --- /dev/null +++ b/plugins/blockquote/lang/fi.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'fi', {
+ toolbar: 'Lainaus'
+});
diff --git a/plugins/blockquote/lang/fo.js b/plugins/blockquote/lang/fo.js new file mode 100644 index 0000000..b79f1c7 --- /dev/null +++ b/plugins/blockquote/lang/fo.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'fo', {
+ toolbar: 'Blockquote'
+});
diff --git a/plugins/blockquote/lang/fr-ca.js b/plugins/blockquote/lang/fr-ca.js new file mode 100644 index 0000000..9203504 --- /dev/null +++ b/plugins/blockquote/lang/fr-ca.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'fr-ca', {
+ toolbar: 'Citation'
+});
diff --git a/plugins/blockquote/lang/fr.js b/plugins/blockquote/lang/fr.js new file mode 100644 index 0000000..896db27 --- /dev/null +++ b/plugins/blockquote/lang/fr.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'fr', {
+ toolbar: 'Citation'
+});
diff --git a/plugins/blockquote/lang/gl.js b/plugins/blockquote/lang/gl.js new file mode 100644 index 0000000..b3df565 --- /dev/null +++ b/plugins/blockquote/lang/gl.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'gl', {
+ toolbar: 'Cita'
+});
diff --git a/plugins/blockquote/lang/gu.js b/plugins/blockquote/lang/gu.js new file mode 100644 index 0000000..ee69590 --- /dev/null +++ b/plugins/blockquote/lang/gu.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'gu', {
+ toolbar: 'બ્લૉક-કોટ, અવતરણચિહ્નો'
+});
diff --git a/plugins/blockquote/lang/he.js b/plugins/blockquote/lang/he.js new file mode 100644 index 0000000..943a62c --- /dev/null +++ b/plugins/blockquote/lang/he.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'he', {
+ toolbar: 'בלוק ציטוט'
+});
diff --git a/plugins/blockquote/lang/hi.js b/plugins/blockquote/lang/hi.js new file mode 100644 index 0000000..9cbb90e --- /dev/null +++ b/plugins/blockquote/lang/hi.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'hi', {
+ toolbar: 'ब्लॉक-कोट'
+});
diff --git a/plugins/blockquote/lang/hr.js b/plugins/blockquote/lang/hr.js new file mode 100644 index 0000000..87c212e --- /dev/null +++ b/plugins/blockquote/lang/hr.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'hr', {
+ toolbar: 'Blockquote'
+});
diff --git a/plugins/blockquote/lang/hu.js b/plugins/blockquote/lang/hu.js new file mode 100644 index 0000000..ed46c71 --- /dev/null +++ b/plugins/blockquote/lang/hu.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'hu', {
+ toolbar: 'Idézet blokk'
+});
diff --git a/plugins/blockquote/lang/is.js b/plugins/blockquote/lang/is.js new file mode 100644 index 0000000..a40d766 --- /dev/null +++ b/plugins/blockquote/lang/is.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'is', {
+ toolbar: 'Inndráttur'
+});
diff --git a/plugins/blockquote/lang/it.js b/plugins/blockquote/lang/it.js new file mode 100644 index 0000000..06799e8 --- /dev/null +++ b/plugins/blockquote/lang/it.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'it', {
+ toolbar: 'Citazione'
+});
diff --git a/plugins/blockquote/lang/ja.js b/plugins/blockquote/lang/ja.js new file mode 100644 index 0000000..1dfb059 --- /dev/null +++ b/plugins/blockquote/lang/ja.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ja', {
+ toolbar: 'ブロック引用'
+});
diff --git a/plugins/blockquote/lang/ka.js b/plugins/blockquote/lang/ka.js new file mode 100644 index 0000000..081d963 --- /dev/null +++ b/plugins/blockquote/lang/ka.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ka', {
+ toolbar: 'ციტატა'
+});
diff --git a/plugins/blockquote/lang/km.js b/plugins/blockquote/lang/km.js new file mode 100644 index 0000000..83462e5 --- /dev/null +++ b/plugins/blockquote/lang/km.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'km', {
+ toolbar: 'Block Quote' // MISSING
+});
diff --git a/plugins/blockquote/lang/ko.js b/plugins/blockquote/lang/ko.js new file mode 100644 index 0000000..1d1f6c9 --- /dev/null +++ b/plugins/blockquote/lang/ko.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ko', {
+ toolbar: 'Block Quote' // MISSING
+});
diff --git a/plugins/blockquote/lang/ku.js b/plugins/blockquote/lang/ku.js new file mode 100644 index 0000000..0e73c73 --- /dev/null +++ b/plugins/blockquote/lang/ku.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ku', {
+ toolbar: 'بەربەستکردنی ووتەی وەرگیراو'
+});
diff --git a/plugins/blockquote/lang/lt.js b/plugins/blockquote/lang/lt.js new file mode 100644 index 0000000..722009e --- /dev/null +++ b/plugins/blockquote/lang/lt.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'lt', {
+ toolbar: 'Citata'
+});
diff --git a/plugins/blockquote/lang/lv.js b/plugins/blockquote/lang/lv.js new file mode 100644 index 0000000..dc6358c --- /dev/null +++ b/plugins/blockquote/lang/lv.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'lv', {
+ toolbar: 'Bloka citāts'
+});
diff --git a/plugins/blockquote/lang/mk.js b/plugins/blockquote/lang/mk.js new file mode 100644 index 0000000..e04a57e --- /dev/null +++ b/plugins/blockquote/lang/mk.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'mk', {
+ toolbar: 'Block Quote' // MISSING
+});
diff --git a/plugins/blockquote/lang/mn.js b/plugins/blockquote/lang/mn.js new file mode 100644 index 0000000..8dbe05e --- /dev/null +++ b/plugins/blockquote/lang/mn.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'mn', {
+ toolbar: 'Ишлэл хэсэг'
+});
diff --git a/plugins/blockquote/lang/ms.js b/plugins/blockquote/lang/ms.js new file mode 100644 index 0000000..53c314d --- /dev/null +++ b/plugins/blockquote/lang/ms.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ms', {
+ toolbar: 'Block Quote' // MISSING
+});
diff --git a/plugins/blockquote/lang/nb.js b/plugins/blockquote/lang/nb.js new file mode 100644 index 0000000..32080ca --- /dev/null +++ b/plugins/blockquote/lang/nb.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'nb', {
+ toolbar: 'Blokksitat'
+});
diff --git a/plugins/blockquote/lang/nl.js b/plugins/blockquote/lang/nl.js new file mode 100644 index 0000000..5fbb18a --- /dev/null +++ b/plugins/blockquote/lang/nl.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'nl', {
+ toolbar: 'Citaatblok'
+});
diff --git a/plugins/blockquote/lang/no.js b/plugins/blockquote/lang/no.js new file mode 100644 index 0000000..c5ab819 --- /dev/null +++ b/plugins/blockquote/lang/no.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'no', {
+ toolbar: 'Blokksitat'
+});
diff --git a/plugins/blockquote/lang/pl.js b/plugins/blockquote/lang/pl.js new file mode 100644 index 0000000..f4e169f --- /dev/null +++ b/plugins/blockquote/lang/pl.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'pl', {
+ toolbar: 'Cytat'
+});
diff --git a/plugins/blockquote/lang/pt-br.js b/plugins/blockquote/lang/pt-br.js new file mode 100644 index 0000000..641b7be --- /dev/null +++ b/plugins/blockquote/lang/pt-br.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'pt-br', {
+ toolbar: 'Citação'
+});
diff --git a/plugins/blockquote/lang/pt.js b/plugins/blockquote/lang/pt.js new file mode 100644 index 0000000..18b5f96 --- /dev/null +++ b/plugins/blockquote/lang/pt.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'pt', {
+ toolbar: 'Bloco de citação'
+});
diff --git a/plugins/blockquote/lang/ro.js b/plugins/blockquote/lang/ro.js new file mode 100644 index 0000000..9c83376 --- /dev/null +++ b/plugins/blockquote/lang/ro.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ro', {
+ toolbar: 'Citat'
+});
diff --git a/plugins/blockquote/lang/ru.js b/plugins/blockquote/lang/ru.js new file mode 100644 index 0000000..3a1c48b --- /dev/null +++ b/plugins/blockquote/lang/ru.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ru', {
+ toolbar: 'Цитата'
+});
diff --git a/plugins/blockquote/lang/si.js b/plugins/blockquote/lang/si.js new file mode 100644 index 0000000..4cd79c3 --- /dev/null +++ b/plugins/blockquote/lang/si.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'si', {
+ toolbar: 'උද්ධෘත කොටස'
+});
diff --git a/plugins/blockquote/lang/sk.js b/plugins/blockquote/lang/sk.js new file mode 100644 index 0000000..63bc95b --- /dev/null +++ b/plugins/blockquote/lang/sk.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'sk', {
+ toolbar: 'Citácia'
+});
diff --git a/plugins/blockquote/lang/sl.js b/plugins/blockquote/lang/sl.js new file mode 100644 index 0000000..cacbb26 --- /dev/null +++ b/plugins/blockquote/lang/sl.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'sl', {
+ toolbar: 'Citat'
+});
diff --git a/plugins/blockquote/lang/sq.js b/plugins/blockquote/lang/sq.js new file mode 100644 index 0000000..fb20d59 --- /dev/null +++ b/plugins/blockquote/lang/sq.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'sq', {
+ toolbar: 'Citatet'
+});
diff --git a/plugins/blockquote/lang/sr-latn.js b/plugins/blockquote/lang/sr-latn.js new file mode 100644 index 0000000..df6d594 --- /dev/null +++ b/plugins/blockquote/lang/sr-latn.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'sr-latn', {
+ toolbar: 'Block Quote' // MISSING
+});
diff --git a/plugins/blockquote/lang/sr.js b/plugins/blockquote/lang/sr.js new file mode 100644 index 0000000..d0eae8a --- /dev/null +++ b/plugins/blockquote/lang/sr.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'sr', {
+ toolbar: 'Block Quote' // MISSING
+});
diff --git a/plugins/blockquote/lang/sv.js b/plugins/blockquote/lang/sv.js new file mode 100644 index 0000000..64bd73d --- /dev/null +++ b/plugins/blockquote/lang/sv.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'sv', {
+ toolbar: 'Blockcitat'
+});
diff --git a/plugins/blockquote/lang/th.js b/plugins/blockquote/lang/th.js new file mode 100644 index 0000000..ae54bc5 --- /dev/null +++ b/plugins/blockquote/lang/th.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'th', {
+ toolbar: 'Block Quote'
+});
diff --git a/plugins/blockquote/lang/tr.js b/plugins/blockquote/lang/tr.js new file mode 100644 index 0000000..68d993a --- /dev/null +++ b/plugins/blockquote/lang/tr.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'tr', {
+ toolbar: 'Blok Oluştur'
+});
diff --git a/plugins/blockquote/lang/ug.js b/plugins/blockquote/lang/ug.js new file mode 100644 index 0000000..b4a7abe --- /dev/null +++ b/plugins/blockquote/lang/ug.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'ug', {
+ toolbar: 'بۆلەك نەقىل'
+});
diff --git a/plugins/blockquote/lang/uk.js b/plugins/blockquote/lang/uk.js new file mode 100644 index 0000000..8d654a4 --- /dev/null +++ b/plugins/blockquote/lang/uk.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'uk', {
+ toolbar: 'Цитата'
+});
diff --git a/plugins/blockquote/lang/vi.js b/plugins/blockquote/lang/vi.js new file mode 100644 index 0000000..f68cc30 --- /dev/null +++ b/plugins/blockquote/lang/vi.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'vi', {
+ toolbar: 'Khối trích dẫn'
+});
diff --git a/plugins/blockquote/lang/zh-cn.js b/plugins/blockquote/lang/zh-cn.js new file mode 100644 index 0000000..51cf190 --- /dev/null +++ b/plugins/blockquote/lang/zh-cn.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'zh-cn', {
+ toolbar: '块引用'
+});
diff --git a/plugins/blockquote/lang/zh.js b/plugins/blockquote/lang/zh.js new file mode 100644 index 0000000..2640c73 --- /dev/null +++ b/plugins/blockquote/lang/zh.js @@ -0,0 +1,7 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'blockquote', 'zh', {
+ toolbar: '引用文字'
+});
diff --git a/plugins/blockquote/plugin.js b/plugins/blockquote/plugin.js new file mode 100644 index 0000000..e73bccf --- /dev/null +++ b/plugins/blockquote/plugin.js @@ -0,0 +1,247 @@ +/**
+ * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+ */
+
+(function() {
+ function noBlockLeft( bqBlock ) {
+ for ( var i = 0, length = bqBlock.getChildCount(), child; i < length && ( child = bqBlock.getChild( i ) ); i++ ) {
+ if ( child.type == CKEDITOR.NODE_ELEMENT && child.isBlockBoundary() )
+ return false;
+ }
+ return true;
+ }
+
+ var commandObject = {
+ exec: function( editor ) {
+ var state = editor.getCommand( 'blockquote' ).state,
+ selection = editor.getSelection(),
+ range = selection && selection.getRanges( true )[ 0 ];
+
+ if ( !range )
+ return;
+
+ var bookmarks = selection.createBookmarks();
+
+ // Kludge for #1592: if the bookmark nodes are in the beginning of
+ // blockquote, then move them to the nearest block element in the
+ // blockquote.
+ if ( CKEDITOR.env.ie ) {
+ var bookmarkStart = bookmarks[ 0 ].startNode,
+ bookmarkEnd = bookmarks[ 0 ].endNode,
+ cursor;
+
+ if ( bookmarkStart && bookmarkStart.getParent().getName() == 'blockquote' ) {
+ cursor = bookmarkStart;
+ while ( ( cursor = cursor.getNext() ) ) {
+ if ( cursor.type == CKEDITOR.NODE_ELEMENT && cursor.isBlockBoundary() ) {
+ bookmarkStart.move( cursor, true );
+ break;
+ }
+ }
+ }
+
+ if ( bookmarkEnd && bookmarkEnd.getParent().getName() == 'blockquote' ) {
+ cursor = bookmarkEnd;
+ while ( ( cursor = cursor.getPrevious() ) ) {
+ if ( cursor.type == CKEDITOR.NODE_ELEMENT && cursor.isBlockBoundary() ) {
+ bookmarkEnd.move( cursor );
+ break;
+ }
+ }
+ }
+ }
+
+ var iterator = range.createIterator(),
+ block;
+ iterator.enlargeBr = editor.config.enterMode != CKEDITOR.ENTER_BR;
+
+ if ( state == CKEDITOR.TRISTATE_OFF ) {
+ var paragraphs = [];
+ while ( ( block = iterator.getNextParagraph() ) )
+ paragraphs.push( block );
+
+ // If no paragraphs, create one from the current selection position.
+ if ( paragraphs.length < 1 ) {
+ var para = editor.document.createElement( editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ),
+ firstBookmark = bookmarks.shift();
+ range.insertNode( para );
+ para.append( new CKEDITOR.dom.text( '\ufeff', editor.document ) );
+ range.moveToBookmark( firstBookmark );
+ range.selectNodeContents( para );
+ range.collapse( true );
+ firstBookmark = range.createBookmark();
+ paragraphs.push( para );
+ bookmarks.unshift( firstBookmark );
+ }
+
+ // Make sure all paragraphs have the same parent.
+ var commonParent = paragraphs[ 0 ].getParent(),
+ tmp = [];
+ for ( var i = 0; i < paragraphs.length; i++ ) {
+ block = paragraphs[ i ];
+ commonParent = commonParent.getCommonAncestor( block.getParent() );
+ }
+
+ // The common parent must not be the following tags: table, tbody, tr, ol, ul.
+ var denyTags = { table:1,tbody:1,tr:1,ol:1,ul:1 };
+ while ( denyTags[ commonParent.getName() ] )
+ commonParent = commonParent.getParent();
+
+ // Reconstruct the block list to be processed such that all resulting blocks
+ // satisfy parentNode.equals( commonParent ).
+ var lastBlock = null;
+ while ( paragraphs.length > 0 ) {
+ block = paragraphs.shift();
+ while ( !block.getParent().equals( commonParent ) )
+ block = block.getParent();
+ if ( !block.equals( lastBlock ) )
+ tmp.push( block );
+ lastBlock = block;
+ }
+
+ // If any of the selected blocks is a blockquote, remove it to prevent
+ // nested blockquotes.
+ while ( tmp.length > 0 ) {
+ block = tmp.shift();
+ if ( block.getName() == 'blockquote' ) {
+ var docFrag = new CKEDITOR.dom.documentFragment( editor.document );
+ while ( block.getFirst() ) {
+ docFrag.append( block.getFirst().remove() );
+ paragraphs.push( docFrag.getLast() );
+ }
+
+ docFrag.replace( block );
+ } else
+ paragraphs.push( block );
+ }
+
+ // Now we have all the blocks to be included in a new blockquote node.
+ var bqBlock = editor.document.createElement( 'blockquote' );
+ bqBlock.insertBefore( paragraphs[ 0 ] );
+ while ( paragraphs.length > 0 ) {
+ block = paragraphs.shift();
+ bqBlock.append( block );
+ }
+ } else if ( state == CKEDITOR.TRISTATE_ON ) {
+ var moveOutNodes = [],
+ database = {};
+
+ while ( ( block = iterator.getNextParagraph() ) ) {
+ var bqParent = null,
+ bqChild = null;
+ while ( block.getParent() ) {
+ if ( block.getParent().getName() == 'blockquote' ) {
+ bqParent = block.getParent();
+ bqChild = block;
+ break;
+ }
+ block = block.getParent();
+ }
+
+ // Remember the blocks that were recorded down in the moveOutNodes array
+ // to prevent duplicates.
+ if ( bqParent && bqChild && !bqChild.getCustomData( 'blockquote_moveout' ) ) {
+ moveOutNodes.push( bqChild );
+ CKEDITOR.dom.element.setMarker( database, bqChild, 'blockquote_moveout', true );
+ }
+ }
+
+ CKEDITOR.dom.element.clearAllMarkers( database );
+
+ var movedNodes = [],
+ processedBlockquoteBlocks = [];
+
+ database = {};
+ while ( moveOutNodes.length > 0 ) {
+ var node = moveOutNodes.shift();
+ bqBlock = node.getParent();
+
+ // If the node is located at the beginning or the end, just take it out
+ // without splitting. Otherwise, split the blockquote node and move the
+ // paragraph in between the two blockquote nodes.
+ if ( !node.getPrevious() )
+ node.remove().insertBefore( bqBlock );
+ else if ( !node.getNext() )
+ node.remove().insertAfter( bqBlock );
+ else {
+ node.breakParent( node.getParent() );
+ processedBlockquoteBlocks.push( node.getNext() );
+ }
+
+ // Remember the blockquote node so we can clear it later (if it becomes empty).
+ if ( !bqBlock.getCustomData( 'blockquote_processed' ) ) {
+ processedBlockquoteBlocks.push( bqBlock );
+ CKEDITOR.dom.element.setMarker( database, bqBlock, 'blockquote_processed', true );
+ }
+
+ movedNodes.push( node );
+ }
+
+ CKEDITOR.dom.element.clearAllMarkers( database );
+
+ // Clear blockquote nodes that have become empty.
+ for ( i = processedBlockquoteBlocks.length - 1; i >= 0; i-- ) {
+ bqBlock = processedBlockquoteBlocks[ i ];
+ if ( noBlockLeft( bqBlock ) )
+ bqBlock.remove();
+ }
+
+ if ( editor.config.enterMode == CKEDITOR.ENTER_BR ) {
+ var firstTime = true;
+ while ( movedNodes.length ) {
+ node = movedNodes.shift();
+
+ if ( node.getName() == 'div' ) {
+ docFrag = new CKEDITOR.dom.documentFragment( editor.document );
+ var needBeginBr = firstTime && node.getPrevious() && !( node.getPrevious().type == CKEDITOR.NODE_ELEMENT && node.getPrevious().isBlockBoundary() );
+ if ( needBeginBr )
+ docFrag.append( editor.document.createElement( 'br' ) );
+
+ var needEndBr = node.getNext() && !( node.getNext().type == CKEDITOR.NODE_ELEMENT && node.getNext().isBlockBoundary() );
+ while ( node.getFirst() )
+ node.getFirst().remove().appendTo( docFrag );
+
+ if ( needEndBr )
+ docFrag.append( editor.document.createElement( 'br' ) );
+
+ docFrag.replace( node );
+ firstTime = false;
+ }
+ }
+ }
+ }
+
+ selection.selectBookmarks( bookmarks );
+ editor.focus();
+ },
+
+ refresh: function( editor, path ) {
+ // Check if inside of blockquote.
+ var firstBlock = path.block || path.blockLimit;
+ this.setState( editor.elementPath( firstBlock ).contains( 'blockquote', 1 ) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
+ },
+
+ context: 'blockquote',
+
+ allowedContent: 'blockquote',
+ requiredContent: 'blockquote'
+ };
+
+ CKEDITOR.plugins.add( 'blockquote', {
+ 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,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,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
+ icons: 'blockquote', // %REMOVE_LINE_CORE%
+ init: function( editor ) {
+ if ( editor.blockless )
+ return;
+
+ editor.addCommand( 'blockquote', commandObject );
+
+ editor.ui.addButton && editor.ui.addButton( 'Blockquote', {
+ label: editor.lang.blockquote.toolbar,
+ command: 'blockquote',
+ toolbar: 'blocks,10'
+ });
+ }
+ });
+})();
|
