From 317f8f8f0651488f226b5280a8f036c7c135c639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 4 Dec 2017 17:54:04 +0100 Subject: Add oembed --- sources/plugins/contextmenu/lang/af.js | 2 +- sources/plugins/contextmenu/lang/ar.js | 2 +- sources/plugins/contextmenu/lang/az.js | 7 +++++++ sources/plugins/contextmenu/lang/bg.js | 2 +- sources/plugins/contextmenu/lang/bn.js | 2 +- sources/plugins/contextmenu/lang/bs.js | 2 +- sources/plugins/contextmenu/lang/ca.js | 2 +- sources/plugins/contextmenu/lang/cs.js | 2 +- sources/plugins/contextmenu/lang/cy.js | 2 +- sources/plugins/contextmenu/lang/da.js | 2 +- sources/plugins/contextmenu/lang/de-ch.js | 2 +- sources/plugins/contextmenu/lang/de.js | 2 +- sources/plugins/contextmenu/lang/el.js | 2 +- sources/plugins/contextmenu/lang/en-au.js | 2 +- sources/plugins/contextmenu/lang/en-ca.js | 2 +- sources/plugins/contextmenu/lang/en-gb.js | 2 +- sources/plugins/contextmenu/lang/en.js | 2 +- sources/plugins/contextmenu/lang/eo.js | 2 +- sources/plugins/contextmenu/lang/es-mx.js | 7 +++++++ sources/plugins/contextmenu/lang/es.js | 2 +- sources/plugins/contextmenu/lang/et.js | 2 +- sources/plugins/contextmenu/lang/eu.js | 2 +- sources/plugins/contextmenu/lang/fa.js | 2 +- sources/plugins/contextmenu/lang/fi.js | 2 +- sources/plugins/contextmenu/lang/fo.js | 2 +- sources/plugins/contextmenu/lang/fr-ca.js | 2 +- sources/plugins/contextmenu/lang/fr.js | 2 +- sources/plugins/contextmenu/lang/gl.js | 2 +- sources/plugins/contextmenu/lang/gu.js | 2 +- sources/plugins/contextmenu/lang/he.js | 2 +- sources/plugins/contextmenu/lang/hi.js | 2 +- sources/plugins/contextmenu/lang/hr.js | 2 +- sources/plugins/contextmenu/lang/hu.js | 2 +- sources/plugins/contextmenu/lang/id.js | 2 +- sources/plugins/contextmenu/lang/is.js | 2 +- sources/plugins/contextmenu/lang/it.js | 2 +- sources/plugins/contextmenu/lang/ja.js | 2 +- sources/plugins/contextmenu/lang/ka.js | 2 +- sources/plugins/contextmenu/lang/km.js | 2 +- sources/plugins/contextmenu/lang/ko.js | 2 +- sources/plugins/contextmenu/lang/ku.js | 2 +- sources/plugins/contextmenu/lang/lt.js | 2 +- sources/plugins/contextmenu/lang/lv.js | 2 +- sources/plugins/contextmenu/lang/mk.js | 2 +- sources/plugins/contextmenu/lang/mn.js | 2 +- sources/plugins/contextmenu/lang/ms.js | 2 +- sources/plugins/contextmenu/lang/nb.js | 2 +- sources/plugins/contextmenu/lang/nl.js | 2 +- sources/plugins/contextmenu/lang/no.js | 2 +- sources/plugins/contextmenu/lang/oc.js | 7 +++++++ sources/plugins/contextmenu/lang/pl.js | 2 +- sources/plugins/contextmenu/lang/pt-br.js | 2 +- sources/plugins/contextmenu/lang/pt.js | 2 +- sources/plugins/contextmenu/lang/ro.js | 2 +- sources/plugins/contextmenu/lang/ru.js | 2 +- sources/plugins/contextmenu/lang/si.js | 2 +- sources/plugins/contextmenu/lang/sk.js | 2 +- sources/plugins/contextmenu/lang/sl.js | 4 ++-- sources/plugins/contextmenu/lang/sq.js | 2 +- sources/plugins/contextmenu/lang/sr-latn.js | 2 +- sources/plugins/contextmenu/lang/sr.js | 2 +- sources/plugins/contextmenu/lang/sv.js | 2 +- sources/plugins/contextmenu/lang/th.js | 2 +- sources/plugins/contextmenu/lang/tr.js | 2 +- sources/plugins/contextmenu/lang/tt.js | 2 +- sources/plugins/contextmenu/lang/ug.js | 2 +- sources/plugins/contextmenu/lang/uk.js | 2 +- sources/plugins/contextmenu/lang/vi.js | 2 +- sources/plugins/contextmenu/lang/zh-cn.js | 2 +- sources/plugins/contextmenu/lang/zh.js | 2 +- sources/plugins/contextmenu/plugin.js | 29 ++++++++++++++++++++++------- 71 files changed, 111 insertions(+), 75 deletions(-) create mode 100644 sources/plugins/contextmenu/lang/az.js create mode 100644 sources/plugins/contextmenu/lang/es-mx.js create mode 100644 sources/plugins/contextmenu/lang/oc.js (limited to 'sources/plugins/contextmenu') diff --git a/sources/plugins/contextmenu/lang/af.js b/sources/plugins/contextmenu/lang/af.js index bf849cc..76b5b96 100644 --- a/sources/plugins/contextmenu/lang/af.js +++ b/sources/plugins/contextmenu/lang/af.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'af', { diff --git a/sources/plugins/contextmenu/lang/ar.js b/sources/plugins/contextmenu/lang/ar.js index 6f4b9cd..c81b063 100644 --- a/sources/plugins/contextmenu/lang/ar.js +++ b/sources/plugins/contextmenu/lang/ar.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ar', { diff --git a/sources/plugins/contextmenu/lang/az.js b/sources/plugins/contextmenu/lang/az.js new file mode 100644 index 0000000..651f2f8 --- /dev/null +++ b/sources/plugins/contextmenu/lang/az.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'az', { + options: 'Əlavə əməliyyatlar' +} ); diff --git a/sources/plugins/contextmenu/lang/bg.js b/sources/plugins/contextmenu/lang/bg.js index 7e37b2e..6bb7a40 100644 --- a/sources/plugins/contextmenu/lang/bg.js +++ b/sources/plugins/contextmenu/lang/bg.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'bg', { diff --git a/sources/plugins/contextmenu/lang/bn.js b/sources/plugins/contextmenu/lang/bn.js index e18bb70..fe93ec8 100644 --- a/sources/plugins/contextmenu/lang/bn.js +++ b/sources/plugins/contextmenu/lang/bn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'bn', { diff --git a/sources/plugins/contextmenu/lang/bs.js b/sources/plugins/contextmenu/lang/bs.js index 22cade1..9354351 100644 --- a/sources/plugins/contextmenu/lang/bs.js +++ b/sources/plugins/contextmenu/lang/bs.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'bs', { diff --git a/sources/plugins/contextmenu/lang/ca.js b/sources/plugins/contextmenu/lang/ca.js index d9c157a..91c7ec8 100644 --- a/sources/plugins/contextmenu/lang/ca.js +++ b/sources/plugins/contextmenu/lang/ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ca', { diff --git a/sources/plugins/contextmenu/lang/cs.js b/sources/plugins/contextmenu/lang/cs.js index 49ba461..e53a0f5 100644 --- a/sources/plugins/contextmenu/lang/cs.js +++ b/sources/plugins/contextmenu/lang/cs.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'cs', { diff --git a/sources/plugins/contextmenu/lang/cy.js b/sources/plugins/contextmenu/lang/cy.js index 2bb01d9..1816b84 100644 --- a/sources/plugins/contextmenu/lang/cy.js +++ b/sources/plugins/contextmenu/lang/cy.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'cy', { diff --git a/sources/plugins/contextmenu/lang/da.js b/sources/plugins/contextmenu/lang/da.js index 3e73bd8..10043a5 100644 --- a/sources/plugins/contextmenu/lang/da.js +++ b/sources/plugins/contextmenu/lang/da.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'da', { diff --git a/sources/plugins/contextmenu/lang/de-ch.js b/sources/plugins/contextmenu/lang/de-ch.js index 606c5e5..216cd18 100644 --- a/sources/plugins/contextmenu/lang/de-ch.js +++ b/sources/plugins/contextmenu/lang/de-ch.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'de-ch', { diff --git a/sources/plugins/contextmenu/lang/de.js b/sources/plugins/contextmenu/lang/de.js index af3d94f..aa0c098 100644 --- a/sources/plugins/contextmenu/lang/de.js +++ b/sources/plugins/contextmenu/lang/de.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'de', { diff --git a/sources/plugins/contextmenu/lang/el.js b/sources/plugins/contextmenu/lang/el.js index 5641cc2..bdad720 100644 --- a/sources/plugins/contextmenu/lang/el.js +++ b/sources/plugins/contextmenu/lang/el.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'el', { diff --git a/sources/plugins/contextmenu/lang/en-au.js b/sources/plugins/contextmenu/lang/en-au.js index 2cfb13e..cd6b202 100644 --- a/sources/plugins/contextmenu/lang/en-au.js +++ b/sources/plugins/contextmenu/lang/en-au.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'en-au', { diff --git a/sources/plugins/contextmenu/lang/en-ca.js b/sources/plugins/contextmenu/lang/en-ca.js index f5fff30..25950c9 100644 --- a/sources/plugins/contextmenu/lang/en-ca.js +++ b/sources/plugins/contextmenu/lang/en-ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'en-ca', { diff --git a/sources/plugins/contextmenu/lang/en-gb.js b/sources/plugins/contextmenu/lang/en-gb.js index 25b6dfa..62f08d5 100644 --- a/sources/plugins/contextmenu/lang/en-gb.js +++ b/sources/plugins/contextmenu/lang/en-gb.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'en-gb', { diff --git a/sources/plugins/contextmenu/lang/en.js b/sources/plugins/contextmenu/lang/en.js index 59343e3..10b5f47 100644 --- a/sources/plugins/contextmenu/lang/en.js +++ b/sources/plugins/contextmenu/lang/en.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'en', { diff --git a/sources/plugins/contextmenu/lang/eo.js b/sources/plugins/contextmenu/lang/eo.js index 8782e56..6a9760c 100644 --- a/sources/plugins/contextmenu/lang/eo.js +++ b/sources/plugins/contextmenu/lang/eo.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'eo', { diff --git a/sources/plugins/contextmenu/lang/es-mx.js b/sources/plugins/contextmenu/lang/es-mx.js new file mode 100644 index 0000000..72bb1fa --- /dev/null +++ b/sources/plugins/contextmenu/lang/es-mx.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'es-mx', { + options: 'Opciones del menú contextual' +} ); diff --git a/sources/plugins/contextmenu/lang/es.js b/sources/plugins/contextmenu/lang/es.js index 7eed8ab..1e8e06d 100644 --- a/sources/plugins/contextmenu/lang/es.js +++ b/sources/plugins/contextmenu/lang/es.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'es', { diff --git a/sources/plugins/contextmenu/lang/et.js b/sources/plugins/contextmenu/lang/et.js index 7e34fbb..d7ece9a 100644 --- a/sources/plugins/contextmenu/lang/et.js +++ b/sources/plugins/contextmenu/lang/et.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'et', { diff --git a/sources/plugins/contextmenu/lang/eu.js b/sources/plugins/contextmenu/lang/eu.js index f04ae72..32018e0 100644 --- a/sources/plugins/contextmenu/lang/eu.js +++ b/sources/plugins/contextmenu/lang/eu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'eu', { diff --git a/sources/plugins/contextmenu/lang/fa.js b/sources/plugins/contextmenu/lang/fa.js index 6ba8b7c..233d30d 100644 --- a/sources/plugins/contextmenu/lang/fa.js +++ b/sources/plugins/contextmenu/lang/fa.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'fa', { diff --git a/sources/plugins/contextmenu/lang/fi.js b/sources/plugins/contextmenu/lang/fi.js index 920c494..5c11832 100644 --- a/sources/plugins/contextmenu/lang/fi.js +++ b/sources/plugins/contextmenu/lang/fi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'fi', { diff --git a/sources/plugins/contextmenu/lang/fo.js b/sources/plugins/contextmenu/lang/fo.js index 6e71076..6069a48 100644 --- a/sources/plugins/contextmenu/lang/fo.js +++ b/sources/plugins/contextmenu/lang/fo.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'fo', { diff --git a/sources/plugins/contextmenu/lang/fr-ca.js b/sources/plugins/contextmenu/lang/fr-ca.js index c9ffdc1..d7aca5c 100644 --- a/sources/plugins/contextmenu/lang/fr-ca.js +++ b/sources/plugins/contextmenu/lang/fr-ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'fr-ca', { diff --git a/sources/plugins/contextmenu/lang/fr.js b/sources/plugins/contextmenu/lang/fr.js index 9205c52..7af3f33 100644 --- a/sources/plugins/contextmenu/lang/fr.js +++ b/sources/plugins/contextmenu/lang/fr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'fr', { diff --git a/sources/plugins/contextmenu/lang/gl.js b/sources/plugins/contextmenu/lang/gl.js index 92561cc..de69eae 100644 --- a/sources/plugins/contextmenu/lang/gl.js +++ b/sources/plugins/contextmenu/lang/gl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'gl', { diff --git a/sources/plugins/contextmenu/lang/gu.js b/sources/plugins/contextmenu/lang/gu.js index f2065ee..d9a83da 100644 --- a/sources/plugins/contextmenu/lang/gu.js +++ b/sources/plugins/contextmenu/lang/gu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'gu', { diff --git a/sources/plugins/contextmenu/lang/he.js b/sources/plugins/contextmenu/lang/he.js index 71d3bd9..a276534 100644 --- a/sources/plugins/contextmenu/lang/he.js +++ b/sources/plugins/contextmenu/lang/he.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'he', { diff --git a/sources/plugins/contextmenu/lang/hi.js b/sources/plugins/contextmenu/lang/hi.js index 9181aca..a3f501d 100644 --- a/sources/plugins/contextmenu/lang/hi.js +++ b/sources/plugins/contextmenu/lang/hi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'hi', { diff --git a/sources/plugins/contextmenu/lang/hr.js b/sources/plugins/contextmenu/lang/hr.js index 335215d..149c1eb 100644 --- a/sources/plugins/contextmenu/lang/hr.js +++ b/sources/plugins/contextmenu/lang/hr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'hr', { diff --git a/sources/plugins/contextmenu/lang/hu.js b/sources/plugins/contextmenu/lang/hu.js index f80d0ae..60bb66c 100644 --- a/sources/plugins/contextmenu/lang/hu.js +++ b/sources/plugins/contextmenu/lang/hu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'hu', { diff --git a/sources/plugins/contextmenu/lang/id.js b/sources/plugins/contextmenu/lang/id.js index 0278f79..8d19e50 100644 --- a/sources/plugins/contextmenu/lang/id.js +++ b/sources/plugins/contextmenu/lang/id.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'id', { diff --git a/sources/plugins/contextmenu/lang/is.js b/sources/plugins/contextmenu/lang/is.js index 6d208f1..4404c99 100644 --- a/sources/plugins/contextmenu/lang/is.js +++ b/sources/plugins/contextmenu/lang/is.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'is', { diff --git a/sources/plugins/contextmenu/lang/it.js b/sources/plugins/contextmenu/lang/it.js index dc206c9..0453e18 100644 --- a/sources/plugins/contextmenu/lang/it.js +++ b/sources/plugins/contextmenu/lang/it.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'it', { diff --git a/sources/plugins/contextmenu/lang/ja.js b/sources/plugins/contextmenu/lang/ja.js index 939486f..5887847 100644 --- a/sources/plugins/contextmenu/lang/ja.js +++ b/sources/plugins/contextmenu/lang/ja.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ja', { diff --git a/sources/plugins/contextmenu/lang/ka.js b/sources/plugins/contextmenu/lang/ka.js index b7c553b..f279b0a 100644 --- a/sources/plugins/contextmenu/lang/ka.js +++ b/sources/plugins/contextmenu/lang/ka.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ka', { diff --git a/sources/plugins/contextmenu/lang/km.js b/sources/plugins/contextmenu/lang/km.js index 967e4fe..9f5d965 100644 --- a/sources/plugins/contextmenu/lang/km.js +++ b/sources/plugins/contextmenu/lang/km.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'km', { diff --git a/sources/plugins/contextmenu/lang/ko.js b/sources/plugins/contextmenu/lang/ko.js index 8f873fe..45273b5 100644 --- a/sources/plugins/contextmenu/lang/ko.js +++ b/sources/plugins/contextmenu/lang/ko.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ko', { diff --git a/sources/plugins/contextmenu/lang/ku.js b/sources/plugins/contextmenu/lang/ku.js index f49b18b..c183cb2 100644 --- a/sources/plugins/contextmenu/lang/ku.js +++ b/sources/plugins/contextmenu/lang/ku.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ku', { diff --git a/sources/plugins/contextmenu/lang/lt.js b/sources/plugins/contextmenu/lang/lt.js index e50e8a4..e16597a 100644 --- a/sources/plugins/contextmenu/lang/lt.js +++ b/sources/plugins/contextmenu/lang/lt.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'lt', { diff --git a/sources/plugins/contextmenu/lang/lv.js b/sources/plugins/contextmenu/lang/lv.js index fad495a..b14f0eb 100644 --- a/sources/plugins/contextmenu/lang/lv.js +++ b/sources/plugins/contextmenu/lang/lv.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'lv', { diff --git a/sources/plugins/contextmenu/lang/mk.js b/sources/plugins/contextmenu/lang/mk.js index c00cebb..1d7c4c7 100644 --- a/sources/plugins/contextmenu/lang/mk.js +++ b/sources/plugins/contextmenu/lang/mk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'mk', { diff --git a/sources/plugins/contextmenu/lang/mn.js b/sources/plugins/contextmenu/lang/mn.js index 0745938..5076f18 100644 --- a/sources/plugins/contextmenu/lang/mn.js +++ b/sources/plugins/contextmenu/lang/mn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'mn', { diff --git a/sources/plugins/contextmenu/lang/ms.js b/sources/plugins/contextmenu/lang/ms.js index 870cbac..019ba76 100644 --- a/sources/plugins/contextmenu/lang/ms.js +++ b/sources/plugins/contextmenu/lang/ms.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ms', { diff --git a/sources/plugins/contextmenu/lang/nb.js b/sources/plugins/contextmenu/lang/nb.js index cc31945..c7c41b0 100644 --- a/sources/plugins/contextmenu/lang/nb.js +++ b/sources/plugins/contextmenu/lang/nb.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'nb', { diff --git a/sources/plugins/contextmenu/lang/nl.js b/sources/plugins/contextmenu/lang/nl.js index baa8eb2..0ceb7cb 100644 --- a/sources/plugins/contextmenu/lang/nl.js +++ b/sources/plugins/contextmenu/lang/nl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'nl', { diff --git a/sources/plugins/contextmenu/lang/no.js b/sources/plugins/contextmenu/lang/no.js index 8885d40..ee283cf 100644 --- a/sources/plugins/contextmenu/lang/no.js +++ b/sources/plugins/contextmenu/lang/no.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'no', { diff --git a/sources/plugins/contextmenu/lang/oc.js b/sources/plugins/contextmenu/lang/oc.js new file mode 100644 index 0000000..8fab98f --- /dev/null +++ b/sources/plugins/contextmenu/lang/oc.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'contextmenu', 'oc', { + options: 'Opcions del menú contextual' +} ); diff --git a/sources/plugins/contextmenu/lang/pl.js b/sources/plugins/contextmenu/lang/pl.js index 47de98d..99ef5d9 100644 --- a/sources/plugins/contextmenu/lang/pl.js +++ b/sources/plugins/contextmenu/lang/pl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'pl', { diff --git a/sources/plugins/contextmenu/lang/pt-br.js b/sources/plugins/contextmenu/lang/pt-br.js index 8cf3255..ec91513 100644 --- a/sources/plugins/contextmenu/lang/pt-br.js +++ b/sources/plugins/contextmenu/lang/pt-br.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'pt-br', { diff --git a/sources/plugins/contextmenu/lang/pt.js b/sources/plugins/contextmenu/lang/pt.js index 31c027f..c2c969d 100644 --- a/sources/plugins/contextmenu/lang/pt.js +++ b/sources/plugins/contextmenu/lang/pt.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'pt', { diff --git a/sources/plugins/contextmenu/lang/ro.js b/sources/plugins/contextmenu/lang/ro.js index b9c0077..928c4b3 100644 --- a/sources/plugins/contextmenu/lang/ro.js +++ b/sources/plugins/contextmenu/lang/ro.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ro', { diff --git a/sources/plugins/contextmenu/lang/ru.js b/sources/plugins/contextmenu/lang/ru.js index 330afbe..f671b6a 100644 --- a/sources/plugins/contextmenu/lang/ru.js +++ b/sources/plugins/contextmenu/lang/ru.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ru', { diff --git a/sources/plugins/contextmenu/lang/si.js b/sources/plugins/contextmenu/lang/si.js index 8b3eda0..ec603a3 100644 --- a/sources/plugins/contextmenu/lang/si.js +++ b/sources/plugins/contextmenu/lang/si.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'si', { diff --git a/sources/plugins/contextmenu/lang/sk.js b/sources/plugins/contextmenu/lang/sk.js index 34d64ac..fda2b3d 100644 --- a/sources/plugins/contextmenu/lang/sk.js +++ b/sources/plugins/contextmenu/lang/sk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'sk', { diff --git a/sources/plugins/contextmenu/lang/sl.js b/sources/plugins/contextmenu/lang/sl.js index e823bb6..9c7fc29 100644 --- a/sources/plugins/contextmenu/lang/sl.js +++ b/sources/plugins/contextmenu/lang/sl.js @@ -1,7 +1,7 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'sl', { - options: 'Možnosti Kontekstnega Menija' + options: 'Možnosti kontekstnega menija' } ); diff --git a/sources/plugins/contextmenu/lang/sq.js b/sources/plugins/contextmenu/lang/sq.js index e1d40dc..698ca2d 100644 --- a/sources/plugins/contextmenu/lang/sq.js +++ b/sources/plugins/contextmenu/lang/sq.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'sq', { diff --git a/sources/plugins/contextmenu/lang/sr-latn.js b/sources/plugins/contextmenu/lang/sr-latn.js index a63e783..d550e84 100644 --- a/sources/plugins/contextmenu/lang/sr-latn.js +++ b/sources/plugins/contextmenu/lang/sr-latn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'sr-latn', { diff --git a/sources/plugins/contextmenu/lang/sr.js b/sources/plugins/contextmenu/lang/sr.js index ec79a0c..2f7ba14 100644 --- a/sources/plugins/contextmenu/lang/sr.js +++ b/sources/plugins/contextmenu/lang/sr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'sr', { diff --git a/sources/plugins/contextmenu/lang/sv.js b/sources/plugins/contextmenu/lang/sv.js index 69fa7b9..a3b043f 100644 --- a/sources/plugins/contextmenu/lang/sv.js +++ b/sources/plugins/contextmenu/lang/sv.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'sv', { diff --git a/sources/plugins/contextmenu/lang/th.js b/sources/plugins/contextmenu/lang/th.js index c17f20f..ce77065 100644 --- a/sources/plugins/contextmenu/lang/th.js +++ b/sources/plugins/contextmenu/lang/th.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'th', { diff --git a/sources/plugins/contextmenu/lang/tr.js b/sources/plugins/contextmenu/lang/tr.js index c31e6f3..4d5a550 100644 --- a/sources/plugins/contextmenu/lang/tr.js +++ b/sources/plugins/contextmenu/lang/tr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'tr', { diff --git a/sources/plugins/contextmenu/lang/tt.js b/sources/plugins/contextmenu/lang/tt.js index 514a35f..0531370 100644 --- a/sources/plugins/contextmenu/lang/tt.js +++ b/sources/plugins/contextmenu/lang/tt.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'tt', { diff --git a/sources/plugins/contextmenu/lang/ug.js b/sources/plugins/contextmenu/lang/ug.js index b52e259..95a9d0a 100644 --- a/sources/plugins/contextmenu/lang/ug.js +++ b/sources/plugins/contextmenu/lang/ug.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'ug', { diff --git a/sources/plugins/contextmenu/lang/uk.js b/sources/plugins/contextmenu/lang/uk.js index 97b514a..0a4ffb9 100644 --- a/sources/plugins/contextmenu/lang/uk.js +++ b/sources/plugins/contextmenu/lang/uk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'uk', { diff --git a/sources/plugins/contextmenu/lang/vi.js b/sources/plugins/contextmenu/lang/vi.js index 91fc97c..42c39b0 100644 --- a/sources/plugins/contextmenu/lang/vi.js +++ b/sources/plugins/contextmenu/lang/vi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'vi', { diff --git a/sources/plugins/contextmenu/lang/zh-cn.js b/sources/plugins/contextmenu/lang/zh-cn.js index 9ee2213..56879ee 100644 --- a/sources/plugins/contextmenu/lang/zh-cn.js +++ b/sources/plugins/contextmenu/lang/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'zh-cn', { diff --git a/sources/plugins/contextmenu/lang/zh.js b/sources/plugins/contextmenu/lang/zh.js index b451c7f..c8d8b93 100644 --- a/sources/plugins/contextmenu/lang/zh.js +++ b/sources/plugins/contextmenu/lang/zh.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'zh', { diff --git a/sources/plugins/contextmenu/plugin.js b/sources/plugins/contextmenu/plugin.js index 09d7f25..4a3bd5f 100644 --- a/sources/plugins/contextmenu/plugin.js +++ b/sources/plugins/contextmenu/plugin.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -7,10 +7,10 @@ CKEDITOR.plugins.add( 'contextmenu', { requires: 'menu', // jscs:disable maximumLineLength - lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,de-ch,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% + lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,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,oc,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 - // Make sure the base class (CKEDITOR.menu) is loaded before it (#3318). + // Make sure the base class (CKEDITOR.menu) is loaded before it (http://dev.ckeditor.com/ticket/3318). onLoad: function() { /** * Class replacing the non-configurable native context menu with a configurable CKEditor's equivalent. @@ -51,7 +51,7 @@ CKEDITOR.plugins.add( 'contextmenu', { var domEvent = event.data, isCtrlKeyDown = // Safari on Windows always show 'ctrlKey' as true in 'contextmenu' event, - // which make this property unreliable. (#4826) + // which make this property unreliable. (http://dev.ckeditor.com/ticket/4826) ( CKEDITOR.env.webkit ? holdCtrlKey : ( CKEDITOR.env.mac ? domEvent.$.metaKey : domEvent.$.ctrlKey ) ); if ( nativeContextMenuOnCtrl && isCtrlKeyDown ) @@ -60,7 +60,7 @@ CKEDITOR.plugins.add( 'contextmenu', { // Cancel the browser context menu. domEvent.preventDefault(); - // Fix selection when non-editable element in Webkit/Blink (Mac) (#11306). + // Fix selection when non-editable element in Webkit/Blink (Mac) (http://dev.ckeditor.com/ticket/11306). if ( CKEDITOR.env.mac && CKEDITOR.env.webkit ) { var editor = this.editor, contentEditableParent = new CKEDITOR.dom.elementPath( domEvent.getTarget(), editor.editable() ).contains( function( el ) { @@ -83,7 +83,7 @@ CKEDITOR.plugins.add( 'contextmenu', { CKEDITOR.tools.setTimeout( function() { this.open( offsetParent, null, offsetX, offsetY ); - // IE needs a short while to allow selection change before opening menu. (#7908) + // IE needs a short while to allow selection change before opening menu. (http://dev.ckeditor.com/ticket/7908) }, CKEDITOR.env.ie ? 200 : 0, this ); }, this ); @@ -111,10 +111,14 @@ CKEDITOR.plugins.add( 'contextmenu', { * @param {Number} [offsetY] */ open: function( offsetParent, corner, offsetX, offsetY ) { + if ( this.editor.config.enableContextMenu === false ) { + return; + } + this.editor.focus(); offsetParent = offsetParent || CKEDITOR.document.getDocumentElement(); - // #9362: Force selection check to update commands' states in the new context. + // http://dev.ckeditor.com/ticket/9362: Force selection check to update commands' states in the new context. this.editor.selectionChange( 1 ); this.show( offsetParent, corner, offsetX, offsetY ); @@ -157,3 +161,14 @@ CKEDITOR.plugins.add( 'contextmenu', { * @cfg {Boolean} [browserContextMenuOnCtrl=true] * @member CKEDITOR.config */ + +/** + * Whether to enable the context menu. Regardless of the setting the [Context Menu](http://ckeditor.com/addon/contextmenu) + * plugin is still loaded. + * + * config.enableContextMenu = false; + * + * @since 4.7.0 + * @cfg {Boolean} [enableContextMenu=true] + * @member CKEDITOR.config + */ -- cgit v1.2.3