diff --git a/libraries/liststyle/dialogs/liststyle.js b/libraries/liststyle/dialogs/liststyle.js index 9507dd17d3be7e9f58504cb866f1b30cd1a30ec0..953505c3eb0cb164156b531271a2b19b67763b66 100644 --- a/libraries/liststyle/dialogs/liststyle.js +++ b/libraries/liststyle/dialogs/liststyle.js @@ -1,216 +1,188 @@ /** - * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ ( function() { - function getListElement( editor, listTag ) { - var range; - try { - range = editor.getSelection().getRanges()[ 0 ]; - } catch ( e ) { - return null; - } - - range.shrink( CKEDITOR.SHRINK_TEXT ); - return editor.elementPath( range.getCommonAncestor() ).contains( listTag, 1 ); - } - - var listItem = function( node ) { - return node.type == CKEDITOR.NODE_ELEMENT && node.is( 'li' ); - }; - - var mapListStyle = { - 'a': 'lower-alpha', - 'A': 'upper-alpha', - 'i': 'lower-roman', - 'I': 'upper-roman', - '1': 'decimal', - 'disc': 'disc', - 'circle': 'circle', - 'square': 'square' - }; - - function listStyle( editor, startupPage ) { - var lang = editor.lang.liststyle; - if ( startupPage == 'bulletedListStyle' ) { - return { - title: lang.bulletedTitle, - minWidth: 300, - minHeight: 50, - getModel: generateModelGetter( editor, 'ul' ), - contents: [ { - id: 'info', - accessKey: 'I', - elements: [ { - type: 'select', - label: lang.type, - id: 'type', - align: 'center', - style: 'width:150px', - items: [ - [ lang.notset, '' ], - [ lang.circle, 'circle' ], - [ lang.disc, 'disc' ], - [ lang.square, 'square' ] - ], - setup: function( element ) { - var value = element.getStyle( 'list-style-type' ) || mapListStyle[ element.getAttribute( 'type' ) ] || element.getAttribute( 'type' ) || ''; - //look for CSS setting - if (element.hasClass('circle')) { - value = 'circle'; - } - else if (element.hasClass('disc')) { - value = 'disc'; - } - else if (element.hasClass('square')){ - value = 'square'; - } - this.setValue( value ); - }, - commit: function( element ) { - var value = this.getValue(); - element.removeClass('circle'); - element.removeClass('disc'); - element.removeClass('square'); - if ( value ) - element.addClass( value ); - } - } ] - } ], - onShow: function() { - var editor = this.getParentEditor(), - element = getListElement( editor, 'ul' ); - - element && this.setupContent( element ); - }, - onOk: function() { - var editor = this.getParentEditor(), - element = getListElement( editor, 'ul' ); - - element && this.commitContent( element ); - } - }; - } else if ( startupPage == 'numberedListStyle' ) { - - var listStyleOptions = [ - [ lang.notset, '' ], - [ lang.lowerRoman, 'lower-roman' ], - [ lang.upperRoman, 'upper-roman' ], - [ lang.lowerAlpha, 'lower-alpha' ], - [ lang.upperAlpha, 'upper-alpha' ], - [ lang.decimal, 'decimal' ] - ]; - - return { - title: lang.numberedTitle, - minWidth: 300, - minHeight: 50, - getModel: generateModelGetter( editor, 'ol' ), - contents: [ { - id: 'info', - accessKey: 'I', - elements: [ { - type: 'hbox', - widths: [ '25%', '75%' ], - children: [ { - label: lang.start, - type: 'text', - id: 'start', - validate: CKEDITOR.dialog.validate.integer( lang.validateStartNumber ), - setup: function( element ) { - // List item start number dominates. - var value = element.getFirst( listItem ).getAttribute( 'value' ) || element.getAttribute( 'start' ) || 1; - value && this.setValue( value ); - }, - commit: function( element ) { - var firstItem = element.getFirst( listItem ); - var oldStart = firstItem.getAttribute( 'value' ) || element.getAttribute( 'start' ) || 1; - - // Force start number on list root. - element.getFirst( listItem ).removeAttribute( 'value' ); - var val = parseInt( this.getValue(), 10 ); - if ( isNaN( val ) ) - element.removeAttribute( 'start' ); - else - element.setAttribute( 'start', val ); - - // Update consequent list item numbering. - var nextItem = firstItem, - conseq = oldStart, - startNumber = isNaN( val ) ? 1 : val; - while ( ( nextItem = nextItem.getNext( listItem ) ) && conseq++ ) { - if ( nextItem.getAttribute( 'value' ) == conseq ) - nextItem.setAttribute( 'value', startNumber + conseq - oldStart ); - } - } - }, - { - type: 'select', - label: lang.type, - id: 'type', - style: 'width: 100%;', - items: listStyleOptions, - setup: function( element ) { - var value = element.getStyle( 'list-style-type' ) || mapListStyle[ element.getAttribute( 'type' ) ] || element.getAttribute( 'type' ) || ''; - //look for CSS setting - if (element.hasClass('lower-roman')) { - value = 'lower-roman'; - } - else if (element.hasClass('upper-roman')) { - value = 'upper-roman'; - } - else if (element.hasClass('lower-alpha')){ - value = 'lower-alpha'; - } - else if (element.hasClass('upper-alpha')){ - value = 'upper-alpha'; - } - else if (element.hasClass('decimal')){ - value = 'decimal'; - } - this.setValue( value ); - }, - commit: function( element ) { - var value = this.getValue(); - element.removeClass('lower-roman'); - element.removeClass('upper-roman'); - element.removeClass('lower-alpha'); - element.removeClass('upper-alpha'); - element.removeClass('decimal'); - if ( value ) - element.addClass( value ); - } - } ] - } ] - } ], - onShow: function() { - var editor = this.getParentEditor(), - element = getListElement( editor, 'ol' ); - - element && this.setupContent( element ); - }, - onOk: function() { - var editor = this.getParentEditor(), - element = getListElement( editor, 'ol' ); - - element && this.commitContent( element ); - } - }; - } - } - - CKEDITOR.dialog.add( 'numberedListStyle', function( editor ) { - return listStyle( editor, 'numberedListStyle' ); - } ); - - CKEDITOR.dialog.add( 'bulletedListStyle', function( editor ) { - return listStyle( editor, 'bulletedListStyle' ); - } ); - - function generateModelGetter( editor, tagName ) { - return function() { - return getListElement( editor, tagName ) || null; - }; - } -})(); + function getListElement( editor, listTag ) { + var range; + try { + range = editor.getSelection().getRanges()[ 0 ]; + } catch ( e ) { + return null; + } + + range.shrink( CKEDITOR.SHRINK_TEXT ); + return editor.elementPath( range.getCommonAncestor() ).contains( listTag, 1 ); + } + + var listItem = function( node ) { + return node.type == CKEDITOR.NODE_ELEMENT && node.is( 'li' ); + }; + + var mapListStyle = { + 'a': 'lower-alpha', + 'A': 'upper-alpha', + 'i': 'lower-roman', + 'I': 'upper-roman', + '1': 'decimal', + 'disc': 'disc', + 'circle': 'circle', + 'square': 'square' + }; + + function listStyle( editor, startupPage ) { + var lang = editor.lang.liststyle; + if ( startupPage == 'bulletedListStyle' ) { + return { + title: lang.bulletedTitle, + minWidth: 300, + minHeight: 50, + getModel: generateModelGetter( editor, 'ul' ), + contents: [ { + id: 'info', + accessKey: 'I', + elements: [ { + type: 'select', + label: lang.type, + id: 'type', + align: 'center', + style: 'width:150px', + items: [ + [ lang.notset, '' ], + [ lang.circle, 'circle' ], + [ lang.disc, 'disc' ], + [ lang.square, 'square' ] + ], + setup: function( element ) { + var value = element.getStyle( 'list-style-type' ) || mapListStyle[ element.getAttribute( 'type' ) ] || element.getAttribute( 'type' ) || ''; + + this.setValue( value ); + }, + commit: function( element ) { + var value = this.getValue(); + if ( value ) + element.setStyle( 'list-style-type', value ); + else + element.removeStyle( 'list-style-type' ); + } + } ] + } ], + onShow: function() { + var editor = this.getParentEditor(), + element = getListElement( editor, 'ul' ); + + element && this.setupContent( element ); + }, + onOk: function() { + var editor = this.getParentEditor(), + element = getListElement( editor, 'ul' ); + + element && this.commitContent( element ); + } + }; + } else if ( startupPage == 'numberedListStyle' ) { + + var listStyleOptions = [ + [ lang.notset, '' ], + [ lang.lowerRoman, 'lower-roman' ], + [ lang.upperRoman, 'upper-roman' ], + [ lang.lowerAlpha, 'lower-alpha' ], + [ lang.upperAlpha, 'upper-alpha' ], + [ lang.decimal, 'decimal' ] + ]; + + return { + title: lang.numberedTitle, + minWidth: 300, + minHeight: 50, + getModel: generateModelGetter( editor, 'ol' ), + contents: [ { + id: 'info', + accessKey: 'I', + elements: [ { + type: 'hbox', + widths: [ '25%', '75%' ], + children: [ { + label: lang.start, + type: 'text', + id: 'start', + validate: CKEDITOR.dialog.validate.integer( lang.validateStartNumber ), + setup: function( element ) { + // List item start number dominates. + var value = element.getFirst( listItem ).getAttribute( 'value' ) || element.getAttribute( 'start' ) || 1; + value && this.setValue( value ); + }, + commit: function( element ) { + var firstItem = element.getFirst( listItem ); + var oldStart = firstItem.getAttribute( 'value' ) || element.getAttribute( 'start' ) || 1; + + // Force start number on list root. + element.getFirst( listItem ).removeAttribute( 'value' ); + var val = parseInt( this.getValue(), 10 ); + if ( isNaN( val ) ) + element.removeAttribute( 'start' ); + else + element.setAttribute( 'start', val ); + + // Update consequent list item numbering. + var nextItem = firstItem, + conseq = oldStart, + startNumber = isNaN( val ) ? 1 : val; + while ( ( nextItem = nextItem.getNext( listItem ) ) && conseq++ ) { + if ( nextItem.getAttribute( 'value' ) == conseq ) + nextItem.setAttribute( 'value', startNumber + conseq - oldStart ); + } + } + }, + { + type: 'select', + label: lang.type, + id: 'type', + style: 'width: 100%;', + items: listStyleOptions, + setup: function( element ) { + var value = element.getStyle( 'list-style-type' ) || mapListStyle[ element.getAttribute( 'type' ) ] || element.getAttribute( 'type' ) || ''; + + this.setValue( value ); + }, + commit: function( element ) { + var value = this.getValue(); + if ( value ) + element.setStyle( 'list-style-type', value ); + else + element.removeStyle( 'list-style-type' ); + } + } ] + } ] + } ], + onShow: function() { + var editor = this.getParentEditor(), + element = getListElement( editor, 'ol' ); + + element && this.setupContent( element ); + }, + onOk: function() { + var editor = this.getParentEditor(), + element = getListElement( editor, 'ol' ); + + element && this.commitContent( element ); + } + }; + } + } + + CKEDITOR.dialog.add( 'numberedListStyle', function( editor ) { + return listStyle( editor, 'numberedListStyle' ); + } ); + + CKEDITOR.dialog.add( 'bulletedListStyle', function( editor ) { + return listStyle( editor, 'bulletedListStyle' ); + } ); + + function generateModelGetter( editor, tagName ) { + return function() { + return getListElement( editor, tagName ) || null; + }; + } +} )(); diff --git a/libraries/liststyle/lang/af.js b/libraries/liststyle/lang/af.js index 90cf7dd5e4fe3b48e2916b8a8eac3833e17db065..7930bddd84324c225f1ad2825a5d9228ea69179d 100644 --- a/libraries/liststyle/lang/af.js +++ b/libraries/liststyle/lang/af.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'af', { diff --git a/libraries/liststyle/lang/ar.js b/libraries/liststyle/lang/ar.js index 6802972e1715b77d6f50187bb826baea160f949f..f44f917fbfeb8616ee4cc172737f1c4241cd6c9c 100644 --- a/libraries/liststyle/lang/ar.js +++ b/libraries/liststyle/lang/ar.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ar', { diff --git a/libraries/liststyle/lang/az.js b/libraries/liststyle/lang/az.js index 5c3d17d80070e21ba88daea446845228d53119b8..bed8e4409711eb28f7ff31ffbe236da781d764d4 100644 --- a/libraries/liststyle/lang/az.js +++ b/libraries/liststyle/lang/az.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'az', { diff --git a/libraries/liststyle/lang/bg.js b/libraries/liststyle/lang/bg.js index d8aa0a553bcbff3b9918483ef81a5a1980423fbb..d252770d04353666944d1a89cb90d55f3942f31c 100644 --- a/libraries/liststyle/lang/bg.js +++ b/libraries/liststyle/lang/bg.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'bg', { diff --git a/libraries/liststyle/lang/bn.js b/libraries/liststyle/lang/bn.js index e825d8612d0ccaa290d86a69cc5167e0d7d16add..057a4fb3178582671a7f7136fa82637301b1956f 100644 --- a/libraries/liststyle/lang/bn.js +++ b/libraries/liststyle/lang/bn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'bn', { diff --git a/libraries/liststyle/lang/bs.js b/libraries/liststyle/lang/bs.js index 5dc477d25bc766fa631b1271a76b4803febdaf31..3c6a9b14c48e0abe514dab05a20587b0930dd419 100644 --- a/libraries/liststyle/lang/bs.js +++ b/libraries/liststyle/lang/bs.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'bs', { diff --git a/libraries/liststyle/lang/ca.js b/libraries/liststyle/lang/ca.js index 922faf1a2c47a1d3e5e2bbb01cb8ba0b0347b2de..77ebe96b940119535f96d892e393a91028df9b15 100644 --- a/libraries/liststyle/lang/ca.js +++ b/libraries/liststyle/lang/ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ca', { diff --git a/libraries/liststyle/lang/cs.js b/libraries/liststyle/lang/cs.js index 93e7ed5a9c62b1b39ac2aef691cea31084bec308..b20a29ec4b407b79e4ad2ee319ef93c65d83ed18 100644 --- a/libraries/liststyle/lang/cs.js +++ b/libraries/liststyle/lang/cs.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'cs', { diff --git a/libraries/liststyle/lang/cy.js b/libraries/liststyle/lang/cy.js index b525ae50796ff2a604b90a24efdbd28a188da8d8..41c21203d6850a44f2102437a9950ca52bec3050 100644 --- a/libraries/liststyle/lang/cy.js +++ b/libraries/liststyle/lang/cy.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'cy', { diff --git a/libraries/liststyle/lang/da.js b/libraries/liststyle/lang/da.js index 3718db588b605e0dd64c4615ced3ab3d4978885e..0a0adb4dcba8e5a0311f10189a268e9941216c30 100644 --- a/libraries/liststyle/lang/da.js +++ b/libraries/liststyle/lang/da.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'da', { diff --git a/libraries/liststyle/lang/de-ch.js b/libraries/liststyle/lang/de-ch.js index 19701134ef6397525d2a0700049954e137055b72..ea67348b9ed70364e4db5d6afee5b5bc3b2b74de 100644 --- a/libraries/liststyle/lang/de-ch.js +++ b/libraries/liststyle/lang/de-ch.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'de-ch', { diff --git a/libraries/liststyle/lang/de.js b/libraries/liststyle/lang/de.js index ffba3a82f562b4c5211539d71aa5a50b52b171bd..f7f17350292217edbddbc00cc513305a7606b003 100644 --- a/libraries/liststyle/lang/de.js +++ b/libraries/liststyle/lang/de.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'de', { diff --git a/libraries/liststyle/lang/el.js b/libraries/liststyle/lang/el.js index 3093ffe44c643eb6290be19fe3f01275405c736c..49a1aeec149b3e20e8f83c735d1157e62be03441 100644 --- a/libraries/liststyle/lang/el.js +++ b/libraries/liststyle/lang/el.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'el', { diff --git a/libraries/liststyle/lang/en-au.js b/libraries/liststyle/lang/en-au.js index 90886d91fa90212a0db2a8520d9efe769fe99d69..b043208c66474e66041fbb765c929a5972036cf2 100644 --- a/libraries/liststyle/lang/en-au.js +++ b/libraries/liststyle/lang/en-au.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'en-au', { diff --git a/libraries/liststyle/lang/en-ca.js b/libraries/liststyle/lang/en-ca.js index 49b1bc34d9a47dde7e06ff8d265f4eca88500cdf..1c4321fa92e2c1b2a6acfe0e0d20dee6c6212eb6 100644 --- a/libraries/liststyle/lang/en-ca.js +++ b/libraries/liststyle/lang/en-ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'en-ca', { diff --git a/libraries/liststyle/lang/en-gb.js b/libraries/liststyle/lang/en-gb.js index 1da968c6ae34cd6fe1119e5ae412c6515a96a8b3..29ae7b49f898b87d7000e06d93513b6c62d8f805 100644 --- a/libraries/liststyle/lang/en-gb.js +++ b/libraries/liststyle/lang/en-gb.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'en-gb', { diff --git a/libraries/liststyle/lang/en.js b/libraries/liststyle/lang/en.js index 4b641d6d5e4ae21a265ba7e989371a7fc4832e27..9d1a749ded6d70205f90673a49e062c793aa88f1 100644 --- a/libraries/liststyle/lang/en.js +++ b/libraries/liststyle/lang/en.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'en', { diff --git a/libraries/liststyle/lang/eo.js b/libraries/liststyle/lang/eo.js index daa5ef513e4559ce0d29b82b9cb19e8962403c02..909965feac11daa4236a839680c4895c75d1d038 100644 --- a/libraries/liststyle/lang/eo.js +++ b/libraries/liststyle/lang/eo.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'eo', { diff --git a/libraries/liststyle/lang/es-mx.js b/libraries/liststyle/lang/es-mx.js index e09973cbd55f9d6c34669e4c74be9eea84d7f422..d3c184559f4a7b92e28d9bfbe19f6557662f9d75 100644 --- a/libraries/liststyle/lang/es-mx.js +++ b/libraries/liststyle/lang/es-mx.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'es-mx', { diff --git a/libraries/liststyle/lang/es.js b/libraries/liststyle/lang/es.js index 6675cf349af3fa5ada369a8a5d5758b200eff128..0be6bc45a562b7e59f4c68783b4acc2125d75166 100644 --- a/libraries/liststyle/lang/es.js +++ b/libraries/liststyle/lang/es.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'es', { diff --git a/libraries/liststyle/lang/et.js b/libraries/liststyle/lang/et.js index 8484144e54cb043495596fe6fc8d66cd5e1e0fac..cdce8bd15ddb305e84d79cfaae3ac8fd901921e0 100644 --- a/libraries/liststyle/lang/et.js +++ b/libraries/liststyle/lang/et.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'et', { diff --git a/libraries/liststyle/lang/eu.js b/libraries/liststyle/lang/eu.js index 9769414c63796940223056c79c5321a504e76093..646104e3166055759c206348023605b62dc044dd 100644 --- a/libraries/liststyle/lang/eu.js +++ b/libraries/liststyle/lang/eu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'eu', { diff --git a/libraries/liststyle/lang/fa.js b/libraries/liststyle/lang/fa.js index aae326aaaf1786a9fa83d8024269db36758407b4..e653b649b8887883453b5e8cd9f7d6e9cf46217a 100644 --- a/libraries/liststyle/lang/fa.js +++ b/libraries/liststyle/lang/fa.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'fa', { diff --git a/libraries/liststyle/lang/fi.js b/libraries/liststyle/lang/fi.js index ec006c070754928c92692d2cdc8bb67d69debfe4..eebbd77cb4a79e6514e8297067e0022bb31e7fd2 100644 --- a/libraries/liststyle/lang/fi.js +++ b/libraries/liststyle/lang/fi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'fi', { diff --git a/libraries/liststyle/lang/fo.js b/libraries/liststyle/lang/fo.js index d41af355a0d0a663eb9cc00690fe0e985aba405b..6398f4a7bb6d82a2a9b1ed86d2a8900e824556ec 100644 --- a/libraries/liststyle/lang/fo.js +++ b/libraries/liststyle/lang/fo.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'fo', { diff --git a/libraries/liststyle/lang/fr-ca.js b/libraries/liststyle/lang/fr-ca.js index 38cf61a3b746f8e9384cdbb2f638f22773240e6c..61636d195512909fd924f3794bf42c341df92a01 100644 --- a/libraries/liststyle/lang/fr-ca.js +++ b/libraries/liststyle/lang/fr-ca.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'fr-ca', { diff --git a/libraries/liststyle/lang/fr.js b/libraries/liststyle/lang/fr.js index ac38c07056411922be986a015c5cabf573a1837d..3c7f57ab801db29340c9cef1b0862c945dd1bfe6 100644 --- a/libraries/liststyle/lang/fr.js +++ b/libraries/liststyle/lang/fr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'fr', { diff --git a/libraries/liststyle/lang/gl.js b/libraries/liststyle/lang/gl.js index b3e21c62dbade3869ff97596dfbe02d33e647d26..e228a8d071fa8c3f7277833a1bb4bc71a76c1b76 100644 --- a/libraries/liststyle/lang/gl.js +++ b/libraries/liststyle/lang/gl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'gl', { diff --git a/libraries/liststyle/lang/gu.js b/libraries/liststyle/lang/gu.js index 015cc1c34c615a29a2b813ea2a14eaf0dc30e7dc..b945e195b7b3cad89a1a39336a2f9f0234bc0a59 100644 --- a/libraries/liststyle/lang/gu.js +++ b/libraries/liststyle/lang/gu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'gu', { diff --git a/libraries/liststyle/lang/he.js b/libraries/liststyle/lang/he.js index 5620bd09ccbf8116bd3e9f3d0b0dfb3f1622c8fa..cb3fcdd200b8c017790d435a6519b1cfef62193c 100644 --- a/libraries/liststyle/lang/he.js +++ b/libraries/liststyle/lang/he.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'he', { diff --git a/libraries/liststyle/lang/hi.js b/libraries/liststyle/lang/hi.js index 923ddaa390dfe87f61dff86a3dc7b39452bf7503..3c318ce032a1acf451b1699014c32380d9b4f7be 100644 --- a/libraries/liststyle/lang/hi.js +++ b/libraries/liststyle/lang/hi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'hi', { diff --git a/libraries/liststyle/lang/hr.js b/libraries/liststyle/lang/hr.js index 361c2a50372090af86b4d698ef09605a0e1a8113..c7fa7316fbf6f64fd706afc096e10636fb1156d2 100644 --- a/libraries/liststyle/lang/hr.js +++ b/libraries/liststyle/lang/hr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'hr', { diff --git a/libraries/liststyle/lang/hu.js b/libraries/liststyle/lang/hu.js index 6dcece043813716f7d6890ab96b0679fc3ff6aa3..f1b8500b413028fc4750261bf4f3cd3e129da1c9 100644 --- a/libraries/liststyle/lang/hu.js +++ b/libraries/liststyle/lang/hu.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'hu', { diff --git a/libraries/liststyle/lang/id.js b/libraries/liststyle/lang/id.js index b671b86f2d757eb46b045a64edbc5479ca4182c4..8d3d2b93396daf3389eecdb42cb60a857ce6203a 100644 --- a/libraries/liststyle/lang/id.js +++ b/libraries/liststyle/lang/id.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'id', { diff --git a/libraries/liststyle/lang/is.js b/libraries/liststyle/lang/is.js index aee4cc2d9eb7cb15d9e3858c01c00537881afd62..400c15169b426b1afec2587b320ede949f04400d 100644 --- a/libraries/liststyle/lang/is.js +++ b/libraries/liststyle/lang/is.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'is', { diff --git a/libraries/liststyle/lang/it.js b/libraries/liststyle/lang/it.js index fdda5fb6b5f0e7c660daf24d09b0ec6bd73994b2..bdf7e1826cd3ff7906dda39b2f51a09425805d83 100644 --- a/libraries/liststyle/lang/it.js +++ b/libraries/liststyle/lang/it.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'it', { diff --git a/libraries/liststyle/lang/ja.js b/libraries/liststyle/lang/ja.js index 0e1d11ca9718c019c93707066f9b71fa64d7fbdb..b918bf44c6c2b0bb67efbdce22fa47e670445488 100644 --- a/libraries/liststyle/lang/ja.js +++ b/libraries/liststyle/lang/ja.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ja', { diff --git a/libraries/liststyle/lang/ka.js b/libraries/liststyle/lang/ka.js index ebad2e9f9d54961e5f814167b2e050dd42d2f8e0..d1c97dd1e55a04ba72b55eb37d6f640853001c6c 100644 --- a/libraries/liststyle/lang/ka.js +++ b/libraries/liststyle/lang/ka.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ka', { diff --git a/libraries/liststyle/lang/km.js b/libraries/liststyle/lang/km.js index 08488c393f9cb53152116091a418aa5685b03c7e..5ba1f18fb36803ee0adf83c343b8b12f41a79966 100644 --- a/libraries/liststyle/lang/km.js +++ b/libraries/liststyle/lang/km.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'km', { diff --git a/libraries/liststyle/lang/ko.js b/libraries/liststyle/lang/ko.js index 0d002ea438e09bcbb2bff3431415fda40d21f837..8d16281c467558265684b8eb685958a701a41cce 100644 --- a/libraries/liststyle/lang/ko.js +++ b/libraries/liststyle/lang/ko.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ko', { diff --git a/libraries/liststyle/lang/ku.js b/libraries/liststyle/lang/ku.js index 50772fe61f9e27e003f0ba7e15482098e24bffbf..25aa9d9553c2aaead2d9e525ee10983d37bed1a2 100644 --- a/libraries/liststyle/lang/ku.js +++ b/libraries/liststyle/lang/ku.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ku', { diff --git a/libraries/liststyle/lang/lt.js b/libraries/liststyle/lang/lt.js index c65ee02ae564dbcf80986c0fcca5439046fe835f..3fd01f49ca1337a3e9864730fe13c60cacb86f9d 100644 --- a/libraries/liststyle/lang/lt.js +++ b/libraries/liststyle/lang/lt.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'lt', { diff --git a/libraries/liststyle/lang/lv.js b/libraries/liststyle/lang/lv.js index 3756598cbca3b649561d8e78b03409d142726386..17eae7579044959ded31e7521e7ba368c4d0f638 100644 --- a/libraries/liststyle/lang/lv.js +++ b/libraries/liststyle/lang/lv.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'lv', { diff --git a/libraries/liststyle/lang/mk.js b/libraries/liststyle/lang/mk.js index 22ecf509c4fb764129141287f6a0f863d4e2efdc..0ed2691b8dea8ab9a0ee91490b7dda463b68b342 100644 --- a/libraries/liststyle/lang/mk.js +++ b/libraries/liststyle/lang/mk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'mk', { diff --git a/libraries/liststyle/lang/mn.js b/libraries/liststyle/lang/mn.js index 4ebcb712a4f673f15d752d9da65be0294a67c7ef..3b21d3cba7944215e22d8b6709ce0d827d1b4d86 100644 --- a/libraries/liststyle/lang/mn.js +++ b/libraries/liststyle/lang/mn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'mn', { diff --git a/libraries/liststyle/lang/ms.js b/libraries/liststyle/lang/ms.js index 287f772f2eaa5814cfc1c737a83f1e6480937009..fdc235201965ac999ee7d57af6789d5d8d03d965 100644 --- a/libraries/liststyle/lang/ms.js +++ b/libraries/liststyle/lang/ms.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ms', { diff --git a/libraries/liststyle/lang/nb.js b/libraries/liststyle/lang/nb.js index 7a9939e488cbe4bdf672500af6e7a20d753eec47..697f6dd829de7fdb9786ac742901db877bbc42b3 100644 --- a/libraries/liststyle/lang/nb.js +++ b/libraries/liststyle/lang/nb.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'nb', { diff --git a/libraries/liststyle/lang/nl.js b/libraries/liststyle/lang/nl.js index f4b814083707c21a29de768a614a643866e92a4d..d74268b0e7e2d7362e55ecd8f61442af8e143dc3 100644 --- a/libraries/liststyle/lang/nl.js +++ b/libraries/liststyle/lang/nl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'nl', { diff --git a/libraries/liststyle/lang/no.js b/libraries/liststyle/lang/no.js index 7e8c8aaa218d8886ba92d7ad3121eac17919423e..97c0a2f6ce0bfa5a38ef35bca3cd0283a1a486b3 100644 --- a/libraries/liststyle/lang/no.js +++ b/libraries/liststyle/lang/no.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'no', { diff --git a/libraries/liststyle/lang/oc.js b/libraries/liststyle/lang/oc.js index 47f35418c4ebda01ae60360d4017ee675b6980b6..286144f362813f2d5f37cfda69523c7291ac8cdf 100644 --- a/libraries/liststyle/lang/oc.js +++ b/libraries/liststyle/lang/oc.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'oc', { diff --git a/libraries/liststyle/lang/pl.js b/libraries/liststyle/lang/pl.js index 0a1bbe9aa1316c68febc66539278ff9c0e337570..c2e8da1d3d859bfdc925abf2be34c44bef185a6b 100644 --- a/libraries/liststyle/lang/pl.js +++ b/libraries/liststyle/lang/pl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'pl', { diff --git a/libraries/liststyle/lang/pt-br.js b/libraries/liststyle/lang/pt-br.js index f2732fd1163bcf0ac0974accd39fb24a6ce280b1..820bc2e783b6f2e389f3161cd58b7969a896b0eb 100644 --- a/libraries/liststyle/lang/pt-br.js +++ b/libraries/liststyle/lang/pt-br.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'pt-br', { diff --git a/libraries/liststyle/lang/pt.js b/libraries/liststyle/lang/pt.js index 22ab3224a4ff6e7bbd75cf0869c00a319fa01898..5b49756f2aff9cc0f5f642522fa78e01d3a1fbfa 100644 --- a/libraries/liststyle/lang/pt.js +++ b/libraries/liststyle/lang/pt.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'pt', { diff --git a/libraries/liststyle/lang/ro.js b/libraries/liststyle/lang/ro.js index 7c347f304ad0879eb23a9da48121fabec98a6970..e9ff6eb078c504791810040072376eb66be376a6 100644 --- a/libraries/liststyle/lang/ro.js +++ b/libraries/liststyle/lang/ro.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ro', { diff --git a/libraries/liststyle/lang/ru.js b/libraries/liststyle/lang/ru.js index 1c1c4ed033f83ebccc3258ee85f177b4b0c55915..365027ecb2ae6f7e525e10ce440827c50a6aa5c5 100644 --- a/libraries/liststyle/lang/ru.js +++ b/libraries/liststyle/lang/ru.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ru', { diff --git a/libraries/liststyle/lang/si.js b/libraries/liststyle/lang/si.js index c577bb1fe02bf96c54d211786a6146544899eb43..b81b3d13d4d3c5491418be8984b475ebcd67fc68 100644 --- a/libraries/liststyle/lang/si.js +++ b/libraries/liststyle/lang/si.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'si', { diff --git a/libraries/liststyle/lang/sk.js b/libraries/liststyle/lang/sk.js index 6fb69fb1f15f90e8c04d4bfa679bb00abb6332ae..97f70982bc091d22beeb3169e7e45f56ada9b955 100644 --- a/libraries/liststyle/lang/sk.js +++ b/libraries/liststyle/lang/sk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'sk', { diff --git a/libraries/liststyle/lang/sl.js b/libraries/liststyle/lang/sl.js index 884805e00e15fe8ce2579b3953ca8cc98ac83589..ec5bd7241d093d6dade426eb3e2dc39d87806c4c 100644 --- a/libraries/liststyle/lang/sl.js +++ b/libraries/liststyle/lang/sl.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'sl', { diff --git a/libraries/liststyle/lang/sq.js b/libraries/liststyle/lang/sq.js index 346a4752aa80dffab87b49df0d9c0fbba9150f14..c65c5a21e690b64038edc8cfe645e7fd2f815316 100644 --- a/libraries/liststyle/lang/sq.js +++ b/libraries/liststyle/lang/sq.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'sq', { diff --git a/libraries/liststyle/lang/sr-latn.js b/libraries/liststyle/lang/sr-latn.js index 763541421ffeb9d50927d6577709095fef3db51a..fe365974dca4ebc25c69f557d6c198dcea53c49b 100644 --- a/libraries/liststyle/lang/sr-latn.js +++ b/libraries/liststyle/lang/sr-latn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'sr-latn', { diff --git a/libraries/liststyle/lang/sr.js b/libraries/liststyle/lang/sr.js index 367b10fb0cb3b1c3e72759d528f5495e944cce1e..e7e9b5fe7f5f233bd98cae9eb08b2d3ccc85b93f 100644 --- a/libraries/liststyle/lang/sr.js +++ b/libraries/liststyle/lang/sr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'sr', { diff --git a/libraries/liststyle/lang/sv.js b/libraries/liststyle/lang/sv.js index 3b5284a28f8cf6267a0270cc74d8e99bd95b6d25..52724ea5093790418fc9b57b0ece83fd81e7d500 100644 --- a/libraries/liststyle/lang/sv.js +++ b/libraries/liststyle/lang/sv.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'sv', { diff --git a/libraries/liststyle/lang/th.js b/libraries/liststyle/lang/th.js index 04fb8d95e62ab69668a81ec150af0d0fb2515bc5..d5e74d46b9f5ba56ea1c06506ec54c162ee0c2d8 100644 --- a/libraries/liststyle/lang/th.js +++ b/libraries/liststyle/lang/th.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'th', { diff --git a/libraries/liststyle/lang/tr.js b/libraries/liststyle/lang/tr.js index 5a5d80208561fb0bbd233af317f692ddfb3dd742..5e9f012104f9ebcedb1a3782ef18f2c1b9470a0a 100644 --- a/libraries/liststyle/lang/tr.js +++ b/libraries/liststyle/lang/tr.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'tr', { diff --git a/libraries/liststyle/lang/tt.js b/libraries/liststyle/lang/tt.js index 8f0e369441b68126986aafa9b0075e230eee3c6c..b41139b2d661c32d67056e83c24620040815835c 100644 --- a/libraries/liststyle/lang/tt.js +++ b/libraries/liststyle/lang/tt.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'tt', { diff --git a/libraries/liststyle/lang/ug.js b/libraries/liststyle/lang/ug.js index a4ce5031b81872fa978f0148797e2f4a70c091d9..ee55b9ae6880fa9132290e7562a90289f126911c 100644 --- a/libraries/liststyle/lang/ug.js +++ b/libraries/liststyle/lang/ug.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'ug', { diff --git a/libraries/liststyle/lang/uk.js b/libraries/liststyle/lang/uk.js index 9f70a5f3c4370f874462f8256f53e6f5d9535613..9b33ad9302a6a978b7f87b9dd2611d75156c857a 100644 --- a/libraries/liststyle/lang/uk.js +++ b/libraries/liststyle/lang/uk.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'uk', { diff --git a/libraries/liststyle/lang/vi.js b/libraries/liststyle/lang/vi.js index f45f95204c328b1eb7d9b96d29817d35fd95f272..6f5e195ecb1c073978c556f7820f71f109716498 100644 --- a/libraries/liststyle/lang/vi.js +++ b/libraries/liststyle/lang/vi.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'vi', { diff --git a/libraries/liststyle/lang/zh-cn.js b/libraries/liststyle/lang/zh-cn.js index 953b1d043b479c8aa90109f4dfcc1c1496701651..79ab4f2ca2e9e351ab78d53d1a37f72d1414100e 100644 --- a/libraries/liststyle/lang/zh-cn.js +++ b/libraries/liststyle/lang/zh-cn.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'zh-cn', { diff --git a/libraries/liststyle/lang/zh.js b/libraries/liststyle/lang/zh.js index 0f58407763316fbbf302781b03df3f6c7c61e02b..23f5c871b2f2f2f0a48302d295867f236f0beba3 100644 --- a/libraries/liststyle/lang/zh.js +++ b/libraries/liststyle/lang/zh.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'liststyle', 'zh', { diff --git a/libraries/liststyle/plugin.js b/libraries/liststyle/plugin.js index ba4792f12903dd914704634ad035eec12d248e8d..715345fdf049332be9c7a8bac0cf350833a5e8b2 100644 --- a/libraries/liststyle/plugin.js +++ b/libraries/liststyle/plugin.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ diff --git a/src/Plugin/CKEditorPlugin/ListStylePlugin.php b/src/Plugin/CKEditorPlugin/ListStylePlugin.php index deb9b261882054e607394c5adc021c0bb4401c7f..fb4b561c8a41f3f199a8d976721140901d1738e0 100644 --- a/src/Plugin/CKEditorPlugin/ListStylePlugin.php +++ b/src/Plugin/CKEditorPlugin/ListStylePlugin.php @@ -3,38 +3,18 @@ namespace Drupal\uw_ckeditor_plugins\Plugin\CKEditorPlugin; use Drupal\ckeditor\CKEditorPluginBase; +use Drupal\ckeditor\CKEditorPluginContextualInterface; use Drupal\editor\Entity\Editor; /** - * Defines the "find" plugin. + * Defines the "List Style" plugin. * * @CKEditorPlugin( * id = "liststyle", - * label = @Translation("List Style"), + * label = @Translation("List Style") * ) */ -class ListStylePlugin extends CKEditorPluginBase { - - /** - * {@inheritdoc} - */ - public function getDependencies(Editor $editor) { - return []; - } - - /** - * {@inheritdoc} - */ - public function getLibraries(Editor $editor) { - return []; - } - - /** - * {@inheritdoc} - */ - public function getConfig(Editor $editor) { - return []; - } +class ListStylePlugin extends CKEditorPluginBase implements CKEditorPluginContextualInterface { /** * {@inheritdoc} @@ -65,15 +45,15 @@ class ListStylePlugin extends CKEditorPluginBase { /** * {@inheritdoc} */ - public function isInternal() { - return FALSE; + public function getFile() { + return $this->getModulePath('uw_ckeditor_plugins') . '/libraries/liststyle/plugin.js'; } /** * {@inheritdoc} */ - public function getFile() { - return $this->getModulePath('uw_ckeditor_plugins') . '/libraries/liststyle/plugin.js'; + public function getConfig(Editor $editor) { + return []; } }