aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/pastetext
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-01-25 17:45:33 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-01-25 18:00:33 +0100
commit7adcb81e4f83f98c468889aaa5a85558ba88c770 (patch)
tree0d6ede733777b29060b48df4afaa2c64bfbae276 /sources/plugins/pastetext
downloadconnexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.gz
connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.zst
connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.zip
Initial commit4.5.6
Diffstat (limited to 'sources/plugins/pastetext')
-rw-r--r--sources/plugins/pastetext/icons/hidpi/pastetext-rtl.pngbin0 -> 1950 bytes
-rw-r--r--sources/plugins/pastetext/icons/hidpi/pastetext.pngbin0 -> 1963 bytes
-rw-r--r--sources/plugins/pastetext/icons/pastetext-rtl.pngbin0 -> 752 bytes
-rw-r--r--sources/plugins/pastetext/icons/pastetext.pngbin0 -> 750 bytes
-rw-r--r--sources/plugins/pastetext/lang/af.js8
-rw-r--r--sources/plugins/pastetext/lang/ar.js8
-rw-r--r--sources/plugins/pastetext/lang/bg.js8
-rw-r--r--sources/plugins/pastetext/lang/bn.js8
-rw-r--r--sources/plugins/pastetext/lang/bs.js8
-rw-r--r--sources/plugins/pastetext/lang/ca.js8
-rw-r--r--sources/plugins/pastetext/lang/cs.js8
-rw-r--r--sources/plugins/pastetext/lang/cy.js8
-rw-r--r--sources/plugins/pastetext/lang/da.js8
-rw-r--r--sources/plugins/pastetext/lang/de.js8
-rw-r--r--sources/plugins/pastetext/lang/el.js8
-rw-r--r--sources/plugins/pastetext/lang/en-au.js8
-rw-r--r--sources/plugins/pastetext/lang/en-ca.js8
-rw-r--r--sources/plugins/pastetext/lang/en-gb.js8
-rw-r--r--sources/plugins/pastetext/lang/en.js8
-rw-r--r--sources/plugins/pastetext/lang/eo.js8
-rw-r--r--sources/plugins/pastetext/lang/es.js8
-rw-r--r--sources/plugins/pastetext/lang/et.js8
-rw-r--r--sources/plugins/pastetext/lang/eu.js8
-rw-r--r--sources/plugins/pastetext/lang/fa.js8
-rw-r--r--sources/plugins/pastetext/lang/fi.js8
-rw-r--r--sources/plugins/pastetext/lang/fo.js8
-rw-r--r--sources/plugins/pastetext/lang/fr-ca.js8
-rw-r--r--sources/plugins/pastetext/lang/fr.js8
-rw-r--r--sources/plugins/pastetext/lang/gl.js8
-rw-r--r--sources/plugins/pastetext/lang/gu.js8
-rw-r--r--sources/plugins/pastetext/lang/he.js8
-rw-r--r--sources/plugins/pastetext/lang/hi.js8
-rw-r--r--sources/plugins/pastetext/lang/hr.js8
-rw-r--r--sources/plugins/pastetext/lang/hu.js8
-rw-r--r--sources/plugins/pastetext/lang/id.js8
-rw-r--r--sources/plugins/pastetext/lang/is.js8
-rw-r--r--sources/plugins/pastetext/lang/it.js8
-rw-r--r--sources/plugins/pastetext/lang/ja.js8
-rw-r--r--sources/plugins/pastetext/lang/ka.js8
-rw-r--r--sources/plugins/pastetext/lang/km.js8
-rw-r--r--sources/plugins/pastetext/lang/ko.js8
-rw-r--r--sources/plugins/pastetext/lang/ku.js8
-rw-r--r--sources/plugins/pastetext/lang/lt.js8
-rw-r--r--sources/plugins/pastetext/lang/lv.js8
-rw-r--r--sources/plugins/pastetext/lang/mk.js8
-rw-r--r--sources/plugins/pastetext/lang/mn.js8
-rw-r--r--sources/plugins/pastetext/lang/ms.js8
-rw-r--r--sources/plugins/pastetext/lang/nb.js8
-rw-r--r--sources/plugins/pastetext/lang/nl.js8
-rw-r--r--sources/plugins/pastetext/lang/no.js8
-rw-r--r--sources/plugins/pastetext/lang/pl.js8
-rw-r--r--sources/plugins/pastetext/lang/pt-br.js8
-rw-r--r--sources/plugins/pastetext/lang/pt.js8
-rw-r--r--sources/plugins/pastetext/lang/ro.js8
-rw-r--r--sources/plugins/pastetext/lang/ru.js8
-rw-r--r--sources/plugins/pastetext/lang/si.js8
-rw-r--r--sources/plugins/pastetext/lang/sk.js8
-rw-r--r--sources/plugins/pastetext/lang/sl.js8
-rw-r--r--sources/plugins/pastetext/lang/sq.js8
-rw-r--r--sources/plugins/pastetext/lang/sr-latn.js8
-rw-r--r--sources/plugins/pastetext/lang/sr.js8
-rw-r--r--sources/plugins/pastetext/lang/sv.js8
-rw-r--r--sources/plugins/pastetext/lang/th.js8
-rw-r--r--sources/plugins/pastetext/lang/tr.js8
-rw-r--r--sources/plugins/pastetext/lang/tt.js8
-rw-r--r--sources/plugins/pastetext/lang/ug.js8
-rw-r--r--sources/plugins/pastetext/lang/uk.js8
-rw-r--r--sources/plugins/pastetext/lang/vi.js8
-rw-r--r--sources/plugins/pastetext/lang/zh-cn.js8
-rw-r--r--sources/plugins/pastetext/lang/zh.js8
-rw-r--r--sources/plugins/pastetext/plugin.js83
71 files changed, 611 insertions, 0 deletions
diff --git a/sources/plugins/pastetext/icons/hidpi/pastetext-rtl.png b/sources/plugins/pastetext/icons/hidpi/pastetext-rtl.png
new file mode 100644
index 00000000..35354a5f
--- /dev/null
+++ b/sources/plugins/pastetext/icons/hidpi/pastetext-rtl.png
Binary files differ
diff --git a/sources/plugins/pastetext/icons/hidpi/pastetext.png b/sources/plugins/pastetext/icons/hidpi/pastetext.png
new file mode 100644
index 00000000..f82900fa
--- /dev/null
+++ b/sources/plugins/pastetext/icons/hidpi/pastetext.png
Binary files differ
diff --git a/sources/plugins/pastetext/icons/pastetext-rtl.png b/sources/plugins/pastetext/icons/pastetext-rtl.png
new file mode 100644
index 00000000..9393b347
--- /dev/null
+++ b/sources/plugins/pastetext/icons/pastetext-rtl.png
Binary files differ
diff --git a/sources/plugins/pastetext/icons/pastetext.png b/sources/plugins/pastetext/icons/pastetext.png
new file mode 100644
index 00000000..20816a4f
--- /dev/null
+++ b/sources/plugins/pastetext/icons/pastetext.png
Binary files differ
diff --git a/sources/plugins/pastetext/lang/af.js b/sources/plugins/pastetext/lang/af.js
new file mode 100644
index 00000000..d917fa32
--- /dev/null
+++ b/sources/plugins/pastetext/lang/af.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'af', {
6 button: 'Plak as eenvoudige teks',
7 title: 'Plak as eenvoudige teks'
8} );
diff --git a/sources/plugins/pastetext/lang/ar.js b/sources/plugins/pastetext/lang/ar.js
new file mode 100644
index 00000000..ff5627f4
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ar.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ar', {
6 button: 'لصق كنص بسيط',
7 title: 'لصق كنص بسيط'
8} );
diff --git a/sources/plugins/pastetext/lang/bg.js b/sources/plugins/pastetext/lang/bg.js
new file mode 100644
index 00000000..5ff58b77
--- /dev/null
+++ b/sources/plugins/pastetext/lang/bg.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'bg', {
6 button: 'Вмъкни като чист текст',
7 title: 'Вмъкни като чист текст'
8} );
diff --git a/sources/plugins/pastetext/lang/bn.js b/sources/plugins/pastetext/lang/bn.js
new file mode 100644
index 00000000..3d1098ef
--- /dev/null
+++ b/sources/plugins/pastetext/lang/bn.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'bn', {
6 button: 'সাদা টেক্সট হিসেবে পেস্ট কর',
7 title: 'সাদা টেক্সট হিসেবে পেস্ট কর'
8} );
diff --git a/sources/plugins/pastetext/lang/bs.js b/sources/plugins/pastetext/lang/bs.js
new file mode 100644
index 00000000..c466d309
--- /dev/null
+++ b/sources/plugins/pastetext/lang/bs.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'bs', {
6 button: 'Zalijepi kao obièan tekst',
7 title: 'Zalijepi kao obièan tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/ca.js b/sources/plugins/pastetext/lang/ca.js
new file mode 100644
index 00000000..2aa68fa8
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ca.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ca', {
6 button: 'Enganxa com a text no formatat',
7 title: 'Enganxa com a text no formatat'
8} );
diff --git a/sources/plugins/pastetext/lang/cs.js b/sources/plugins/pastetext/lang/cs.js
new file mode 100644
index 00000000..99c40827
--- /dev/null
+++ b/sources/plugins/pastetext/lang/cs.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'cs', {
6 button: 'Vložit jako čistý text',
7 title: 'Vložit jako čistý text'
8} );
diff --git a/sources/plugins/pastetext/lang/cy.js b/sources/plugins/pastetext/lang/cy.js
new file mode 100644
index 00000000..82047b61
--- /dev/null
+++ b/sources/plugins/pastetext/lang/cy.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'cy', {
6 button: 'Gludo fel testun plaen',
7 title: 'Gludo fel Testun Plaen'
8} );
diff --git a/sources/plugins/pastetext/lang/da.js b/sources/plugins/pastetext/lang/da.js
new file mode 100644
index 00000000..11e2b974
--- /dev/null
+++ b/sources/plugins/pastetext/lang/da.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'da', {
6 button: 'Indsæt som ikke-formateret tekst',
7 title: 'Indsæt som ikke-formateret tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/de.js b/sources/plugins/pastetext/lang/de.js
new file mode 100644
index 00000000..40045c4b
--- /dev/null
+++ b/sources/plugins/pastetext/lang/de.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'de', {
6 button: 'Als Klartext einfügen',
7 title: 'Als Klartext einfügen'
8} );
diff --git a/sources/plugins/pastetext/lang/el.js b/sources/plugins/pastetext/lang/el.js
new file mode 100644
index 00000000..48bc65f6
--- /dev/null
+++ b/sources/plugins/pastetext/lang/el.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'el', {
6 button: 'Επικόλληση ως απλό κείμενο',
7 title: 'Επικόλληση ως απλό κείμενο'
8} );
diff --git a/sources/plugins/pastetext/lang/en-au.js b/sources/plugins/pastetext/lang/en-au.js
new file mode 100644
index 00000000..8818ccea
--- /dev/null
+++ b/sources/plugins/pastetext/lang/en-au.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'en-au', {
6 button: 'Paste as plain text',
7 title: 'Paste as Plain Text'
8} );
diff --git a/sources/plugins/pastetext/lang/en-ca.js b/sources/plugins/pastetext/lang/en-ca.js
new file mode 100644
index 00000000..410af417
--- /dev/null
+++ b/sources/plugins/pastetext/lang/en-ca.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'en-ca', {
6 button: 'Paste as plain text',
7 title: 'Paste as Plain Text'
8} );
diff --git a/sources/plugins/pastetext/lang/en-gb.js b/sources/plugins/pastetext/lang/en-gb.js
new file mode 100644
index 00000000..40767086
--- /dev/null
+++ b/sources/plugins/pastetext/lang/en-gb.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'en-gb', {
6 button: 'Paste as plain text',
7 title: 'Paste as Plain Text'
8} );
diff --git a/sources/plugins/pastetext/lang/en.js b/sources/plugins/pastetext/lang/en.js
new file mode 100644
index 00000000..f79eefea
--- /dev/null
+++ b/sources/plugins/pastetext/lang/en.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'en', {
6 button: 'Paste as plain text',
7 title: 'Paste as Plain Text'
8} );
diff --git a/sources/plugins/pastetext/lang/eo.js b/sources/plugins/pastetext/lang/eo.js
new file mode 100644
index 00000000..9b51ba0e
--- /dev/null
+++ b/sources/plugins/pastetext/lang/eo.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'eo', {
6 button: 'Interglui kiel platan tekston',
7 title: 'Interglui kiel platan tekston'
8} );
diff --git a/sources/plugins/pastetext/lang/es.js b/sources/plugins/pastetext/lang/es.js
new file mode 100644
index 00000000..e8e189c6
--- /dev/null
+++ b/sources/plugins/pastetext/lang/es.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'es', {
6 button: 'Pegar como Texto Plano',
7 title: 'Pegar como Texto Plano'
8} );
diff --git a/sources/plugins/pastetext/lang/et.js b/sources/plugins/pastetext/lang/et.js
new file mode 100644
index 00000000..f849310d
--- /dev/null
+++ b/sources/plugins/pastetext/lang/et.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'et', {
6 button: 'Asetamine tavalise tekstina',
7 title: 'Asetamine tavalise tekstina'
8} );
diff --git a/sources/plugins/pastetext/lang/eu.js b/sources/plugins/pastetext/lang/eu.js
new file mode 100644
index 00000000..6fee40ff
--- /dev/null
+++ b/sources/plugins/pastetext/lang/eu.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'eu', {
6 button: 'Itsatsi testu arrunta bezala',
7 title: 'Itsatsi testu arrunta bezala'
8} );
diff --git a/sources/plugins/pastetext/lang/fa.js b/sources/plugins/pastetext/lang/fa.js
new file mode 100644
index 00000000..366087ab
--- /dev/null
+++ b/sources/plugins/pastetext/lang/fa.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'fa', {
6 button: 'چسباندن به عنوان متن ساده',
7 title: 'چسباندن به عنوان متن ساده'
8} );
diff --git a/sources/plugins/pastetext/lang/fi.js b/sources/plugins/pastetext/lang/fi.js
new file mode 100644
index 00000000..7e9b6ce1
--- /dev/null
+++ b/sources/plugins/pastetext/lang/fi.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'fi', {
6 button: 'Liitä tekstinä',
7 title: 'Liitä tekstinä'
8} );
diff --git a/sources/plugins/pastetext/lang/fo.js b/sources/plugins/pastetext/lang/fo.js
new file mode 100644
index 00000000..f40f3690
--- /dev/null
+++ b/sources/plugins/pastetext/lang/fo.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'fo', {
6 button: 'Innrita som reinan tekst',
7 title: 'Innrita som reinan tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/fr-ca.js b/sources/plugins/pastetext/lang/fr-ca.js
new file mode 100644
index 00000000..26fe8368
--- /dev/null
+++ b/sources/plugins/pastetext/lang/fr-ca.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'fr-ca', {
6 button: 'Coller comme texte',
7 title: 'Coller comme texte'
8} );
diff --git a/sources/plugins/pastetext/lang/fr.js b/sources/plugins/pastetext/lang/fr.js
new file mode 100644
index 00000000..d7472a08
--- /dev/null
+++ b/sources/plugins/pastetext/lang/fr.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'fr', {
6 button: 'Coller comme texte sans mise en forme',
7 title: 'Coller comme texte sans mise en forme'
8} );
diff --git a/sources/plugins/pastetext/lang/gl.js b/sources/plugins/pastetext/lang/gl.js
new file mode 100644
index 00000000..4440f7c6
--- /dev/null
+++ b/sources/plugins/pastetext/lang/gl.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'gl', {
6 button: 'Pegar como texto simple',
7 title: 'Pegar como texto simple'
8} );
diff --git a/sources/plugins/pastetext/lang/gu.js b/sources/plugins/pastetext/lang/gu.js
new file mode 100644
index 00000000..b50fd31e
--- /dev/null
+++ b/sources/plugins/pastetext/lang/gu.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'gu', {
6 button: 'પેસ્ટ (ટેક્સ્ટ)',
7 title: 'પેસ્ટ (ટેક્સ્ટ)'
8} );
diff --git a/sources/plugins/pastetext/lang/he.js b/sources/plugins/pastetext/lang/he.js
new file mode 100644
index 00000000..c9f1996f
--- /dev/null
+++ b/sources/plugins/pastetext/lang/he.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'he', {
6 button: 'הדבקה כטקסט פשוט',
7 title: 'הדבקה כטקסט פשוט'
8} );
diff --git a/sources/plugins/pastetext/lang/hi.js b/sources/plugins/pastetext/lang/hi.js
new file mode 100644
index 00000000..bcada839
--- /dev/null
+++ b/sources/plugins/pastetext/lang/hi.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'hi', {
6 button: 'पेस्ट (सादा टॅक्स्ट)',
7 title: 'पेस्ट (सादा टॅक्स्ट)'
8} );
diff --git a/sources/plugins/pastetext/lang/hr.js b/sources/plugins/pastetext/lang/hr.js
new file mode 100644
index 00000000..40d02a8f
--- /dev/null
+++ b/sources/plugins/pastetext/lang/hr.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'hr', {
6 button: 'Zalijepi kao čisti tekst',
7 title: 'Zalijepi kao čisti tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/hu.js b/sources/plugins/pastetext/lang/hu.js
new file mode 100644
index 00000000..26293b4f
--- /dev/null
+++ b/sources/plugins/pastetext/lang/hu.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'hu', {
6 button: 'Beillesztés formázatlan szövegként',
7 title: 'Beillesztés formázatlan szövegként'
8} );
diff --git a/sources/plugins/pastetext/lang/id.js b/sources/plugins/pastetext/lang/id.js
new file mode 100644
index 00000000..6469321b
--- /dev/null
+++ b/sources/plugins/pastetext/lang/id.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'id', {
6 button: 'Tempel sebagai teks polos',
7 title: 'Tempel sebagai Teks Polos'
8} );
diff --git a/sources/plugins/pastetext/lang/is.js b/sources/plugins/pastetext/lang/is.js
new file mode 100644
index 00000000..8f4d4c19
--- /dev/null
+++ b/sources/plugins/pastetext/lang/is.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'is', {
6 button: 'Líma sem ósniðinn texta',
7 title: 'Líma sem ósniðinn texta'
8} );
diff --git a/sources/plugins/pastetext/lang/it.js b/sources/plugins/pastetext/lang/it.js
new file mode 100644
index 00000000..f266c9eb
--- /dev/null
+++ b/sources/plugins/pastetext/lang/it.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'it', {
6 button: 'Incolla come testo semplice',
7 title: 'Incolla come testo semplice'
8} );
diff --git a/sources/plugins/pastetext/lang/ja.js b/sources/plugins/pastetext/lang/ja.js
new file mode 100644
index 00000000..0f470c4f
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ja.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ja', {
6 button: 'プレーンテキストとして貼り付け',
7 title: 'プレーンテキストとして貼り付け'
8} );
diff --git a/sources/plugins/pastetext/lang/ka.js b/sources/plugins/pastetext/lang/ka.js
new file mode 100644
index 00000000..5177458e
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ka.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ka', {
6 button: 'მხოლოდ ტექსტის ჩასმა',
7 title: 'მხოლოდ ტექსტის ჩასმა'
8} );
diff --git a/sources/plugins/pastetext/lang/km.js b/sources/plugins/pastetext/lang/km.js
new file mode 100644
index 00000000..529fd92a
--- /dev/null
+++ b/sources/plugins/pastetext/lang/km.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'km', {
6 button: 'បិទ​ភ្ជាប់​ជា​អត្ថបទ​ធម្មតា',
7 title: 'បិទ​ភ្ជាប់​ជា​អត្ថបទ​ធម្មតា'
8} );
diff --git a/sources/plugins/pastetext/lang/ko.js b/sources/plugins/pastetext/lang/ko.js
new file mode 100644
index 00000000..ba79a8a7
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ko.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ko', {
6 button: '텍스트로 붙여넣기',
7 title: '텍스트로 붙여넣기'
8} );
diff --git a/sources/plugins/pastetext/lang/ku.js b/sources/plugins/pastetext/lang/ku.js
new file mode 100644
index 00000000..98f464ea
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ku.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ku', {
6 button: 'لکاندنی وەك دەقی ڕوون',
7 title: 'لکاندنی وەك دەقی ڕوون'
8} );
diff --git a/sources/plugins/pastetext/lang/lt.js b/sources/plugins/pastetext/lang/lt.js
new file mode 100644
index 00000000..71b8b388
--- /dev/null
+++ b/sources/plugins/pastetext/lang/lt.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'lt', {
6 button: 'Įdėti kaip gryną tekstą',
7 title: 'Įdėti kaip gryną tekstą'
8} );
diff --git a/sources/plugins/pastetext/lang/lv.js b/sources/plugins/pastetext/lang/lv.js
new file mode 100644
index 00000000..392d71a9
--- /dev/null
+++ b/sources/plugins/pastetext/lang/lv.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'lv', {
6 button: 'Ievietot kā vienkāršu tekstu',
7 title: 'Ievietot kā vienkāršu tekstu'
8} );
diff --git a/sources/plugins/pastetext/lang/mk.js b/sources/plugins/pastetext/lang/mk.js
new file mode 100644
index 00000000..6c3b171c
--- /dev/null
+++ b/sources/plugins/pastetext/lang/mk.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'mk', {
6 button: 'Paste as plain text', // MISSING
7 title: 'Paste as Plain Text' // MISSING
8} );
diff --git a/sources/plugins/pastetext/lang/mn.js b/sources/plugins/pastetext/lang/mn.js
new file mode 100644
index 00000000..d8ee0ef7
--- /dev/null
+++ b/sources/plugins/pastetext/lang/mn.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'mn', {
6 button: 'Энгийн бичвэрээр буулгах',
7 title: 'Энгийн бичвэрээр буулгах'
8} );
diff --git a/sources/plugins/pastetext/lang/ms.js b/sources/plugins/pastetext/lang/ms.js
new file mode 100644
index 00000000..02310e5d
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ms.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ms', {
6 button: 'Tampal sebagai text biasa',
7 title: 'Tampal sebagai text biasa'
8} );
diff --git a/sources/plugins/pastetext/lang/nb.js b/sources/plugins/pastetext/lang/nb.js
new file mode 100644
index 00000000..0bea7da8
--- /dev/null
+++ b/sources/plugins/pastetext/lang/nb.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'nb', {
6 button: 'Lim inn som ren tekst',
7 title: 'Lim inn som ren tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/nl.js b/sources/plugins/pastetext/lang/nl.js
new file mode 100644
index 00000000..13891bac
--- /dev/null
+++ b/sources/plugins/pastetext/lang/nl.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'nl', {
6 button: 'Plakken als platte tekst',
7 title: 'Plakken als platte tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/no.js b/sources/plugins/pastetext/lang/no.js
new file mode 100644
index 00000000..80423925
--- /dev/null
+++ b/sources/plugins/pastetext/lang/no.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'no', {
6 button: 'Lim inn som ren tekst',
7 title: 'Lim inn som ren tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/pl.js b/sources/plugins/pastetext/lang/pl.js
new file mode 100644
index 00000000..68ada7cc
--- /dev/null
+++ b/sources/plugins/pastetext/lang/pl.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'pl', {
6 button: 'Wklej jako czysty tekst',
7 title: 'Wklej jako czysty tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/pt-br.js b/sources/plugins/pastetext/lang/pt-br.js
new file mode 100644
index 00000000..27234104
--- /dev/null
+++ b/sources/plugins/pastetext/lang/pt-br.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'pt-br', {
6 button: 'Colar como Texto sem Formatação',
7 title: 'Colar como Texto sem Formatação'
8} );
diff --git a/sources/plugins/pastetext/lang/pt.js b/sources/plugins/pastetext/lang/pt.js
new file mode 100644
index 00000000..edcbd524
--- /dev/null
+++ b/sources/plugins/pastetext/lang/pt.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'pt', {
6 button: 'Colar como Texto Simples',
7 title: 'Colar como Texto Simples'
8} );
diff --git a/sources/plugins/pastetext/lang/ro.js b/sources/plugins/pastetext/lang/ro.js
new file mode 100644
index 00000000..818838a6
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ro.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ro', {
6 button: 'Adaugă ca text simplu (Plain Text)',
7 title: 'Adaugă ca text simplu (Plain Text)'
8} );
diff --git a/sources/plugins/pastetext/lang/ru.js b/sources/plugins/pastetext/lang/ru.js
new file mode 100644
index 00000000..ea9061f0
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ru.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ru', {
6 button: 'Вставить только текст',
7 title: 'Вставить только текст'
8} );
diff --git a/sources/plugins/pastetext/lang/si.js b/sources/plugins/pastetext/lang/si.js
new file mode 100644
index 00000000..4a338f9a
--- /dev/null
+++ b/sources/plugins/pastetext/lang/si.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'si', {
6 button: 'සාමාන්‍ය අක්ෂර ලෙස අලවන්න',
7 title: 'සාමාන්‍ය අක්ෂර ලෙස අලවන්න'
8} );
diff --git a/sources/plugins/pastetext/lang/sk.js b/sources/plugins/pastetext/lang/sk.js
new file mode 100644
index 00000000..38912c79
--- /dev/null
+++ b/sources/plugins/pastetext/lang/sk.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'sk', {
6 button: 'Vložiť ako čistý text',
7 title: 'Vložiť ako čistý text'
8} );
diff --git a/sources/plugins/pastetext/lang/sl.js b/sources/plugins/pastetext/lang/sl.js
new file mode 100644
index 00000000..0673e4ff
--- /dev/null
+++ b/sources/plugins/pastetext/lang/sl.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'sl', {
6 button: 'Prilepi kot golo besedilo',
7 title: 'Prilepi kot golo besedilo'
8} );
diff --git a/sources/plugins/pastetext/lang/sq.js b/sources/plugins/pastetext/lang/sq.js
new file mode 100644
index 00000000..93234684
--- /dev/null
+++ b/sources/plugins/pastetext/lang/sq.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'sq', {
6 button: 'Hidhe si tekst të thjeshtë',
7 title: 'Hidhe si Tekst të Thjeshtë'
8} );
diff --git a/sources/plugins/pastetext/lang/sr-latn.js b/sources/plugins/pastetext/lang/sr-latn.js
new file mode 100644
index 00000000..7fb5f5e7
--- /dev/null
+++ b/sources/plugins/pastetext/lang/sr-latn.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'sr-latn', {
6 button: 'Zalepi kao čist tekst',
7 title: 'Zalepi kao čist tekst'
8} );
diff --git a/sources/plugins/pastetext/lang/sr.js b/sources/plugins/pastetext/lang/sr.js
new file mode 100644
index 00000000..bc22aca3
--- /dev/null
+++ b/sources/plugins/pastetext/lang/sr.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'sr', {
6 button: 'Залепи као чист текст',
7 title: 'Залепи као чист текст'
8} );
diff --git a/sources/plugins/pastetext/lang/sv.js b/sources/plugins/pastetext/lang/sv.js
new file mode 100644
index 00000000..28a0233c
--- /dev/null
+++ b/sources/plugins/pastetext/lang/sv.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'sv', {
6 button: 'Klistra in som vanlig text',
7 title: 'Klistra in som vanlig text'
8} );
diff --git a/sources/plugins/pastetext/lang/th.js b/sources/plugins/pastetext/lang/th.js
new file mode 100644
index 00000000..90d3389e
--- /dev/null
+++ b/sources/plugins/pastetext/lang/th.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'th', {
6 button: 'วางแบบตัวอักษรธรรมดา',
7 title: 'วางแบบตัวอักษรธรรมดา'
8} );
diff --git a/sources/plugins/pastetext/lang/tr.js b/sources/plugins/pastetext/lang/tr.js
new file mode 100644
index 00000000..ee134d81
--- /dev/null
+++ b/sources/plugins/pastetext/lang/tr.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'tr', {
6 button: 'Düz Metin Olarak Yapıştır',
7 title: 'Düz Metin Olarak Yapıştır'
8} );
diff --git a/sources/plugins/pastetext/lang/tt.js b/sources/plugins/pastetext/lang/tt.js
new file mode 100644
index 00000000..cbd60c42
--- /dev/null
+++ b/sources/plugins/pastetext/lang/tt.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'tt', {
6 button: 'Форматлаусыз текст өстәү',
7 title: 'Форматлаусыз текст өстәү'
8} );
diff --git a/sources/plugins/pastetext/lang/ug.js b/sources/plugins/pastetext/lang/ug.js
new file mode 100644
index 00000000..e774edd4
--- /dev/null
+++ b/sources/plugins/pastetext/lang/ug.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'ug', {
6 button: 'پىچىمى يوق تېكىست سۈپىتىدە چاپلا',
7 title: 'پىچىمى يوق تېكىست سۈپىتىدە چاپلا'
8} );
diff --git a/sources/plugins/pastetext/lang/uk.js b/sources/plugins/pastetext/lang/uk.js
new file mode 100644
index 00000000..59653aac
--- /dev/null
+++ b/sources/plugins/pastetext/lang/uk.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'uk', {
6 button: 'Вставити тільки текст',
7 title: 'Вставити тільки текст'
8} );
diff --git a/sources/plugins/pastetext/lang/vi.js b/sources/plugins/pastetext/lang/vi.js
new file mode 100644
index 00000000..cd94e29e
--- /dev/null
+++ b/sources/plugins/pastetext/lang/vi.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'vi', {
6 button: 'Dán theo định dạng văn bản thuần',
7 title: 'Dán theo định dạng văn bản thuần'
8} );
diff --git a/sources/plugins/pastetext/lang/zh-cn.js b/sources/plugins/pastetext/lang/zh-cn.js
new file mode 100644
index 00000000..42f97ed7
--- /dev/null
+++ b/sources/plugins/pastetext/lang/zh-cn.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'zh-cn', {
6 button: '粘贴为无格式文本',
7 title: '粘贴为无格式文本'
8} );
diff --git a/sources/plugins/pastetext/lang/zh.js b/sources/plugins/pastetext/lang/zh.js
new file mode 100644
index 00000000..8c524d6b
--- /dev/null
+++ b/sources/plugins/pastetext/lang/zh.js
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'pastetext', 'zh', {
6 button: '貼成純文字',
7 title: '貼成純文字'
8} );
diff --git a/sources/plugins/pastetext/plugin.js b/sources/plugins/pastetext/plugin.js
new file mode 100644
index 00000000..0c410e31
--- /dev/null
+++ b/sources/plugins/pastetext/plugin.js
@@ -0,0 +1,83 @@
1/**
2 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */
5
6/**
7 * @fileOverview Paste as plain text plugin.
8 */
9
10( function() {
11 // The pastetext command definition.
12 var pasteTextCmd = {
13 // Snapshots are done manually by editable.insertXXX methods.
14 canUndo: false,
15 async: true,
16
17 exec: function( editor ) {
18 editor.getClipboardData( { title: editor.lang.pastetext.title }, function( data ) {
19 // Do not use editor#paste, because it would start from beforePaste event.
20 data && editor.fire( 'paste', {
21 type: 'text',
22 dataValue: data.dataValue,
23 method: 'paste',
24 dataTransfer: CKEDITOR.plugins.clipboard.initPasteDataTransfer()
25 } );
26
27 editor.fire( 'afterCommandExec', {
28 name: 'pastetext',
29 command: pasteTextCmd,
30 returnValue: !!data
31 } );
32 } );
33 }
34 };
35
36 // Register the plugin.
37 CKEDITOR.plugins.add( 'pastetext', {
38 requires: 'clipboard',
39 // jscs:disable maximumLineLength
40 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%
41 // jscs:enable maximumLineLength
42 icons: 'pastetext,pastetext-rtl', // %REMOVE_LINE_CORE%
43 hidpi: true, // %REMOVE_LINE_CORE%
44 init: function( editor ) {
45 var commandName = 'pastetext';
46
47 editor.addCommand( commandName, pasteTextCmd );
48
49 editor.ui.addButton && editor.ui.addButton( 'PasteText', {
50 label: editor.lang.pastetext.button,
51 command: commandName,
52 toolbar: 'clipboard,40'
53 } );
54
55 if ( editor.config.forcePasteAsPlainText ) {
56 editor.on( 'beforePaste', function( evt ) {
57 // Do NOT overwrite if HTML format is explicitly requested.
58 // This allows pastefromword dominates over pastetext.
59 if ( evt.data.type != 'html' )
60 evt.data.type = 'text';
61 } );
62 }
63
64 editor.on( 'pasteState', function( evt ) {
65 editor.getCommand( commandName ).setState( evt.data );
66 } );
67 }
68 } );
69} )();
70
71
72/**
73 * Whether to force all pasting operations to insert on plain text into the
74 * editor, loosing any formatting information possibly available in the source
75 * text.
76 *
77 * **Note:** paste from word (dialog) is not affected by this configuration.
78 *
79 * config.forcePasteAsPlainText = true;
80 *
81 * @cfg {Boolean} [forcePasteAsPlainText=false]
82 * @member CKEDITOR.config
83 */