diff options
| author | lsces <lester@lsces.co.uk> | 2013-07-15 14:22:23 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2013-07-15 14:22:23 +0100 |
| commit | 6d4c4f12d15ae68d912972921997a8c5180c9aea (patch) | |
| tree | 104274447272d09617c483cf6b0ee79559c9fe6f /plugins/pastetext | |
| parent | de6d09676a9527919813a4474cc28af554a35fe1 (diff) | |
| download | ckeditor-6d4c4f12d15ae68d912972921997a8c5180c9aea.tar.gz ckeditor-6d4c4f12d15ae68d912972921997a8c5180c9aea.tar.bz2 ckeditor-6d4c4f12d15ae68d912972921997a8c5180c9aea.zip | |
Upgrade to CKEditor V4
Directory structure changed so many files removed and replace in a new location
This batch is the delete and add
Diffstat (limited to 'plugins/pastetext')
67 files changed, 587 insertions, 0 deletions
diff --git a/plugins/pastetext/icons/pastetext-rtl.png b/plugins/pastetext/icons/pastetext-rtl.png Binary files differnew file mode 100644 index 0000000..d8a73bc --- /dev/null +++ b/plugins/pastetext/icons/pastetext-rtl.png diff --git a/plugins/pastetext/icons/pastetext.png b/plugins/pastetext/icons/pastetext.png Binary files differnew file mode 100644 index 0000000..518a43e --- /dev/null +++ b/plugins/pastetext/icons/pastetext.png diff --git a/plugins/pastetext/lang/af.js b/plugins/pastetext/lang/af.js new file mode 100644 index 0000000..816160e --- /dev/null +++ b/plugins/pastetext/lang/af.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'af', {
+ button: 'Plak as eenvoudige teks',
+ title: 'Plak as eenvoudige teks'
+});
diff --git a/plugins/pastetext/lang/ar.js b/plugins/pastetext/lang/ar.js new file mode 100644 index 0000000..d0fa432 --- /dev/null +++ b/plugins/pastetext/lang/ar.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ar', {
+ button: 'لصق كنص بسيط',
+ title: 'لصق كنص بسيط'
+});
diff --git a/plugins/pastetext/lang/bg.js b/plugins/pastetext/lang/bg.js new file mode 100644 index 0000000..a3bc8c1 --- /dev/null +++ b/plugins/pastetext/lang/bg.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'bg', {
+ button: 'Вмъкни като чист текст',
+ title: 'Вмъкни като чист текст'
+});
diff --git a/plugins/pastetext/lang/bn.js b/plugins/pastetext/lang/bn.js new file mode 100644 index 0000000..eee3a93 --- /dev/null +++ b/plugins/pastetext/lang/bn.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'bn', {
+ button: 'সাদা টেক্সট হিসেবে পেস্ট কর',
+ title: 'সাদা টেক্সট হিসেবে পেস্ট কর'
+});
diff --git a/plugins/pastetext/lang/bs.js b/plugins/pastetext/lang/bs.js new file mode 100644 index 0000000..dc84616 --- /dev/null +++ b/plugins/pastetext/lang/bs.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'bs', {
+ button: 'Zalijepi kao obièan tekst',
+ title: 'Zalijepi kao obièan tekst'
+});
diff --git a/plugins/pastetext/lang/ca.js b/plugins/pastetext/lang/ca.js new file mode 100644 index 0000000..510ff77 --- /dev/null +++ b/plugins/pastetext/lang/ca.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ca', {
+ button: 'Enganxa com a text no formatat',
+ title: 'Enganxa com a text no formatat'
+});
diff --git a/plugins/pastetext/lang/cs.js b/plugins/pastetext/lang/cs.js new file mode 100644 index 0000000..3823903 --- /dev/null +++ b/plugins/pastetext/lang/cs.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'cs', {
+ button: 'Vložit jako čistý text',
+ title: 'Vložit jako čistý text'
+});
diff --git a/plugins/pastetext/lang/cy.js b/plugins/pastetext/lang/cy.js new file mode 100644 index 0000000..38d63ed --- /dev/null +++ b/plugins/pastetext/lang/cy.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'cy', {
+ button: 'Gludo fel testun plaen',
+ title: 'Gludo fel Testun Plaen'
+});
diff --git a/plugins/pastetext/lang/da.js b/plugins/pastetext/lang/da.js new file mode 100644 index 0000000..1d612c7 --- /dev/null +++ b/plugins/pastetext/lang/da.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'da', {
+ button: 'Indsæt som ikke-formateret tekst',
+ title: 'Indsæt som ikke-formateret tekst'
+});
diff --git a/plugins/pastetext/lang/de.js b/plugins/pastetext/lang/de.js new file mode 100644 index 0000000..0d9a43f --- /dev/null +++ b/plugins/pastetext/lang/de.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'de', {
+ button: 'Als Text einfügen',
+ title: 'Als Text einfügen'
+});
diff --git a/plugins/pastetext/lang/el.js b/plugins/pastetext/lang/el.js new file mode 100644 index 0000000..5fa4e7e --- /dev/null +++ b/plugins/pastetext/lang/el.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'el', {
+ button: 'Επικόλληση ως Απλό Κείμενο',
+ title: 'Επικόλληση ως Απλό Κείμενο'
+});
diff --git a/plugins/pastetext/lang/en-au.js b/plugins/pastetext/lang/en-au.js new file mode 100644 index 0000000..9fe08a6 --- /dev/null +++ b/plugins/pastetext/lang/en-au.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'en-au', {
+ button: 'Paste as plain text',
+ title: 'Paste as Plain Text'
+});
diff --git a/plugins/pastetext/lang/en-ca.js b/plugins/pastetext/lang/en-ca.js new file mode 100644 index 0000000..857d63e --- /dev/null +++ b/plugins/pastetext/lang/en-ca.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'en-ca', {
+ button: 'Paste as plain text',
+ title: 'Paste as Plain Text'
+});
diff --git a/plugins/pastetext/lang/en-gb.js b/plugins/pastetext/lang/en-gb.js new file mode 100644 index 0000000..4b5985f --- /dev/null +++ b/plugins/pastetext/lang/en-gb.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'en-gb', {
+ button: 'Paste as plain text',
+ title: 'Paste as Plain Text'
+});
diff --git a/plugins/pastetext/lang/en.js b/plugins/pastetext/lang/en.js new file mode 100644 index 0000000..d9514ae --- /dev/null +++ b/plugins/pastetext/lang/en.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'en', {
+ button: 'Paste as plain text',
+ title: 'Paste as Plain Text'
+});
diff --git a/plugins/pastetext/lang/eo.js b/plugins/pastetext/lang/eo.js new file mode 100644 index 0000000..c991b38 --- /dev/null +++ b/plugins/pastetext/lang/eo.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'eo', {
+ button: 'Interglui kiel platan tekston',
+ title: 'Interglui kiel platan tekston'
+});
diff --git a/plugins/pastetext/lang/es.js b/plugins/pastetext/lang/es.js new file mode 100644 index 0000000..88b4497 --- /dev/null +++ b/plugins/pastetext/lang/es.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'es', {
+ button: 'Pegar como Texto Plano',
+ title: 'Pegar como Texto Plano'
+});
diff --git a/plugins/pastetext/lang/et.js b/plugins/pastetext/lang/et.js new file mode 100644 index 0000000..0a71c2f --- /dev/null +++ b/plugins/pastetext/lang/et.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'et', {
+ button: 'Asetamine tavalise tekstina',
+ title: 'Asetamine tavalise tekstina'
+});
diff --git a/plugins/pastetext/lang/eu.js b/plugins/pastetext/lang/eu.js new file mode 100644 index 0000000..f969dff --- /dev/null +++ b/plugins/pastetext/lang/eu.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'eu', {
+ button: 'Testu Arrunta bezala Itsatsi',
+ title: 'Testu Arrunta bezala Itsatsi'
+});
diff --git a/plugins/pastetext/lang/fa.js b/plugins/pastetext/lang/fa.js new file mode 100644 index 0000000..357e0a0 --- /dev/null +++ b/plugins/pastetext/lang/fa.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'fa', {
+ button: 'چسباندن به عنوان متن ساده',
+ title: 'چسباندن به عنوان متن ساده'
+});
diff --git a/plugins/pastetext/lang/fi.js b/plugins/pastetext/lang/fi.js new file mode 100644 index 0000000..56d6974 --- /dev/null +++ b/plugins/pastetext/lang/fi.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'fi', {
+ button: 'Liitä tekstinä',
+ title: 'Liitä tekstinä'
+});
diff --git a/plugins/pastetext/lang/fo.js b/plugins/pastetext/lang/fo.js new file mode 100644 index 0000000..4700048 --- /dev/null +++ b/plugins/pastetext/lang/fo.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'fo', {
+ button: 'Innrita som reinan tekst',
+ title: 'Innrita som reinan tekst'
+});
diff --git a/plugins/pastetext/lang/fr-ca.js b/plugins/pastetext/lang/fr-ca.js new file mode 100644 index 0000000..a93cf38 --- /dev/null +++ b/plugins/pastetext/lang/fr-ca.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'fr-ca', {
+ button: 'Coller comme texte',
+ title: 'Coller comme texte'
+});
diff --git a/plugins/pastetext/lang/fr.js b/plugins/pastetext/lang/fr.js new file mode 100644 index 0000000..fa07f3b --- /dev/null +++ b/plugins/pastetext/lang/fr.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'fr', {
+ button: 'Coller comme texte sans mise en forme',
+ title: 'Coller comme texte sans mise en forme'
+});
diff --git a/plugins/pastetext/lang/gl.js b/plugins/pastetext/lang/gl.js new file mode 100644 index 0000000..8fa849c --- /dev/null +++ b/plugins/pastetext/lang/gl.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'gl', {
+ button: 'Pegar como texto simple',
+ title: 'Pegar como texto simple'
+});
diff --git a/plugins/pastetext/lang/gu.js b/plugins/pastetext/lang/gu.js new file mode 100644 index 0000000..6bab8bd --- /dev/null +++ b/plugins/pastetext/lang/gu.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'gu', {
+ button: 'પેસ્ટ (ટેક્સ્ટ)',
+ title: 'પેસ્ટ (ટેક્સ્ટ)'
+});
diff --git a/plugins/pastetext/lang/he.js b/plugins/pastetext/lang/he.js new file mode 100644 index 0000000..deca6e7 --- /dev/null +++ b/plugins/pastetext/lang/he.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'he', {
+ button: 'הדבקה כטקסט פשוט',
+ title: 'הדבקה כטקסט פשוט'
+});
diff --git a/plugins/pastetext/lang/hi.js b/plugins/pastetext/lang/hi.js new file mode 100644 index 0000000..2041690 --- /dev/null +++ b/plugins/pastetext/lang/hi.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'hi', {
+ button: 'पेस्ट (सादा टॅक्स्ट)',
+ title: 'पेस्ट (सादा टॅक्स्ट)'
+});
diff --git a/plugins/pastetext/lang/hr.js b/plugins/pastetext/lang/hr.js new file mode 100644 index 0000000..7f1413a --- /dev/null +++ b/plugins/pastetext/lang/hr.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'hr', {
+ button: 'Zalijepi kao čisti tekst',
+ title: 'Zalijepi kao čisti tekst'
+});
diff --git a/plugins/pastetext/lang/hu.js b/plugins/pastetext/lang/hu.js new file mode 100644 index 0000000..498efb0 --- /dev/null +++ b/plugins/pastetext/lang/hu.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'hu', {
+ button: 'Beillesztés formázatlan szövegként',
+ title: 'Beillesztés formázatlan szövegként'
+});
diff --git a/plugins/pastetext/lang/is.js b/plugins/pastetext/lang/is.js new file mode 100644 index 0000000..f447f9c --- /dev/null +++ b/plugins/pastetext/lang/is.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'is', {
+ button: 'Líma sem ósniðinn texta',
+ title: 'Líma sem ósniðinn texta'
+});
diff --git a/plugins/pastetext/lang/it.js b/plugins/pastetext/lang/it.js new file mode 100644 index 0000000..131f2c7 --- /dev/null +++ b/plugins/pastetext/lang/it.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'it', {
+ button: 'Incolla come testo semplice',
+ title: 'Incolla come testo semplice'
+});
diff --git a/plugins/pastetext/lang/ja.js b/plugins/pastetext/lang/ja.js new file mode 100644 index 0000000..c0b07b5 --- /dev/null +++ b/plugins/pastetext/lang/ja.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ja', {
+ button: 'プレーンテキスト貼り付け',
+ title: 'プレーンテキスト貼り付け'
+});
diff --git a/plugins/pastetext/lang/ka.js b/plugins/pastetext/lang/ka.js new file mode 100644 index 0000000..9200f44 --- /dev/null +++ b/plugins/pastetext/lang/ka.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ka', {
+ button: 'მხოლოდ ტექსტის ჩასმა',
+ title: 'მხოლოდ ტექსტის ჩასმა'
+});
diff --git a/plugins/pastetext/lang/km.js b/plugins/pastetext/lang/km.js new file mode 100644 index 0000000..5b29a36 --- /dev/null +++ b/plugins/pastetext/lang/km.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'km', {
+ button: 'បិទភ្ជាប់ជាអត្ថបទធម្មតា',
+ title: 'បិទភ្ជាប់ជាអត្ថបទធម្មតា'
+});
diff --git a/plugins/pastetext/lang/ko.js b/plugins/pastetext/lang/ko.js new file mode 100644 index 0000000..8f5711c --- /dev/null +++ b/plugins/pastetext/lang/ko.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ko', {
+ button: '텍스트로 붙여넣기',
+ title: '텍스트로 붙여넣기'
+});
diff --git a/plugins/pastetext/lang/ku.js b/plugins/pastetext/lang/ku.js new file mode 100644 index 0000000..2b47f5e --- /dev/null +++ b/plugins/pastetext/lang/ku.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ku', {
+ button: 'لکاندنی وەك دەقی ڕوون',
+ title: 'لکاندنی وەك دەقی ڕوون'
+});
diff --git a/plugins/pastetext/lang/lt.js b/plugins/pastetext/lang/lt.js new file mode 100644 index 0000000..dd82863 --- /dev/null +++ b/plugins/pastetext/lang/lt.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'lt', {
+ button: 'Įdėti kaip gryną tekstą',
+ title: 'Įdėti kaip gryną tekstą'
+});
diff --git a/plugins/pastetext/lang/lv.js b/plugins/pastetext/lang/lv.js new file mode 100644 index 0000000..f7bf489 --- /dev/null +++ b/plugins/pastetext/lang/lv.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'lv', {
+ button: 'Ievietot kā vienkāršu tekstu',
+ title: 'Ievietot kā vienkāršu tekstu'
+});
diff --git a/plugins/pastetext/lang/mk.js b/plugins/pastetext/lang/mk.js new file mode 100644 index 0000000..2f576c2 --- /dev/null +++ b/plugins/pastetext/lang/mk.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'mk', {
+ button: 'Paste as plain text', // MISSING
+ title: 'Paste as Plain Text' // MISSING
+});
diff --git a/plugins/pastetext/lang/mn.js b/plugins/pastetext/lang/mn.js new file mode 100644 index 0000000..06a3aa1 --- /dev/null +++ b/plugins/pastetext/lang/mn.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'mn', {
+ button: 'Энгийн бичвэрээр буулгах',
+ title: 'Энгийн бичвэрээр буулгах'
+});
diff --git a/plugins/pastetext/lang/ms.js b/plugins/pastetext/lang/ms.js new file mode 100644 index 0000000..094161e --- /dev/null +++ b/plugins/pastetext/lang/ms.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ms', {
+ button: 'Tampal sebagai text biasa',
+ title: 'Tampal sebagai text biasa'
+});
diff --git a/plugins/pastetext/lang/nb.js b/plugins/pastetext/lang/nb.js new file mode 100644 index 0000000..390ac1a --- /dev/null +++ b/plugins/pastetext/lang/nb.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'nb', {
+ button: 'Lim inn som ren tekst',
+ title: 'Lim inn som ren tekst'
+});
diff --git a/plugins/pastetext/lang/nl.js b/plugins/pastetext/lang/nl.js new file mode 100644 index 0000000..6d4bf69 --- /dev/null +++ b/plugins/pastetext/lang/nl.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'nl', {
+ button: 'Plakken als platte tekst',
+ title: 'Plakken als platte tekst'
+});
diff --git a/plugins/pastetext/lang/no.js b/plugins/pastetext/lang/no.js new file mode 100644 index 0000000..337dcd1 --- /dev/null +++ b/plugins/pastetext/lang/no.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'no', {
+ button: 'Lim inn som ren tekst',
+ title: 'Lim inn som ren tekst'
+});
diff --git a/plugins/pastetext/lang/pl.js b/plugins/pastetext/lang/pl.js new file mode 100644 index 0000000..88e7551 --- /dev/null +++ b/plugins/pastetext/lang/pl.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'pl', {
+ button: 'Wklej jako czysty tekst',
+ title: 'Wklej jako czysty tekst'
+});
diff --git a/plugins/pastetext/lang/pt-br.js b/plugins/pastetext/lang/pt-br.js new file mode 100644 index 0000000..65f66dc --- /dev/null +++ b/plugins/pastetext/lang/pt-br.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'pt-br', {
+ button: 'Colar como Texto sem Formatação',
+ title: 'Colar como Texto sem Formatação'
+});
diff --git a/plugins/pastetext/lang/pt.js b/plugins/pastetext/lang/pt.js new file mode 100644 index 0000000..a80ec21 --- /dev/null +++ b/plugins/pastetext/lang/pt.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'pt', {
+ button: 'Colar como Texto Simples',
+ title: 'Colar como Texto Simples'
+});
diff --git a/plugins/pastetext/lang/ro.js b/plugins/pastetext/lang/ro.js new file mode 100644 index 0000000..3ce2b89 --- /dev/null +++ b/plugins/pastetext/lang/ro.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ro', {
+ button: 'Adaugă ca text simplu (Plain Text)',
+ title: 'Adaugă ca text simplu (Plain Text)'
+});
diff --git a/plugins/pastetext/lang/ru.js b/plugins/pastetext/lang/ru.js new file mode 100644 index 0000000..828d6bf --- /dev/null +++ b/plugins/pastetext/lang/ru.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ru', {
+ button: 'Вставить только текст',
+ title: 'Вставить только текст'
+});
diff --git a/plugins/pastetext/lang/si.js b/plugins/pastetext/lang/si.js new file mode 100644 index 0000000..aedc603 --- /dev/null +++ b/plugins/pastetext/lang/si.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'si', {
+ button: 'සාමාන්ය අක්ෂර ලෙස අලවන්න',
+ title: 'සාමාන්ය අක්ෂර ලෙස අලවන්න'
+});
diff --git a/plugins/pastetext/lang/sk.js b/plugins/pastetext/lang/sk.js new file mode 100644 index 0000000..c5aae76 --- /dev/null +++ b/plugins/pastetext/lang/sk.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'sk', {
+ button: 'Vložiť ako čistý text',
+ title: 'Vložiť ako čistý text'
+});
diff --git a/plugins/pastetext/lang/sl.js b/plugins/pastetext/lang/sl.js new file mode 100644 index 0000000..9a022bd --- /dev/null +++ b/plugins/pastetext/lang/sl.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'sl', {
+ button: 'Prilepi kot golo besedilo',
+ title: 'Prilepi kot golo besedilo'
+});
diff --git a/plugins/pastetext/lang/sq.js b/plugins/pastetext/lang/sq.js new file mode 100644 index 0000000..b21f711 --- /dev/null +++ b/plugins/pastetext/lang/sq.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'sq', {
+ button: 'Hidhe si tekst të thjeshtë',
+ title: 'Hidhe si Tekst të Thjeshtë'
+});
diff --git a/plugins/pastetext/lang/sr-latn.js b/plugins/pastetext/lang/sr-latn.js new file mode 100644 index 0000000..3deeee7 --- /dev/null +++ b/plugins/pastetext/lang/sr-latn.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'sr-latn', {
+ button: 'Zalepi kao čist tekst',
+ title: 'Zalepi kao čist tekst'
+});
diff --git a/plugins/pastetext/lang/sr.js b/plugins/pastetext/lang/sr.js new file mode 100644 index 0000000..9a95b41 --- /dev/null +++ b/plugins/pastetext/lang/sr.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'sr', {
+ button: 'Залепи као чист текст',
+ title: 'Залепи као чист текст'
+});
diff --git a/plugins/pastetext/lang/sv.js b/plugins/pastetext/lang/sv.js new file mode 100644 index 0000000..509ab05 --- /dev/null +++ b/plugins/pastetext/lang/sv.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'sv', {
+ button: 'Klistra in som vanlig text',
+ title: 'Klistra in som vanlig text'
+});
diff --git a/plugins/pastetext/lang/th.js b/plugins/pastetext/lang/th.js new file mode 100644 index 0000000..155b19c --- /dev/null +++ b/plugins/pastetext/lang/th.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'th', {
+ button: 'วางแบบตัวอักษรธรรมดา',
+ title: 'วางแบบตัวอักษรธรรมดา'
+});
diff --git a/plugins/pastetext/lang/tr.js b/plugins/pastetext/lang/tr.js new file mode 100644 index 0000000..e9e41d2 --- /dev/null +++ b/plugins/pastetext/lang/tr.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'tr', {
+ button: 'Düz Metin Olarak Yapıştır',
+ title: 'Düz Metin Olarak Yapıştır'
+});
diff --git a/plugins/pastetext/lang/ug.js b/plugins/pastetext/lang/ug.js new file mode 100644 index 0000000..2bb3a35 --- /dev/null +++ b/plugins/pastetext/lang/ug.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'ug', {
+ button: 'پىچىمى يوق تېكىست سۈپىتىدە چاپلا',
+ title: 'پىچىمى يوق تېكىست سۈپىتىدە چاپلا'
+});
diff --git a/plugins/pastetext/lang/uk.js b/plugins/pastetext/lang/uk.js new file mode 100644 index 0000000..e8063ce --- /dev/null +++ b/plugins/pastetext/lang/uk.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'uk', {
+ button: 'Вставити тільки текст',
+ title: 'Вставити тільки текст'
+});
diff --git a/plugins/pastetext/lang/vi.js b/plugins/pastetext/lang/vi.js new file mode 100644 index 0000000..c1ec832 --- /dev/null +++ b/plugins/pastetext/lang/vi.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'vi', {
+ button: 'Dán theo định dạng văn bản thuần',
+ title: 'Dán theo định dạng văn bản thuần'
+});
diff --git a/plugins/pastetext/lang/zh-cn.js b/plugins/pastetext/lang/zh-cn.js new file mode 100644 index 0000000..8f80526 --- /dev/null +++ b/plugins/pastetext/lang/zh-cn.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'zh-cn', {
+ button: '粘贴为无格式文本',
+ title: '粘贴为无格式文本'
+});
diff --git a/plugins/pastetext/lang/zh.js b/plugins/pastetext/lang/zh.js new file mode 100644 index 0000000..a9ecaed --- /dev/null +++ b/plugins/pastetext/lang/zh.js @@ -0,0 +1,8 @@ +/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pastetext', 'zh', {
+ button: '貼為純文字格式',
+ title: '貼為純文字格式'
+});
diff --git a/plugins/pastetext/plugin.js b/plugins/pastetext/plugin.js new file mode 100644 index 0000000..a7b0898 --- /dev/null +++ b/plugins/pastetext/plugin.js @@ -0,0 +1,75 @@ +/**
+ * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+ */
+
+/**
+ * @fileOverview Paste as plain text plugin.
+ */
+
+(function() {
+ // The pastetext command definition.
+ var pasteTextCmd = {
+ // Snapshots are done manually by editable.insertXXX methods.
+ canUndo: false,
+ async: true,
+
+ exec: function( editor ) {
+ editor.getClipboardData({ title: editor.lang.pastetext.title }, function( data ) {
+ // Do not use editor#paste, because it would start from beforePaste event.
+ data && editor.fire( 'paste', { type: 'text', dataValue: data.dataValue } );
+
+ editor.fire( 'afterCommandExec', {
+ name: 'pastetext',
+ command: pasteTextCmd,
+ returnValue: !!data
+ });
+ });
+ }
+ };
+
+ // Register the plugin.
+ CKEDITOR.plugins.add( 'pastetext', {
+ requires: 'clipboard',
+ 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: 'pastetext,pastetext-rtl', // %REMOVE_LINE_CORE%
+ init: function( editor ) {
+ var commandName = 'pastetext';
+
+ editor.addCommand( commandName, pasteTextCmd );
+
+ editor.ui.addButton && editor.ui.addButton( 'PasteText', {
+ label: editor.lang.pastetext.button,
+ command: commandName,
+ toolbar: 'clipboard,40'
+ });
+
+ if ( editor.config.forcePasteAsPlainText ) {
+ editor.on( 'beforePaste', function( evt ) {
+ // Do NOT overwrite if HTML format is explicitly requested.
+ // This allows pastefromword dominates over pastetext.
+ if ( evt.data.type != 'html' )
+ evt.data.type = 'text';
+ });
+ }
+
+ editor.on( 'pasteState', function( evt ) {
+ editor.getCommand( commandName ).setState( evt.data );
+ });
+ }
+ });
+})();
+
+
+/**
+ * Whether to force all pasting operations to insert on plain text into the
+ * editor, loosing any formatting information possibly available in the source
+ * text.
+ *
+ * **Note:** paste from word (dialog) is not affected by this configuration.
+ *
+ * config.forcePasteAsPlainText = true;
+ *
+ * @cfg {Boolean} [forcePasteAsPlainText=false]
+ * @member CKEDITOR.config
+ */
|
