From 7adcb81e4f83f98c468889aaa5a85558ba88c770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 25 Jan 2016 17:45:33 +0100 Subject: Initial commit --- sources/plugins/print/icons/hidpi/print.png | Bin 0 -> 1648 bytes sources/plugins/print/icons/print.png | Bin 0 -> 765 bytes sources/plugins/print/lang/af.js | 7 +++++ sources/plugins/print/lang/ar.js | 7 +++++ sources/plugins/print/lang/bg.js | 7 +++++ sources/plugins/print/lang/bn.js | 7 +++++ sources/plugins/print/lang/bs.js | 7 +++++ sources/plugins/print/lang/ca.js | 7 +++++ sources/plugins/print/lang/cs.js | 7 +++++ sources/plugins/print/lang/cy.js | 7 +++++ sources/plugins/print/lang/da.js | 7 +++++ sources/plugins/print/lang/de.js | 7 +++++ sources/plugins/print/lang/el.js | 7 +++++ sources/plugins/print/lang/en-au.js | 7 +++++ sources/plugins/print/lang/en-ca.js | 7 +++++ sources/plugins/print/lang/en-gb.js | 7 +++++ sources/plugins/print/lang/en.js | 7 +++++ sources/plugins/print/lang/eo.js | 7 +++++ sources/plugins/print/lang/es.js | 7 +++++ sources/plugins/print/lang/et.js | 7 +++++ sources/plugins/print/lang/eu.js | 7 +++++ sources/plugins/print/lang/fa.js | 7 +++++ sources/plugins/print/lang/fi.js | 7 +++++ sources/plugins/print/lang/fo.js | 7 +++++ sources/plugins/print/lang/fr-ca.js | 7 +++++ sources/plugins/print/lang/fr.js | 7 +++++ sources/plugins/print/lang/gl.js | 7 +++++ sources/plugins/print/lang/gu.js | 7 +++++ sources/plugins/print/lang/he.js | 7 +++++ sources/plugins/print/lang/hi.js | 7 +++++ sources/plugins/print/lang/hr.js | 7 +++++ sources/plugins/print/lang/hu.js | 7 +++++ sources/plugins/print/lang/id.js | 7 +++++ sources/plugins/print/lang/is.js | 7 +++++ sources/plugins/print/lang/it.js | 7 +++++ sources/plugins/print/lang/ja.js | 7 +++++ sources/plugins/print/lang/ka.js | 7 +++++ sources/plugins/print/lang/km.js | 7 +++++ sources/plugins/print/lang/ko.js | 7 +++++ sources/plugins/print/lang/ku.js | 7 +++++ sources/plugins/print/lang/lt.js | 7 +++++ sources/plugins/print/lang/lv.js | 7 +++++ sources/plugins/print/lang/mk.js | 7 +++++ sources/plugins/print/lang/mn.js | 7 +++++ sources/plugins/print/lang/ms.js | 7 +++++ sources/plugins/print/lang/nb.js | 7 +++++ sources/plugins/print/lang/nl.js | 7 +++++ sources/plugins/print/lang/no.js | 7 +++++ sources/plugins/print/lang/pl.js | 7 +++++ sources/plugins/print/lang/pt-br.js | 7 +++++ sources/plugins/print/lang/pt.js | 7 +++++ sources/plugins/print/lang/ro.js | 7 +++++ sources/plugins/print/lang/ru.js | 7 +++++ sources/plugins/print/lang/si.js | 7 +++++ sources/plugins/print/lang/sk.js | 7 +++++ sources/plugins/print/lang/sl.js | 7 +++++ sources/plugins/print/lang/sq.js | 7 +++++ sources/plugins/print/lang/sr-latn.js | 7 +++++ sources/plugins/print/lang/sr.js | 7 +++++ sources/plugins/print/lang/sv.js | 7 +++++ sources/plugins/print/lang/th.js | 7 +++++ sources/plugins/print/lang/tr.js | 7 +++++ sources/plugins/print/lang/tt.js | 7 +++++ sources/plugins/print/lang/ug.js | 7 +++++ sources/plugins/print/lang/uk.js | 7 +++++ sources/plugins/print/lang/vi.js | 7 +++++ sources/plugins/print/lang/zh-cn.js | 7 +++++ sources/plugins/print/lang/zh.js | 7 +++++ sources/plugins/print/plugin.js | 46 ++++++++++++++++++++++++++++ 69 files changed, 508 insertions(+) create mode 100644 sources/plugins/print/icons/hidpi/print.png create mode 100644 sources/plugins/print/icons/print.png create mode 100644 sources/plugins/print/lang/af.js create mode 100644 sources/plugins/print/lang/ar.js create mode 100644 sources/plugins/print/lang/bg.js create mode 100644 sources/plugins/print/lang/bn.js create mode 100644 sources/plugins/print/lang/bs.js create mode 100644 sources/plugins/print/lang/ca.js create mode 100644 sources/plugins/print/lang/cs.js create mode 100644 sources/plugins/print/lang/cy.js create mode 100644 sources/plugins/print/lang/da.js create mode 100644 sources/plugins/print/lang/de.js create mode 100644 sources/plugins/print/lang/el.js create mode 100644 sources/plugins/print/lang/en-au.js create mode 100644 sources/plugins/print/lang/en-ca.js create mode 100644 sources/plugins/print/lang/en-gb.js create mode 100644 sources/plugins/print/lang/en.js create mode 100644 sources/plugins/print/lang/eo.js create mode 100644 sources/plugins/print/lang/es.js create mode 100644 sources/plugins/print/lang/et.js create mode 100644 sources/plugins/print/lang/eu.js create mode 100644 sources/plugins/print/lang/fa.js create mode 100644 sources/plugins/print/lang/fi.js create mode 100644 sources/plugins/print/lang/fo.js create mode 100644 sources/plugins/print/lang/fr-ca.js create mode 100644 sources/plugins/print/lang/fr.js create mode 100644 sources/plugins/print/lang/gl.js create mode 100644 sources/plugins/print/lang/gu.js create mode 100644 sources/plugins/print/lang/he.js create mode 100644 sources/plugins/print/lang/hi.js create mode 100644 sources/plugins/print/lang/hr.js create mode 100644 sources/plugins/print/lang/hu.js create mode 100644 sources/plugins/print/lang/id.js create mode 100644 sources/plugins/print/lang/is.js create mode 100644 sources/plugins/print/lang/it.js create mode 100644 sources/plugins/print/lang/ja.js create mode 100644 sources/plugins/print/lang/ka.js create mode 100644 sources/plugins/print/lang/km.js create mode 100644 sources/plugins/print/lang/ko.js create mode 100644 sources/plugins/print/lang/ku.js create mode 100644 sources/plugins/print/lang/lt.js create mode 100644 sources/plugins/print/lang/lv.js create mode 100644 sources/plugins/print/lang/mk.js create mode 100644 sources/plugins/print/lang/mn.js create mode 100644 sources/plugins/print/lang/ms.js create mode 100644 sources/plugins/print/lang/nb.js create mode 100644 sources/plugins/print/lang/nl.js create mode 100644 sources/plugins/print/lang/no.js create mode 100644 sources/plugins/print/lang/pl.js create mode 100644 sources/plugins/print/lang/pt-br.js create mode 100644 sources/plugins/print/lang/pt.js create mode 100644 sources/plugins/print/lang/ro.js create mode 100644 sources/plugins/print/lang/ru.js create mode 100644 sources/plugins/print/lang/si.js create mode 100644 sources/plugins/print/lang/sk.js create mode 100644 sources/plugins/print/lang/sl.js create mode 100644 sources/plugins/print/lang/sq.js create mode 100644 sources/plugins/print/lang/sr-latn.js create mode 100644 sources/plugins/print/lang/sr.js create mode 100644 sources/plugins/print/lang/sv.js create mode 100644 sources/plugins/print/lang/th.js create mode 100644 sources/plugins/print/lang/tr.js create mode 100644 sources/plugins/print/lang/tt.js create mode 100644 sources/plugins/print/lang/ug.js create mode 100644 sources/plugins/print/lang/uk.js create mode 100644 sources/plugins/print/lang/vi.js create mode 100644 sources/plugins/print/lang/zh-cn.js create mode 100644 sources/plugins/print/lang/zh.js create mode 100644 sources/plugins/print/plugin.js (limited to 'sources/plugins/print') diff --git a/sources/plugins/print/icons/hidpi/print.png b/sources/plugins/print/icons/hidpi/print.png new file mode 100644 index 00000000..4b72460d Binary files /dev/null and b/sources/plugins/print/icons/hidpi/print.png differ diff --git a/sources/plugins/print/icons/print.png b/sources/plugins/print/icons/print.png new file mode 100644 index 00000000..06f797dc Binary files /dev/null and b/sources/plugins/print/icons/print.png differ diff --git a/sources/plugins/print/lang/af.js b/sources/plugins/print/lang/af.js new file mode 100644 index 00000000..b6148b4a --- /dev/null +++ b/sources/plugins/print/lang/af.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'af', { + toolbar: 'Druk' +} ); diff --git a/sources/plugins/print/lang/ar.js b/sources/plugins/print/lang/ar.js new file mode 100644 index 00000000..20a813c8 --- /dev/null +++ b/sources/plugins/print/lang/ar.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ar', { + toolbar: 'طباعة' +} ); diff --git a/sources/plugins/print/lang/bg.js b/sources/plugins/print/lang/bg.js new file mode 100644 index 00000000..c6d14a58 --- /dev/null +++ b/sources/plugins/print/lang/bg.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'bg', { + toolbar: 'Печат' +} ); diff --git a/sources/plugins/print/lang/bn.js b/sources/plugins/print/lang/bn.js new file mode 100644 index 00000000..7bb9a02e --- /dev/null +++ b/sources/plugins/print/lang/bn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'bn', { + toolbar: 'প্রিন্ট' +} ); diff --git a/sources/plugins/print/lang/bs.js b/sources/plugins/print/lang/bs.js new file mode 100644 index 00000000..be3860dc --- /dev/null +++ b/sources/plugins/print/lang/bs.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'bs', { + toolbar: 'Štampaj' +} ); diff --git a/sources/plugins/print/lang/ca.js b/sources/plugins/print/lang/ca.js new file mode 100644 index 00000000..a700f02d --- /dev/null +++ b/sources/plugins/print/lang/ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ca', { + toolbar: 'Imprimeix' +} ); diff --git a/sources/plugins/print/lang/cs.js b/sources/plugins/print/lang/cs.js new file mode 100644 index 00000000..cf3c9772 --- /dev/null +++ b/sources/plugins/print/lang/cs.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'cs', { + toolbar: 'Tisk' +} ); diff --git a/sources/plugins/print/lang/cy.js b/sources/plugins/print/lang/cy.js new file mode 100644 index 00000000..851fee9c --- /dev/null +++ b/sources/plugins/print/lang/cy.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'cy', { + toolbar: 'Argraffu' +} ); diff --git a/sources/plugins/print/lang/da.js b/sources/plugins/print/lang/da.js new file mode 100644 index 00000000..d2384c1f --- /dev/null +++ b/sources/plugins/print/lang/da.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'da', { + toolbar: 'Udskriv' +} ); diff --git a/sources/plugins/print/lang/de.js b/sources/plugins/print/lang/de.js new file mode 100644 index 00000000..e02c544c --- /dev/null +++ b/sources/plugins/print/lang/de.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'de', { + toolbar: 'Drucken' +} ); diff --git a/sources/plugins/print/lang/el.js b/sources/plugins/print/lang/el.js new file mode 100644 index 00000000..cb04ec2f --- /dev/null +++ b/sources/plugins/print/lang/el.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'el', { + toolbar: 'Εκτύπωση' +} ); diff --git a/sources/plugins/print/lang/en-au.js b/sources/plugins/print/lang/en-au.js new file mode 100644 index 00000000..dfef21a6 --- /dev/null +++ b/sources/plugins/print/lang/en-au.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'en-au', { + toolbar: 'Print' +} ); diff --git a/sources/plugins/print/lang/en-ca.js b/sources/plugins/print/lang/en-ca.js new file mode 100644 index 00000000..019ddd99 --- /dev/null +++ b/sources/plugins/print/lang/en-ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'en-ca', { + toolbar: 'Print' +} ); diff --git a/sources/plugins/print/lang/en-gb.js b/sources/plugins/print/lang/en-gb.js new file mode 100644 index 00000000..88ffbfdd --- /dev/null +++ b/sources/plugins/print/lang/en-gb.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'en-gb', { + toolbar: 'Print' +} ); diff --git a/sources/plugins/print/lang/en.js b/sources/plugins/print/lang/en.js new file mode 100644 index 00000000..7be9ec15 --- /dev/null +++ b/sources/plugins/print/lang/en.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'en', { + toolbar: 'Print' +} ); diff --git a/sources/plugins/print/lang/eo.js b/sources/plugins/print/lang/eo.js new file mode 100644 index 00000000..61c8be4e --- /dev/null +++ b/sources/plugins/print/lang/eo.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'eo', { + toolbar: 'Presi' +} ); diff --git a/sources/plugins/print/lang/es.js b/sources/plugins/print/lang/es.js new file mode 100644 index 00000000..e1bdb6d2 --- /dev/null +++ b/sources/plugins/print/lang/es.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'es', { + toolbar: 'Imprimir' +} ); diff --git a/sources/plugins/print/lang/et.js b/sources/plugins/print/lang/et.js new file mode 100644 index 00000000..c7fd13c6 --- /dev/null +++ b/sources/plugins/print/lang/et.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'et', { + toolbar: 'Printimine' +} ); diff --git a/sources/plugins/print/lang/eu.js b/sources/plugins/print/lang/eu.js new file mode 100644 index 00000000..d4316628 --- /dev/null +++ b/sources/plugins/print/lang/eu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'eu', { + toolbar: 'Inprimatu' +} ); diff --git a/sources/plugins/print/lang/fa.js b/sources/plugins/print/lang/fa.js new file mode 100644 index 00000000..8ab4d6ba --- /dev/null +++ b/sources/plugins/print/lang/fa.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'fa', { + toolbar: 'چاپ' +} ); diff --git a/sources/plugins/print/lang/fi.js b/sources/plugins/print/lang/fi.js new file mode 100644 index 00000000..7b2d3778 --- /dev/null +++ b/sources/plugins/print/lang/fi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'fi', { + toolbar: 'Tulosta' +} ); diff --git a/sources/plugins/print/lang/fo.js b/sources/plugins/print/lang/fo.js new file mode 100644 index 00000000..cbdfc86e --- /dev/null +++ b/sources/plugins/print/lang/fo.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'fo', { + toolbar: 'Prenta' +} ); diff --git a/sources/plugins/print/lang/fr-ca.js b/sources/plugins/print/lang/fr-ca.js new file mode 100644 index 00000000..84b3c349 --- /dev/null +++ b/sources/plugins/print/lang/fr-ca.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'fr-ca', { + toolbar: 'Imprimer' +} ); diff --git a/sources/plugins/print/lang/fr.js b/sources/plugins/print/lang/fr.js new file mode 100644 index 00000000..01967d8d --- /dev/null +++ b/sources/plugins/print/lang/fr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'fr', { + toolbar: 'Imprimer' +} ); diff --git a/sources/plugins/print/lang/gl.js b/sources/plugins/print/lang/gl.js new file mode 100644 index 00000000..73711791 --- /dev/null +++ b/sources/plugins/print/lang/gl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'gl', { + toolbar: 'Imprimir' +} ); diff --git a/sources/plugins/print/lang/gu.js b/sources/plugins/print/lang/gu.js new file mode 100644 index 00000000..441619ec --- /dev/null +++ b/sources/plugins/print/lang/gu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'gu', { + toolbar: 'પ્રિન્ટ' +} ); diff --git a/sources/plugins/print/lang/he.js b/sources/plugins/print/lang/he.js new file mode 100644 index 00000000..eb29d376 --- /dev/null +++ b/sources/plugins/print/lang/he.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'he', { + toolbar: 'הדפסה' +} ); diff --git a/sources/plugins/print/lang/hi.js b/sources/plugins/print/lang/hi.js new file mode 100644 index 00000000..d983068b --- /dev/null +++ b/sources/plugins/print/lang/hi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'hi', { + toolbar: 'प्रिन्ट' +} ); diff --git a/sources/plugins/print/lang/hr.js b/sources/plugins/print/lang/hr.js new file mode 100644 index 00000000..e827346d --- /dev/null +++ b/sources/plugins/print/lang/hr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'hr', { + toolbar: 'Ispiši' +} ); diff --git a/sources/plugins/print/lang/hu.js b/sources/plugins/print/lang/hu.js new file mode 100644 index 00000000..d4640b8e --- /dev/null +++ b/sources/plugins/print/lang/hu.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'hu', { + toolbar: 'Nyomtatás' +} ); diff --git a/sources/plugins/print/lang/id.js b/sources/plugins/print/lang/id.js new file mode 100644 index 00000000..a2136467 --- /dev/null +++ b/sources/plugins/print/lang/id.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'id', { + toolbar: 'Cetak' +} ); diff --git a/sources/plugins/print/lang/is.js b/sources/plugins/print/lang/is.js new file mode 100644 index 00000000..fd94420f --- /dev/null +++ b/sources/plugins/print/lang/is.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'is', { + toolbar: 'Prenta' +} ); diff --git a/sources/plugins/print/lang/it.js b/sources/plugins/print/lang/it.js new file mode 100644 index 00000000..e6cf48ae --- /dev/null +++ b/sources/plugins/print/lang/it.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'it', { + toolbar: 'Stampa' +} ); diff --git a/sources/plugins/print/lang/ja.js b/sources/plugins/print/lang/ja.js new file mode 100644 index 00000000..b0ddd826 --- /dev/null +++ b/sources/plugins/print/lang/ja.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ja', { + toolbar: '印刷' +} ); diff --git a/sources/plugins/print/lang/ka.js b/sources/plugins/print/lang/ka.js new file mode 100644 index 00000000..a95653e9 --- /dev/null +++ b/sources/plugins/print/lang/ka.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ka', { + toolbar: 'ბეჭდვა' +} ); diff --git a/sources/plugins/print/lang/km.js b/sources/plugins/print/lang/km.js new file mode 100644 index 00000000..7be82362 --- /dev/null +++ b/sources/plugins/print/lang/km.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'km', { + toolbar: 'បោះពុម្ព' +} ); diff --git a/sources/plugins/print/lang/ko.js b/sources/plugins/print/lang/ko.js new file mode 100644 index 00000000..ff0adf3a --- /dev/null +++ b/sources/plugins/print/lang/ko.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ko', { + toolbar: '인쇄' +} ); diff --git a/sources/plugins/print/lang/ku.js b/sources/plugins/print/lang/ku.js new file mode 100644 index 00000000..1650f88b --- /dev/null +++ b/sources/plugins/print/lang/ku.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ku', { + toolbar: 'چاپکردن' +} ); diff --git a/sources/plugins/print/lang/lt.js b/sources/plugins/print/lang/lt.js new file mode 100644 index 00000000..e31b1966 --- /dev/null +++ b/sources/plugins/print/lang/lt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'lt', { + toolbar: 'Spausdinti' +} ); diff --git a/sources/plugins/print/lang/lv.js b/sources/plugins/print/lang/lv.js new file mode 100644 index 00000000..f8ace80d --- /dev/null +++ b/sources/plugins/print/lang/lv.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'lv', { + toolbar: 'Drukāt' +} ); diff --git a/sources/plugins/print/lang/mk.js b/sources/plugins/print/lang/mk.js new file mode 100644 index 00000000..cf76c295 --- /dev/null +++ b/sources/plugins/print/lang/mk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'mk', { + toolbar: 'Print' // MISSING +} ); diff --git a/sources/plugins/print/lang/mn.js b/sources/plugins/print/lang/mn.js new file mode 100644 index 00000000..5402896a --- /dev/null +++ b/sources/plugins/print/lang/mn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'mn', { + toolbar: 'Хэвлэх' +} ); diff --git a/sources/plugins/print/lang/ms.js b/sources/plugins/print/lang/ms.js new file mode 100644 index 00000000..a589b47f --- /dev/null +++ b/sources/plugins/print/lang/ms.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ms', { + toolbar: 'Cetak' +} ); diff --git a/sources/plugins/print/lang/nb.js b/sources/plugins/print/lang/nb.js new file mode 100644 index 00000000..ad07c698 --- /dev/null +++ b/sources/plugins/print/lang/nb.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'nb', { + toolbar: 'Skriv ut' +} ); diff --git a/sources/plugins/print/lang/nl.js b/sources/plugins/print/lang/nl.js new file mode 100644 index 00000000..78684df6 --- /dev/null +++ b/sources/plugins/print/lang/nl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'nl', { + toolbar: 'Afdrukken' +} ); diff --git a/sources/plugins/print/lang/no.js b/sources/plugins/print/lang/no.js new file mode 100644 index 00000000..d181c25b --- /dev/null +++ b/sources/plugins/print/lang/no.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'no', { + toolbar: 'Skriv ut' +} ); diff --git a/sources/plugins/print/lang/pl.js b/sources/plugins/print/lang/pl.js new file mode 100644 index 00000000..627f7722 --- /dev/null +++ b/sources/plugins/print/lang/pl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'pl', { + toolbar: 'Drukuj' +} ); diff --git a/sources/plugins/print/lang/pt-br.js b/sources/plugins/print/lang/pt-br.js new file mode 100644 index 00000000..68f540ce --- /dev/null +++ b/sources/plugins/print/lang/pt-br.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'pt-br', { + toolbar: 'Imprimir' +} ); diff --git a/sources/plugins/print/lang/pt.js b/sources/plugins/print/lang/pt.js new file mode 100644 index 00000000..79cfc1a3 --- /dev/null +++ b/sources/plugins/print/lang/pt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'pt', { + toolbar: 'Imprimir' +} ); diff --git a/sources/plugins/print/lang/ro.js b/sources/plugins/print/lang/ro.js new file mode 100644 index 00000000..1b734090 --- /dev/null +++ b/sources/plugins/print/lang/ro.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ro', { + toolbar: 'Printează' +} ); diff --git a/sources/plugins/print/lang/ru.js b/sources/plugins/print/lang/ru.js new file mode 100644 index 00000000..5f060461 --- /dev/null +++ b/sources/plugins/print/lang/ru.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ru', { + toolbar: 'Печать' +} ); diff --git a/sources/plugins/print/lang/si.js b/sources/plugins/print/lang/si.js new file mode 100644 index 00000000..84cf9b9b --- /dev/null +++ b/sources/plugins/print/lang/si.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'si', { + toolbar: 'මුද්‍රණය කරන්න' +} ); diff --git a/sources/plugins/print/lang/sk.js b/sources/plugins/print/lang/sk.js new file mode 100644 index 00000000..cf5baad0 --- /dev/null +++ b/sources/plugins/print/lang/sk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'sk', { + toolbar: 'Tlač' +} ); diff --git a/sources/plugins/print/lang/sl.js b/sources/plugins/print/lang/sl.js new file mode 100644 index 00000000..3336a970 --- /dev/null +++ b/sources/plugins/print/lang/sl.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'sl', { + toolbar: 'Natisni' +} ); diff --git a/sources/plugins/print/lang/sq.js b/sources/plugins/print/lang/sq.js new file mode 100644 index 00000000..3e81de15 --- /dev/null +++ b/sources/plugins/print/lang/sq.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'sq', { + toolbar: 'Shtype' +} ); diff --git a/sources/plugins/print/lang/sr-latn.js b/sources/plugins/print/lang/sr-latn.js new file mode 100644 index 00000000..f313a96f --- /dev/null +++ b/sources/plugins/print/lang/sr-latn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'sr-latn', { + toolbar: 'Štampa' +} ); diff --git a/sources/plugins/print/lang/sr.js b/sources/plugins/print/lang/sr.js new file mode 100644 index 00000000..32eaf11e --- /dev/null +++ b/sources/plugins/print/lang/sr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'sr', { + toolbar: 'Штампа' +} ); diff --git a/sources/plugins/print/lang/sv.js b/sources/plugins/print/lang/sv.js new file mode 100644 index 00000000..5daade92 --- /dev/null +++ b/sources/plugins/print/lang/sv.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'sv', { + toolbar: 'Skriv ut' +} ); diff --git a/sources/plugins/print/lang/th.js b/sources/plugins/print/lang/th.js new file mode 100644 index 00000000..0a331243 --- /dev/null +++ b/sources/plugins/print/lang/th.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'th', { + toolbar: 'สั่งพิมพ์' +} ); diff --git a/sources/plugins/print/lang/tr.js b/sources/plugins/print/lang/tr.js new file mode 100644 index 00000000..61cfb0c5 --- /dev/null +++ b/sources/plugins/print/lang/tr.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'tr', { + toolbar: 'Yazdır' +} ); diff --git a/sources/plugins/print/lang/tt.js b/sources/plugins/print/lang/tt.js new file mode 100644 index 00000000..53371af8 --- /dev/null +++ b/sources/plugins/print/lang/tt.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'tt', { + toolbar: 'Бастыру' +} ); diff --git a/sources/plugins/print/lang/ug.js b/sources/plugins/print/lang/ug.js new file mode 100644 index 00000000..86cc4d6a --- /dev/null +++ b/sources/plugins/print/lang/ug.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'ug', { + toolbar: 'باس ' +} ); diff --git a/sources/plugins/print/lang/uk.js b/sources/plugins/print/lang/uk.js new file mode 100644 index 00000000..e7d07d8a --- /dev/null +++ b/sources/plugins/print/lang/uk.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'uk', { + toolbar: 'Друк' +} ); diff --git a/sources/plugins/print/lang/vi.js b/sources/plugins/print/lang/vi.js new file mode 100644 index 00000000..1b965858 --- /dev/null +++ b/sources/plugins/print/lang/vi.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'vi', { + toolbar: 'In' +} ); diff --git a/sources/plugins/print/lang/zh-cn.js b/sources/plugins/print/lang/zh-cn.js new file mode 100644 index 00000000..2f1ec326 --- /dev/null +++ b/sources/plugins/print/lang/zh-cn.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'zh-cn', { + toolbar: '打印' +} ); diff --git a/sources/plugins/print/lang/zh.js b/sources/plugins/print/lang/zh.js new file mode 100644 index 00000000..e12f1e8b --- /dev/null +++ b/sources/plugins/print/lang/zh.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'print', 'zh', { + toolbar: '列印' +} ); diff --git a/sources/plugins/print/plugin.js b/sources/plugins/print/plugin.js new file mode 100644 index 00000000..faa567b6 --- /dev/null +++ b/sources/plugins/print/plugin.js @@ -0,0 +1,46 @@ +/** + * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or http://ckeditor.com/license + */ + +/** + * @fileOverview Print Plugin + */ + +CKEDITOR.plugins.add( 'print', { + // jscs:disable maximumLineLength + lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% + // jscs:enable maximumLineLength + icons: 'print,', // %REMOVE_LINE_CORE% + hidpi: true, // %REMOVE_LINE_CORE% + init: function( editor ) { + // Print plugin isn't available in inline mode yet. + if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE ) + return; + + var pluginName = 'print'; + + // Register the command. + editor.addCommand( pluginName, CKEDITOR.plugins.print ); + + // Register the toolbar button. + editor.ui.addButton && editor.ui.addButton( 'Print', { + label: editor.lang.print.toolbar, + command: pluginName, + toolbar: 'document,50' + } ); + } +} ); + +CKEDITOR.plugins.print = { + exec: function( editor ) { + if ( CKEDITOR.env.gecko ) { + editor.window.$.print(); + } else { + editor.document.$.execCommand( 'Print' ); + } + }, + canUndo: false, + readOnly: 1, + modes: { wysiwyg: 1 } +}; -- cgit v1.2.3