new ckeditor

New ckeditor
This commit is contained in:
Francesco Malagrino
2017-03-26 21:10:58 +02:00
parent 87a8e6920e
commit f9caa9759b
4418 changed files with 209667 additions and 2801 deletions

View File

@@ -0,0 +1,430 @@
/*
* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
( function() {
// Add to collection with DUP examination.
// @param {Object} collection
// @param {Object} element
// @param {Object} database
function addSafely( collection, element, database ) {
// 1. IE doesn't support customData on text nodes;
// 2. Text nodes never get chance to appear twice;
if ( !element.is || !element.getCustomData( 'block_processed' ) ) {
element.is && CKEDITOR.dom.element.setMarker( database, element, 'block_processed', true );
collection.push( element );
}
}
// Dialog reused by both 'creatediv' and 'editdiv' commands.
// @param {Object} editor
// @param {String} command The command name which indicate what the current command is.
function divDialog( editor, command ) {
// Definition of elements at which div operation should stopped.
var divLimitDefinition = ( function() {
// Customzie from specialize blockLimit elements
var definition = CKEDITOR.tools.extend( {}, CKEDITOR.dtd.$blockLimit );
if ( editor.config.div_wrapTable ) {
delete definition.td;
delete definition.th;
}
return definition;
} )();
// DTD of 'div' element
var dtd = CKEDITOR.dtd.div;
// Get the first div limit element on the element's path.
// @param {Object} element
function getDivContainer( element ) {
var container = editor.elementPath( element ).blockLimit;
// Never consider read-only (i.e. contenteditable=false) element as
// a first div limit (#11083).
if ( container.isReadOnly() )
container = container.getParent();
// Dont stop at 'td' and 'th' when div should wrap entire table.
if ( editor.config.div_wrapTable && container.is( [ 'td', 'th' ] ) ) {
var parentPath = editor.elementPath( container.getParent() );
container = parentPath.blockLimit;
}
return container;
}
// Init all fields' setup/commit function.
// @memberof divDialog
function setupFields() {
this.foreach( function( field ) {
// Exclude layout container elements
if ( /^(?!vbox|hbox)/.test( field.type ) ) {
if ( !field.setup ) {
// Read the dialog fields values from the specified
// element attributes.
field.setup = function( element ) {
field.setValue( element.getAttribute( field.id ) || '', 1 );
};
}
if ( !field.commit ) {
// Set element attributes assigned by the dialog
// fields.
field.commit = function( element ) {
var fieldValue = this.getValue();
// ignore default element attribute values
if ( field.id == 'dir' && element.getComputedStyle( 'direction' ) == fieldValue ) {
return;
}
if ( fieldValue )
element.setAttribute( field.id, fieldValue );
else
element.removeAttribute( field.id );
};
}
}
} );
}
// Wrapping 'div' element around appropriate blocks among the selected ranges.
// @param {Object} editor
function createDiv( editor ) {
// new adding containers OR detected pre-existed containers.
var containers = [];
// node markers store.
var database = {};
// All block level elements which contained by the ranges.
var containedBlocks = [],
block;
// Get all ranges from the selection.
var selection = editor.getSelection(),
ranges = selection.getRanges();
var bookmarks = selection.createBookmarks();
var i, iterator;
// collect all included elements from dom-iterator
for ( i = 0; i < ranges.length; i++ ) {
iterator = ranges[ i ].createIterator();
while ( ( block = iterator.getNextParagraph() ) ) {
// include contents of blockLimit elements.
if ( block.getName() in divLimitDefinition && !block.isReadOnly() ) {
var j,
childNodes = block.getChildren();
for ( j = 0; j < childNodes.count(); j++ )
addSafely( containedBlocks, childNodes.getItem( j ), database );
} else {
while ( !dtd[ block.getName() ] && !block.equals( ranges[ i ].root ) )
block = block.getParent();
addSafely( containedBlocks, block, database );
}
}
}
CKEDITOR.dom.element.clearAllMarkers( database );
var blockGroups = groupByDivLimit( containedBlocks );
var ancestor, divElement;
for ( i = 0; i < blockGroups.length; i++ ) {
var currentNode = blockGroups[ i ][ 0 ];
// Calculate the common parent node of all contained elements.
ancestor = currentNode.getParent();
for ( j = 1; j < blockGroups[ i ].length; j++ )
ancestor = ancestor.getCommonAncestor( blockGroups[ i ][ j ] );
divElement = new CKEDITOR.dom.element( 'div', editor.document );
// Normalize the blocks in each group to a common parent.
for ( j = 0; j < blockGroups[ i ].length; j++ ) {
currentNode = blockGroups[ i ][ j ];
while ( !currentNode.getParent().equals( ancestor ) )
currentNode = currentNode.getParent();
// This could introduce some duplicated elements in array.
blockGroups[ i ][ j ] = currentNode;
}
// Wrapped blocks counting
for ( j = 0; j < blockGroups[ i ].length; j++ ) {
currentNode = blockGroups[ i ][ j ];
// Avoid DUP elements introduced by grouping.
if ( !( currentNode.getCustomData && currentNode.getCustomData( 'block_processed' ) ) ) {
currentNode.is && CKEDITOR.dom.element.setMarker( database, currentNode, 'block_processed', true );
// Establish new container, wrapping all elements in this group.
if ( !j )
divElement.insertBefore( currentNode );
divElement.append( currentNode );
}
}
CKEDITOR.dom.element.clearAllMarkers( database );
containers.push( divElement );
}
selection.selectBookmarks( bookmarks );
return containers;
}
// Divide a set of nodes to different groups by their path's blocklimit element.
// Note: the specified nodes should be in source order naturally, which mean they are supposed to producea by following class:
// * CKEDITOR.dom.range.Iterator
// * CKEDITOR.dom.domWalker
// @returns {Array[]} the grouped nodes
function groupByDivLimit( nodes ) {
var groups = [],
lastDivLimit = null,
block;
for ( var i = 0; i < nodes.length; i++ ) {
block = nodes[ i ];
var limit = getDivContainer( block );
if ( !limit.equals( lastDivLimit ) ) {
lastDivLimit = limit;
groups.push( [] );
}
groups[ groups.length - 1 ].push( block );
}
return groups;
}
// Synchronous field values to other impacted fields is required, e.g. div styles
// change should also alter inline-style text.
function commitInternally( targetFields ) {
var dialog = this.getDialog(),
element = dialog._element && dialog._element.clone() || new CKEDITOR.dom.element( 'div', editor.document );
// Commit this field and broadcast to target fields.
this.commit( element, true );
targetFields = [].concat( targetFields );
var length = targetFields.length,
field;
for ( var i = 0; i < length; i++ ) {
field = dialog.getContentElement.apply( dialog, targetFields[ i ].split( ':' ) );
field && field.setup && field.setup( element, true );
}
}
// Registered 'CKEDITOR.style' instances.
var styles = {};
// Hold a collection of created block container elements.
var containers = [];
// @type divDialog
return {
title: editor.lang.div.title,
minWidth: 400,
minHeight: 165,
contents: [ {
id: 'info',
label: editor.lang.common.generalTab,
title: editor.lang.common.generalTab,
elements: [ {
type: 'hbox',
widths: [ '50%', '50%' ],
children: [ {
id: 'elementStyle',
type: 'select',
style: 'width: 100%;',
label: editor.lang.div.styleSelectLabel,
'default': '',
// Options are loaded dynamically.
items: [
[ editor.lang.common.notSet, '' ]
],
onChange: function() {
commitInternally.call( this, [ 'info:elementStyle', 'info:class', 'advanced:dir', 'advanced:style' ] );
},
setup: function( element ) {
for ( var name in styles )
styles[ name ].checkElementRemovable( element, true, editor ) && this.setValue( name, 1 );
},
commit: function( element ) {
var styleName;
if ( ( styleName = this.getValue() ) ) {
var style = styles[ styleName ];
style.applyToObject( element, editor );
}
else {
element.removeAttribute( 'style' );
}
}
},
{
id: 'class',
type: 'text',
requiredContent: 'div(cke-xyz)', // Random text like 'xyz' will check if all are allowed.
label: editor.lang.common.cssClass,
'default': ''
} ]
} ]
},
{
id: 'advanced',
label: editor.lang.common.advancedTab,
title: editor.lang.common.advancedTab,
elements: [ {
type: 'vbox',
padding: 1,
children: [ {
type: 'hbox',
widths: [ '50%', '50%' ],
children: [ {
type: 'text',
id: 'id',
requiredContent: 'div[id]',
label: editor.lang.common.id,
'default': ''
},
{
type: 'text',
id: 'lang',
requiredContent: 'div[lang]',
label: editor.lang.common.langCode,
'default': ''
} ]
},
{
type: 'hbox',
children: [ {
type: 'text',
id: 'style',
requiredContent: 'div{cke-xyz}', // Random text like 'xyz' will check if all are allowed.
style: 'width: 100%;',
label: editor.lang.common.cssStyle,
'default': '',
commit: function( element ) {
element.setAttribute( 'style', this.getValue() );
}
} ]
},
{
type: 'hbox',
children: [ {
type: 'text',
id: 'title',
requiredContent: 'div[title]',
style: 'width: 100%;',
label: editor.lang.common.advisoryTitle,
'default': ''
} ]
},
{
type: 'select',
id: 'dir',
requiredContent: 'div[dir]',
style: 'width: 100%;',
label: editor.lang.common.langDir,
'default': '',
items: [
[ editor.lang.common.notSet, '' ],
[ editor.lang.common.langDirLtr, 'ltr' ],
[ editor.lang.common.langDirRtl, 'rtl' ]
]
} ] }
]
} ],
onLoad: function() {
setupFields.call( this );
// Preparing for the 'elementStyle' field.
var dialog = this,
stylesField = this.getContentElement( 'info', 'elementStyle' );
// Reuse the 'stylescombo' plugin's styles definition.
editor.getStylesSet( function( stylesDefinitions ) {
var styleName, style;
if ( stylesDefinitions ) {
// Digg only those styles that apply to 'div'.
for ( var i = 0; i < stylesDefinitions.length; i++ ) {
var styleDefinition = stylesDefinitions[ i ];
if ( styleDefinition.element && styleDefinition.element == 'div' ) {
styleName = styleDefinition.name;
styles[ styleName ] = style = new CKEDITOR.style( styleDefinition );
if ( editor.filter.check( style ) ) {
// Populate the styles field options with style name.
stylesField.items.push( [ styleName, styleName ] );
stylesField.add( styleName, styleName );
}
}
}
}
// We should disable the content element
// it if no options are available at all.
stylesField[ stylesField.items.length > 1 ? 'enable' : 'disable' ]();
// Now setup the field value manually if dialog was opened on element. (#9689)
setTimeout( function() {
dialog._element && stylesField.setup( dialog._element );
}, 0 );
} );
},
onShow: function() {
// Whether always create new container regardless of existed
// ones.
if ( command == 'editdiv' ) {
// Try to discover the containers that already existed in
// ranges
// update dialog field values
this.setupContent( this._element = CKEDITOR.plugins.div.getSurroundDiv( editor ) );
}
},
onOk: function() {
if ( command == 'editdiv' )
containers = [ this._element ];
else
containers = createDiv( editor, true );
// Update elements attributes
var size = containers.length;
for ( var i = 0; i < size; i++ ) {
this.commitContent( containers[ i ] );
// Remove empty 'style' attribute.
!containers[ i ].getAttribute( 'style' ) && containers[ i ].removeAttribute( 'style' );
}
this.hide();
},
onHide: function() {
// Remove style only when editing existing DIV. (#6315)
if ( command == 'editdiv' )
this._element.removeCustomData( 'elementStyle' );
delete this._element;
}
};
}
CKEDITOR.dialog.add( 'creatediv', function( editor ) {
return divDialog( editor, 'creatediv' );
} );
CKEDITOR.dialog.add( 'editdiv', function( editor ) {
return divDialog( editor, 'editdiv' );
} );
} )();
/**
* Whether to wrap the entire table instead of individual cells when creating a `<div>` in a table cell.
*
* config.div_wrapTable = true;
*
* @cfg {Boolean} [div_wrapTable=false]
* @member CKEDITOR.config
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'af', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Aanbevole Titel',
cssClassInputLabel: 'CSS klasse',
edit: 'Wysig Div',
inlineStyleInputLabel: 'Inlyn Styl',
langDirLTRLabel: 'Links na regs (LTR)',
langDirLabel: 'Skryfrigting',
langDirRTLLabel: 'Regs na links (RTL)',
languageCodeInputLabel: ' Taalkode',
remove: 'Verwyder Div',
styleSelectLabel: 'Styl',
title: 'Skep Div houer',
toolbar: 'Skep Div houer'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ar', {
IdInputLabel: 'هوية',
advisoryTitleInputLabel: 'عنوان التقرير',
cssClassInputLabel: 'فئات التنسيق',
edit: 'تحرير Div',
inlineStyleInputLabel: 'Inline Style',
langDirLTRLabel: 'اليسار لليمين (LTR)',
langDirLabel: 'إتجاه النص',
langDirRTLLabel: 'اليمين لليسار (RTL)',
languageCodeInputLabel: 'رمز اللغة',
remove: 'إزالة Div',
styleSelectLabel: 'نمط',
title: 'إحداث Div Container',
toolbar: 'إحداث Div Container'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'az', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Məsləhətli başlıq',
cssClassInputLabel: 'Üslub klassları',
edit: 'DİV eıementini redaktə et',
inlineStyleInputLabel: 'Sözlərin üslubları',
langDirLTRLabel: 'Soldan sağa (LTR)',
langDirLabel: 'Yaziların istiqaməti',
langDirRTLLabel: 'Sağdan sola (RTL)',
languageCodeInputLabel: 'Dilin kodu',
remove: 'DİV elementini sil',
styleSelectLabel: 'Üslub',
title: 'DİV ilə əhatələməni yarat',
toolbar: 'DİV ilə əhatələməni yarat'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'bg', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'Препоръчително заглавие',
cssClassInputLabel: 'Класове за CSS',
edit: 'Промяна на Div',
inlineStyleInputLabel: 'В редица',
langDirLTRLabel: 'Ляво на Дясно (ЛнД)',
langDirLabel: 'Посока на езика',
langDirRTLLabel: 'Дясно на Ляво (ДнЛ)',
languageCodeInputLabel: ' Код на езика',
remove: 'Премахване на Div',
styleSelectLabel: 'Стил',
title: 'Създай Div блок',
toolbar: 'Създаване на Div контейнер'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'bn', {
IdInputLabel: 'Id', // MISSING
advisoryTitleInputLabel: 'Advisory Title', // MISSING
cssClassInputLabel: 'Stylesheet Classes', // MISSING
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Left to Right (LTR)', // MISSING
langDirLabel: 'Language Direction', // MISSING
langDirRTLLabel: 'Right to Left (RTL)', // MISSING
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Style', // MISSING
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'bs', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Advisory title',
cssClassInputLabel: 'Klase CSS stilova',
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'S lijeva na desno (LTR)',
langDirLabel: 'Smjer pisanja',
langDirRTLLabel: 'S desna na lijevo (RTL)',
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Stil',
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ca', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Títol de guia',
cssClassInputLabel: 'Classes de la fulla d\'estils',
edit: 'Edita la Capa',
inlineStyleInputLabel: 'Estil en línia',
langDirLTRLabel: 'D\'esquerra a dreta (LTR)',
langDirLabel: 'Direcció de l\'idioma',
langDirRTLLabel: 'De dreta a esquerra (RTL)',
languageCodeInputLabel: ' Codi d\'idioma',
remove: 'Elimina la Capa',
styleSelectLabel: 'Estil',
title: 'Crea una Capa Contenidora',
toolbar: 'Crea una Capa Contenidora'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'cs', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Nápovědní titulek',
cssClassInputLabel: 'Třídy stylů',
edit: 'Změnit Div',
inlineStyleInputLabel: 'Vnitřní styly',
langDirLTRLabel: 'Zleva doprava (LTR)',
langDirLabel: 'Směr jazyka',
langDirRTLLabel: 'Zprava doleva (RTL)',
languageCodeInputLabel: ' Kód jazyka',
remove: 'Odstranit Div',
styleSelectLabel: 'Styly',
title: 'Vytvořit Div kontejner',
toolbar: 'Vytvořit Div kontejner'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'cy', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Teitl Cynghorol',
cssClassInputLabel: 'Dosbarthiadau Ffeil Arddull',
edit: 'Golygu Div',
inlineStyleInputLabel: 'Arddull Mewn Llinell',
langDirLTRLabel: 'Chwith i\'r Dde (LTR)',
langDirLabel: 'Cyfeiriad yr Iaith',
langDirRTLLabel: 'Dde i\'r Chwith (RTL)',
languageCodeInputLabel: ' Cod Iaith',
remove: 'Tynnu Div',
styleSelectLabel: 'Arddull',
title: 'Creu Cynhwysydd Div',
toolbar: 'Creu Cynhwysydd Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'da', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Vejledende titel',
cssClassInputLabel: 'Typografiark',
edit: 'Rediger Div',
inlineStyleInputLabel: 'Inline Style',
langDirLTRLabel: 'Venstre til højre (LTR)',
langDirLabel: 'Sprogretning',
langDirRTLLabel: 'Højre til venstre (RTL)',
languageCodeInputLabel: ' Sprogkode',
remove: 'Slet Div',
styleSelectLabel: 'Style',
title: 'Opret Div Container',
toolbar: 'Opret Div Container'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'de-ch', {
IdInputLabel: 'Kennung',
advisoryTitleInputLabel: 'Tooltip',
cssClassInputLabel: 'Formatvorlagenklasse',
edit: 'Div bearbeiten',
inlineStyleInputLabel: 'Inline Stil',
langDirLTRLabel: 'Links nach Rechs (LTR)',
langDirLabel: 'Sprachrichtung',
langDirRTLLabel: 'Rechs nach Links (RTL)',
languageCodeInputLabel: 'Sprachcode',
remove: 'Div entfernen',
styleSelectLabel: 'Stil',
title: 'Div Container erzeugen',
toolbar: 'Div Container erzeugen'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'de', {
IdInputLabel: 'Kennung',
advisoryTitleInputLabel: 'Tooltip',
cssClassInputLabel: 'Formatvorlagenklasse',
edit: 'Div bearbeiten',
inlineStyleInputLabel: 'Inline Stil',
langDirLTRLabel: 'Links nach Rechs (LTR)',
langDirLabel: 'Sprachrichtung',
langDirRTLLabel: 'Rechs nach Links (RTL)',
languageCodeInputLabel: 'Sprachcode',
remove: 'Div entfernen',
styleSelectLabel: 'Stil',
title: 'Div Container erzeugen',
toolbar: 'Div Container erzeugen'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'el', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Ενδεικτικός Τίτλος',
cssClassInputLabel: 'Κλάσεις Φύλλων Στυλ',
edit: 'Επεξεργασία Div',
inlineStyleInputLabel: 'Στυλ Εν Σειρά',
langDirLTRLabel: 'Αριστερά προς Δεξιά (LTR)',
langDirLabel: 'Κατεύθυνση Κειμένου',
langDirRTLLabel: 'Δεξιά προς Αριστερά (RTL)',
languageCodeInputLabel: 'Κωδικός Γλώσσας',
remove: 'Διαγραφή Div',
styleSelectLabel: 'Μορφή',
title: 'Δημιουργία Div',
toolbar: 'Δημιουργία Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'en-au', {
IdInputLabel: 'Id', // MISSING
advisoryTitleInputLabel: 'Advisory Title', // MISSING
cssClassInputLabel: 'Stylesheet Classes', // MISSING
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Left to Right (LTR)', // MISSING
langDirLabel: 'Language Direction', // MISSING
langDirRTLLabel: 'Right to Left (RTL)', // MISSING
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Style', // MISSING
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'en-ca', {
IdInputLabel: 'Id', // MISSING
advisoryTitleInputLabel: 'Advisory Title', // MISSING
cssClassInputLabel: 'Stylesheet Classes', // MISSING
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Left to Right (LTR)', // MISSING
langDirLabel: 'Language Direction', // MISSING
langDirRTLLabel: 'Right to Left (RTL)', // MISSING
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Style', // MISSING
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'en-gb', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Advisory Title',
cssClassInputLabel: 'Stylesheet Classes',
edit: 'Edit Div',
inlineStyleInputLabel: 'Inline Style',
langDirLTRLabel: 'Left to Right (LTR)',
langDirLabel: 'Language Direction',
langDirRTLLabel: 'Right to Left (RTL)',
languageCodeInputLabel: ' Language Code',
remove: 'Remove Div',
styleSelectLabel: 'Style',
title: 'Create Div Container',
toolbar: 'Create Div Container'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'en', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Advisory Title',
cssClassInputLabel: 'Stylesheet Classes',
edit: 'Edit Div',
inlineStyleInputLabel: 'Inline Style',
langDirLTRLabel: 'Left to Right (LTR)',
langDirLabel: 'Language Direction',
langDirRTLLabel: 'Right to Left (RTL)',
languageCodeInputLabel: ' Language Code',
remove: 'Remove Div',
styleSelectLabel: 'Style',
title: 'Create Div Container',
toolbar: 'Create Div Container'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'eo', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Priskriba Titolo',
cssClassInputLabel: 'Stilfolioklasoj',
edit: 'Redakti Div',
inlineStyleInputLabel: 'Enlinia stilo',
langDirLTRLabel: 'Maldekstre dekstren (angle LTR)',
langDirLabel: 'Skribdirekto',
langDirRTLLabel: 'Dekstre maldekstren (angle RTL)',
languageCodeInputLabel: ' Lingvokodo',
remove: 'Forigi Div',
styleSelectLabel: 'Stilo',
title: 'Krei DIV ujon',
toolbar: 'Krei DIV ujon'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'es', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Título',
cssClassInputLabel: 'Clase de hoja de estilos',
edit: 'Editar Div',
inlineStyleInputLabel: 'Estilo',
langDirLTRLabel: 'Izquierda a Derecha (LTR)',
langDirLabel: 'Orientación',
langDirRTLLabel: 'Derecha a Izquierda (RTL)',
languageCodeInputLabel: ' Codigo de idioma',
remove: 'Quitar Div',
styleSelectLabel: 'Estilo',
title: 'Crear contenedor DIV',
toolbar: 'Crear contenedor DIV'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'et', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'Soovitatav pealkiri',
cssClassInputLabel: 'Stiililehe klassid',
edit: 'Muuda Div',
inlineStyleInputLabel: 'Reasisene stiil',
langDirLTRLabel: 'Vasakult paremale (LTR)',
langDirLabel: 'Keele suund',
langDirRTLLabel: 'Paremalt vasakule (RTL)',
languageCodeInputLabel: ' Keelekood',
remove: 'Eemalda Div',
styleSelectLabel: 'Stiil',
title: 'Div-konteineri loomine',
toolbar: 'Div-konteineri loomine'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'eu', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Aholkatutako izenburua',
cssClassInputLabel: 'Estilo-orriko klaseak',
edit: 'Editatu Div-a',
inlineStyleInputLabel: 'Lineako estiloa',
langDirLTRLabel: 'Ezkerretik eskuinera (LTR)',
langDirLabel: 'Hizkuntzaren norabidea',
langDirRTLLabel: 'Eskuinetik ezkerrera (RTL)',
languageCodeInputLabel: 'Hizkuntzaren kodea',
remove: 'Kendu Div-a',
styleSelectLabel: 'Estiloa',
title: 'Sortu Div edukiontzia',
toolbar: 'Sortu Div edukiontzia'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'fa', {
IdInputLabel: 'شناسه',
advisoryTitleInputLabel: 'عنوان مشاوره',
cssClassInputLabel: 'کلاس​های شیوه​نامه',
edit: 'ویرایش Div',
inlineStyleInputLabel: 'سبک درون​خطی(Inline Style)',
langDirLTRLabel: 'چپ به راست (LTR)',
langDirLabel: 'جهت نوشتاری زبان',
langDirRTLLabel: 'راست به چپ (RTL)',
languageCodeInputLabel: ' کد زبان',
remove: 'حذف Div',
styleSelectLabel: 'سبک',
title: 'ایجاد یک محل DIV',
toolbar: 'ایجاد یک محل DIV'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'fi', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Ohjeistava otsikko',
cssClassInputLabel: 'Tyylitiedoston luokat',
edit: 'Muokkaa Diviä',
inlineStyleInputLabel: 'Sisätyyli',
langDirLTRLabel: 'Vasemmalta oikealle (LTR)',
langDirLabel: 'Kielen suunta',
langDirRTLLabel: 'Oikealta vasemmalle (RTL)',
languageCodeInputLabel: ' Kielen koodi',
remove: 'Poista Div',
styleSelectLabel: 'Tyyli',
title: 'Luo div-kehikko',
toolbar: 'Luo div-kehikko'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'fo', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Advisory Title',
cssClassInputLabel: 'Stylesheet Classes',
edit: 'Redigera Div',
inlineStyleInputLabel: 'Inline Style',
langDirLTRLabel: 'Vinstru til høgru (LTR)',
langDirLabel: 'Language Direction',
langDirRTLLabel: 'Høgru til vinstru (RTL)',
languageCodeInputLabel: ' Language Code',
remove: 'Strika Div',
styleSelectLabel: 'Style',
title: 'Ger Div Container',
toolbar: 'Ger Div Container'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'fr-ca', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'Titre',
cssClassInputLabel: 'Classes CSS',
edit: 'Modifier le DIV',
inlineStyleInputLabel: 'Style en ligne',
langDirLTRLabel: 'De gauche à droite (LTR)',
langDirLabel: 'Sens d\'écriture',
langDirRTLLabel: 'De droite à gauche (RTL)',
languageCodeInputLabel: 'Code de langue',
remove: 'Supprimer le DIV',
styleSelectLabel: 'Style',
title: 'Créer un DIV',
toolbar: 'Créer un DIV'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'fr', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'Infobulle',
cssClassInputLabel: 'Classes de style',
edit: 'Modifier la division',
inlineStyleInputLabel: 'Style en ligne',
langDirLTRLabel: 'Gauche à droite (LTR)',
langDirLabel: 'Sens d\'écriture',
langDirRTLLabel: 'Droite à gauche (RTL)',
languageCodeInputLabel: 'Code de langue',
remove: 'Enlever la division',
styleSelectLabel: 'Style',
title: 'Créer une division',
toolbar: 'Créer une division'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'gl', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'Título informativo',
cssClassInputLabel: 'Clases da folla de estilos',
edit: 'Editar Div',
inlineStyleInputLabel: 'Estilo de liña',
langDirLTRLabel: 'Esquerda a dereita (LTR)',
langDirLabel: 'Dirección de escritura do idioma',
langDirRTLLabel: 'Dereita a esquerda (RTL)',
languageCodeInputLabel: 'Código do idioma',
remove: 'Retirar Div',
styleSelectLabel: 'Estilo',
title: 'Crear un contedor Div',
toolbar: 'Crear un contedor Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'gu', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'એડવાઈઝર શીર્ષક',
cssClassInputLabel: 'સ્ટાઈલશીટ કલાસીસ',
edit: 'ડીવીમાં ફેરફાર કરવો',
inlineStyleInputLabel: 'ઈનલાઈન પદ્ધતિ',
langDirLTRLabel: 'ડાબે થી જમણે (LTR)',
langDirLabel: 'ભાષાની દિશા',
langDirRTLLabel: 'જમણે થી ડાબે (RTL)',
languageCodeInputLabel: 'ભાષાનો કોડ',
remove: 'ડીવી કાઢી કાઢવું',
styleSelectLabel: 'સ્ટાઈલ',
title: 'Div કન્ટેનર બનાવુંવું',
toolbar: 'Div કન્ટેનર બનાવુંવું'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'he', {
IdInputLabel: 'מזהה (ID)',
advisoryTitleInputLabel: 'כותרת מוצעת',
cssClassInputLabel: 'מחלקת עיצוב',
edit: 'עריכת מיכל (Div)',
inlineStyleInputLabel: 'סגנון פנימי',
langDirLTRLabel: 'שמאל לימין (LTR)',
langDirLabel: 'כיוון שפה',
langDirRTLLabel: 'ימין לשמאל (RTL)',
languageCodeInputLabel: 'קוד שפה',
remove: 'הסרת מיכל (Div)',
styleSelectLabel: 'סגנון',
title: 'יצירת מיכל (Div)',
toolbar: 'יצירת מיכל (Div)'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'hi', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'परामर्श शीर्शक',
cssClassInputLabel: 'स्टाइल-शीट क्लास',
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'बायें से दायें (LTR)',
langDirLabel: 'भाषा लिखने की दिशा',
langDirRTLLabel: 'दायें से बायें (RTL)',
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'स्टाइल',
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'hr', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Savjetodavni naslov',
cssClassInputLabel: 'Klase stilova',
edit: 'Uredi DIV',
inlineStyleInputLabel: 'Stil u liniji',
langDirLTRLabel: 'S lijeva na desno (LTR)',
langDirLabel: 'Smjer jezika',
langDirRTLLabel: 'S desna na lijevo (RTL)',
languageCodeInputLabel: 'Jezični kod',
remove: 'Ukloni DIV',
styleSelectLabel: 'Stil',
title: 'Napravi DIV kontejner',
toolbar: 'Napravi DIV kontejner'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'hu', {
IdInputLabel: 'Azonosító',
advisoryTitleInputLabel: 'Tipp szöveg',
cssClassInputLabel: 'Stíluslap osztály',
edit: 'DIV szerkesztése',
inlineStyleInputLabel: 'Inline stílus',
langDirLTRLabel: 'Balról jobbra (LTR)',
langDirLabel: 'Nyelvi irány',
langDirRTLLabel: 'Jobbról balra (RTL)',
languageCodeInputLabel: ' Nyelv kódja',
remove: 'DIV eltávolítása',
styleSelectLabel: 'Stílus',
title: 'DIV tároló létrehozása',
toolbar: 'DIV tároló létrehozása'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'id', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Penasehat Judul',
cssClassInputLabel: 'Kelas Stylesheet',
edit: 'Sunting Div',
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Kiri ke Kanan (LTR)',
langDirLabel: 'Arah Bahasa',
langDirRTLLabel: 'Kanan ke Kiri (RTL)',
languageCodeInputLabel: 'Kode Bahasa',
remove: 'Hapus Div',
styleSelectLabel: 'Gaya',
title: 'Ciptakan Wadah Div',
toolbar: 'Cipatakan Wadah Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'is', {
IdInputLabel: 'Id', // MISSING
advisoryTitleInputLabel: 'Advisory Title', // MISSING
cssClassInputLabel: 'Stylesheet Classes', // MISSING
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Left to Right (LTR)', // MISSING
langDirLabel: 'Language Direction', // MISSING
langDirRTLLabel: 'Right to Left (RTL)', // MISSING
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Style', // MISSING
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'it', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Titolo Avviso',
cssClassInputLabel: 'Classi di stile',
edit: 'Modifica DIV',
inlineStyleInputLabel: 'Stile Inline',
langDirLTRLabel: 'Da sinistra a destra (LTR)',
langDirLabel: 'Direzione di scrittura',
langDirRTLLabel: 'Da destra a sinistra (RTL)',
languageCodeInputLabel: 'Codice lingua',
remove: 'Rimuovi DIV',
styleSelectLabel: 'Stile',
title: 'Crea DIV contenitore',
toolbar: 'Crea DIV contenitore'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ja', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Title属性',
cssClassInputLabel: 'スタイルシートクラス',
edit: 'Divコンテナを編集',
inlineStyleInputLabel: 'インラインスタイル',
langDirLTRLabel: '左から右 (LTR)',
langDirLabel: '文字表記の方向',
langDirRTLLabel: '右から左 (RTL)',
languageCodeInputLabel: ' 言語コード',
remove: 'Divコンテナを削除',
styleSelectLabel: 'スタイル',
title: 'Divコンテナ',
toolbar: 'Divコンテナ'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ka', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'სათაური',
cssClassInputLabel: 'CSS კლასები',
edit: 'Div-ის რედაქტირება',
inlineStyleInputLabel: 'თანდართული სტილი',
langDirLTRLabel: 'მარცხნიდან მარჯვნიც (LTR)',
langDirLabel: 'ენის მინართულება',
langDirRTLLabel: 'მარჯვნიდან მარცხნივ (RTL)',
languageCodeInputLabel: 'ენის კოდი',
remove: 'Div-ის წაშლა',
styleSelectLabel: 'სტილი',
title: 'Div კონტეინერის შექმნა',
toolbar: 'Div კონტეინერის შექმნა'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'km', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'ចំណង​ជើង​ប្រឹក្សា',
cssClassInputLabel: 'Stylesheet Classes',
edit: 'កែ Div',
inlineStyleInputLabel: 'ស្ទីល​ក្នុង​បន្ទាត់',
langDirLTRLabel: 'ពីឆ្វេងទៅស្តាំ(LTR)',
langDirLabel: 'ទិសដៅភាសា',
langDirRTLLabel: 'ពីស្តាំទៅឆ្វេង(RTL)',
languageCodeInputLabel: 'កូដ​ភាសា',
remove: 'ដក Div ចេញ',
styleSelectLabel: 'ស្ទីល',
title: 'បង្កើត​អ្នក​ផ្ទុក Div',
toolbar: 'បង្កើត​អ្នក​ផ្ទុក Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ko', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: '보조 제목',
cssClassInputLabel: '스타일 시트 클래스',
edit: 'Div 편집',
inlineStyleInputLabel: '인라인 스타일',
langDirLTRLabel: '왼쪽에서 오른쪽 (LTR)',
langDirLabel: '언어 방향',
langDirRTLLabel: '오른쪽에서 왼쪽 (RTL)',
languageCodeInputLabel: ' 언어 코드',
remove: 'Div 태그 삭제',
styleSelectLabel: '스타일',
title: 'Div 태그 생성',
toolbar: 'Div 태그 생성'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ku', {
IdInputLabel: 'ناسنامە',
advisoryTitleInputLabel: 'سەردێڕ',
cssClassInputLabel: 'شێوازی چینی پەڕه',
edit: 'چاکسازی Div',
inlineStyleInputLabel: 'شێوازی ناوهێڵ',
langDirLTRLabel: 'چەپ بۆ ڕاست (LTR)',
langDirLabel: 'ئاراستەی زمان',
langDirRTLLabel: 'ڕاست بۆ چەپ (RTL)',
languageCodeInputLabel: 'هێمای زمان',
remove: 'لابردنی Div',
styleSelectLabel: 'شێواز',
title: 'دروستکردنی لەخۆگری Div',
toolbar: 'دروستکردنی لەخۆگری Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'lt', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Patariamas pavadinimas',
cssClassInputLabel: 'Stilių klasės',
edit: 'Redaguoti Div',
inlineStyleInputLabel: 'Vidiniai stiliai',
langDirLTRLabel: 'Iš kairės į dešinę (LTR)',
langDirLabel: 'Kalbos nurodymai',
langDirRTLLabel: 'Iš dešinės į kairę (RTL)',
languageCodeInputLabel: ' Kalbos kodas',
remove: 'Pašalinti Div',
styleSelectLabel: 'Stilius',
title: 'Sukurti Div elementą',
toolbar: 'Sukurti Div elementą'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'lv', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Konsultatīvs virsraksts',
cssClassInputLabel: 'Stilu klases',
edit: 'Labot Div',
inlineStyleInputLabel: 'Iekļautais stils',
langDirLTRLabel: 'Kreisais uz Labo (LTR)',
langDirLabel: 'Valodas virziens',
langDirRTLLabel: 'Labais uz kreiso (RTL)',
languageCodeInputLabel: 'Valodas kods',
remove: 'Noņemt Div',
styleSelectLabel: 'Stils',
title: 'Izveidot div konteineri',
toolbar: 'Izveidot div konteineri'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'mk', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Advisory Title', // MISSING
cssClassInputLabel: 'Stylesheet Classes', // MISSING
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Лево кон десно',
langDirLabel: 'Насока на јазик',
langDirRTLLabel: 'Десно кон лево',
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Стил',
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'mn', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Зөвлөлдөх гарчиг',
cssClassInputLabel: 'Stylesheet классууд',
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Зүүн талаас баруун тишээ (LTR)',
langDirLabel: 'Хэлний чиглэл',
langDirRTLLabel: 'Баруун талаас зүүн тишээ (RTL)',
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Загвар',
title: 'Div гэдэг хэсэг бий болгох',
toolbar: 'Div гэдэг хэсэг бий болгох'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ms', {
IdInputLabel: 'Id', // MISSING
advisoryTitleInputLabel: 'Advisory Title', // MISSING
cssClassInputLabel: 'Stylesheet Classes', // MISSING
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Left to Right (LTR)', // MISSING
langDirLabel: 'Language Direction', // MISSING
langDirRTLLabel: 'Right to Left (RTL)', // MISSING
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Style', // MISSING
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'nb', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Tittel',
cssClassInputLabel: 'Stilark-klasser',
edit: 'Rediger Div',
inlineStyleInputLabel: 'Inlinestiler',
langDirLTRLabel: 'Venstre til høyre (LTR)',
langDirLabel: 'Språkretning',
langDirRTLLabel: 'Høyre til venstre (RTL)',
languageCodeInputLabel: ' Språkkode',
remove: 'Fjern Div',
styleSelectLabel: 'Stil',
title: 'Sett inn Div Container',
toolbar: 'Sett inn Div Container'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'nl', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Adviserende titel',
cssClassInputLabel: 'Stylesheet klassen',
edit: 'Div wijzigen',
inlineStyleInputLabel: 'Inline stijl',
langDirLTRLabel: 'Links naar rechts (LTR)',
langDirLabel: 'Schrijfrichting',
langDirRTLLabel: 'Rechts naar links (RTL)',
languageCodeInputLabel: ' Taalcode',
remove: 'Div verwijderen',
styleSelectLabel: 'Stijl',
title: 'Div aanmaken',
toolbar: 'Div aanmaken'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'no', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Tittel',
cssClassInputLabel: 'Stilark-klasser',
edit: 'Rediger Div',
inlineStyleInputLabel: 'Inlinestiler',
langDirLTRLabel: 'Venstre til høyre (VTH)',
langDirLabel: 'Språkretning',
langDirRTLLabel: 'Høyre til venstre (HTV)',
languageCodeInputLabel: ' Språkkode',
remove: 'Fjern Div',
styleSelectLabel: 'Stil',
title: 'Sett inn Div Container',
toolbar: 'Sett inn Div Container'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'oc', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'Infobulla',
cssClassInputLabel: 'Classas d\'estil',
edit: 'Modificar la division',
inlineStyleInputLabel: 'Estil en linha',
langDirLTRLabel: 'Esquèrra a dreita (LTR)',
langDirLabel: 'Sens d\'escritura',
langDirRTLLabel: 'Dreita a esquèrra (RTL)',
languageCodeInputLabel: 'Còdi de lenga',
remove: 'Levar la division',
styleSelectLabel: 'Estil',
title: 'Crear una division',
toolbar: 'Crear una division'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'pl', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Opis obiektu docelowego',
cssClassInputLabel: 'Klasy arkusza stylów',
edit: 'Edytuj pojemnik Div',
inlineStyleInputLabel: 'Style liniowe',
langDirLTRLabel: 'Od lewej do prawej (LTR)',
langDirLabel: 'Kierunek tekstu',
langDirRTLLabel: 'Od prawej do lewej (RTL)',
languageCodeInputLabel: 'Kod języka',
remove: 'Usuń pojemnik Div',
styleSelectLabel: 'Styl',
title: 'Utwórz pojemnik Div',
toolbar: 'Utwórz pojemnik Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'pt-br', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Título Consulta',
cssClassInputLabel: 'Classes de CSS',
edit: 'Editar Div',
inlineStyleInputLabel: 'Estilo Inline',
langDirLTRLabel: 'Esquerda para Direita (LTR)',
langDirLabel: 'Direção da Escrita',
langDirRTLLabel: 'Direita para Esquerda (RTL)',
languageCodeInputLabel: 'Código de Idioma',
remove: 'Remover Div',
styleSelectLabel: 'Estilo',
title: 'Criar Container de DIV',
toolbar: 'Criar Container de DIV'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'pt', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'Título',
cssClassInputLabel: 'Classes de folhas de estilo',
edit: 'Editar Div',
inlineStyleInputLabel: 'Estilho em Linha',
langDirLTRLabel: 'Esquerda para a direita (EPD)',
langDirLabel: 'Orientação de idioma',
langDirRTLLabel: 'Direita para a Esquerda (DPE)',
languageCodeInputLabel: 'Codigo do Idioma',
remove: 'Remover Div',
styleSelectLabel: 'Estilo',
title: 'Criar Div',
toolbar: 'Criar Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ro', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Titlul consultativ',
cssClassInputLabel: 'Clasele cu stilul paginii (CSS)',
edit: 'Modifică Div-ul',
inlineStyleInputLabel: 'Stil Inline',
langDirLTRLabel: 'stânga-dreapta (LTR)',
langDirLabel: 'Direcţia cuvintelor',
langDirRTLLabel: 'dreapta-stânga (RTL)',
languageCodeInputLabel: 'Codul limbii',
remove: 'Șterge Div-ul',
styleSelectLabel: 'Stil',
title: 'Crează un container Div',
toolbar: 'Crează un container Div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ru', {
IdInputLabel: 'Идентификатор',
advisoryTitleInputLabel: 'Заголовок',
cssClassInputLabel: 'Классы CSS',
edit: 'Редактировать контейнер',
inlineStyleInputLabel: 'Стиль элемента',
langDirLTRLabel: 'Слева направо (LTR)',
langDirLabel: 'Направление текста',
langDirRTLLabel: 'Справа налево (RTL)',
languageCodeInputLabel: 'Код языка',
remove: 'Удалить контейнер',
styleSelectLabel: 'Стиль',
title: 'Создать Div-контейнер',
toolbar: 'Создать Div-контейнер'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'si', {
IdInputLabel: 'අංකය',
advisoryTitleInputLabel: 'උපදේශාත්මක නාමය',
cssClassInputLabel: 'විලාසපත්‍ර පන්තිය',
edit: 'වෙනස්කිරීම',
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'වමේසිට දකුණුට',
langDirLabel: 'භාෂා දිශාව',
langDirRTLLabel: 'දකුණේ සිට වමට',
languageCodeInputLabel: 'භාෂා ',
remove: 'ඉවත් කිරීම',
styleSelectLabel: 'විලාසය',
title: 'නිර්මාණය ',
toolbar: 'නිර්මාණය '
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'sk', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Pomocný titulok',
cssClassInputLabel: 'Triedy štýlu',
edit: 'Upraviť Div',
inlineStyleInputLabel: 'Inline štýl',
langDirLTRLabel: 'Zľava doprava (LTR)',
langDirLabel: 'Smer jazyka',
langDirRTLLabel: 'Zprava doľava (RTL)',
languageCodeInputLabel: 'Kód jazyka',
remove: 'Odstrániť Div',
styleSelectLabel: 'Štýl',
title: 'Vytvoriť Div kontajner',
toolbar: 'Vytvoriť Div kontajner'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'sl', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Predlagani naslov',
cssClassInputLabel: 'Razredi slogovne predloge',
edit: 'Uredi div',
inlineStyleInputLabel: 'Slog v vrstici',
langDirLTRLabel: 'Od leve proti desni (LTR)',
langDirLabel: 'Smer jezika',
langDirRTLLabel: 'Od desne proti levi (RTL)',
languageCodeInputLabel: 'Koda jezika',
remove: 'Odstrani div',
styleSelectLabel: 'Slog',
title: 'Ustvari vsebnik div',
toolbar: 'Ustvari vsebnik div'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'sq', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Titull',
cssClassInputLabel: 'Klasa stili CSS',
edit: 'Redakto Div',
inlineStyleInputLabel: 'Stili i brendshëm',
langDirLTRLabel: 'Nga e majta në të djathë (LTR)',
langDirLabel: 'Drejtim teksti',
langDirRTLLabel: 'Nga e djathta në të majtë (RTL)',
languageCodeInputLabel: 'Kodi i Gjuhës',
remove: 'Largo Div',
styleSelectLabel: 'Stil',
title: 'Krijo Div Përmbajtës',
toolbar: 'Krijo Div Përmbajtës'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'sr-latn', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Advisory naslov',
cssClassInputLabel: 'Stylesheet klase',
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'S leva na desno (LTR)',
langDirLabel: 'Smer jezika',
langDirRTLLabel: 'S desna na levo (RTL)',
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Stil',
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'sr', {
IdInputLabel: 'Id', // MISSING
advisoryTitleInputLabel: 'Advisory Title', // MISSING
cssClassInputLabel: 'Stylesheet Classes', // MISSING
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'Left to Right (LTR)', // MISSING
langDirLabel: 'Language Direction', // MISSING
langDirRTLLabel: 'Right to Left (RTL)', // MISSING
languageCodeInputLabel: ' Language Code', // MISSING
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Style', // MISSING
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'sv', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Rådgivande titel',
cssClassInputLabel: 'Stilmallar',
edit: 'Redigera Div',
inlineStyleInputLabel: 'Inline Style',
langDirLTRLabel: 'Vänster till höger (LTR)',
langDirLabel: 'Språkriktning',
langDirRTLLabel: 'Höger till vänster (RTL)',
languageCodeInputLabel: ' Språkkod',
remove: 'Ta bort Div',
styleSelectLabel: 'Stil',
title: 'Skapa Div container',
toolbar: 'Skapa Div container'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'th', {
IdInputLabel: 'ไอดี',
advisoryTitleInputLabel: 'คำเกริ่นนำ',
cssClassInputLabel: 'คลาสของไฟล์กำหนดลักษณะการแสดงผล',
edit: 'แก้ไข Div',
inlineStyleInputLabel: 'Inline Style', // MISSING
langDirLTRLabel: 'จากซ้ายไปขวา (LTR)',
langDirLabel: 'การเขียน-อ่านภาษา',
langDirRTLLabel: 'จากขวามาซ้าย (RTL)',
languageCodeInputLabel: 'รหัสภาษา',
remove: 'ลบ Div',
styleSelectLabel: 'ลักษณะการแสดงผล',
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'tr', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Tavsiye Başlığı',
cssClassInputLabel: 'Stilltipi Sınıfı',
edit: 'Div Düzenle',
inlineStyleInputLabel: 'Inline Stili',
langDirLTRLabel: 'Soldan sağa (LTR)',
langDirLabel: 'Dil Yönü',
langDirRTLLabel: 'Sağdan sola (RTL)',
languageCodeInputLabel: ' Dil Kodu',
remove: 'Div Kaldır',
styleSelectLabel: 'Stil',
title: 'Div İçeriği Oluştur',
toolbar: 'Div İçeriği Oluştur'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'tt', {
IdInputLabel: 'Идентификатор',
advisoryTitleInputLabel: 'Киңәш исем',
cssClassInputLabel: 'Стильләр класслары',
edit: 'Edit Div', // MISSING
inlineStyleInputLabel: 'Эчке стиль',
langDirLTRLabel: 'Сулдан уңга язылыш (LTR)',
langDirLabel: 'Язылыш юнəлеше',
langDirRTLLabel: 'Уңнан сулга язылыш (RTL)',
languageCodeInputLabel: 'Тел коды',
remove: 'Remove Div', // MISSING
styleSelectLabel: 'Стиль',
title: 'Create Div Container', // MISSING
toolbar: 'Create Div Container' // MISSING
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'ug', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: 'ماۋزۇ',
cssClassInputLabel: 'ئۇسلۇب تىپىنىڭ ئاتى',
edit: 'DIV تەھرىر',
inlineStyleInputLabel: 'قۇر ئىچىدىكى ئۇسلۇبى',
langDirLTRLabel: 'سولدىن ئوڭغا (LTR)',
langDirLabel: 'تىل يۆنىلىشى',
langDirRTLLabel: 'ئوڭدىن سولغا (RTL)',
languageCodeInputLabel: 'تىل كودى',
remove: 'DIV چىقىرىۋەت',
styleSelectLabel: 'ئۇسلۇب',
title: 'DIV قاچا قۇر',
toolbar: 'DIV قاچا قۇر'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'uk', {
IdInputLabel: 'Ідентифікатор',
advisoryTitleInputLabel: 'Зміст випливаючої підказки',
cssClassInputLabel: 'Клас CSS',
edit: 'Редагувати блок',
inlineStyleInputLabel: 'Вписаний стиль',
langDirLTRLabel: 'Зліва направо (LTR)',
langDirLabel: 'Напрямок мови',
langDirRTLLabel: 'Справа наліво (RTL)',
languageCodeInputLabel: 'Код мови',
remove: 'Видалити блок',
styleSelectLabel: 'Стиль CSS',
title: 'Створити блок-контейнер',
toolbar: 'Створити блок-контейнер'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'vi', {
IdInputLabel: 'Định danh (id)',
advisoryTitleInputLabel: 'Nhan đề hướng dẫn',
cssClassInputLabel: 'Các lớp CSS',
edit: 'Chỉnh sửa',
inlineStyleInputLabel: 'Kiểu nội dòng',
langDirLTRLabel: 'Trái sang phải (LTR)',
langDirLabel: 'Hướng ngôn ngữ',
langDirRTLLabel: 'Phải qua trái (RTL)',
languageCodeInputLabel: 'Mã ngôn ngữ',
remove: 'Xóa bỏ',
styleSelectLabel: 'Kiểu (style)',
title: 'Tạo khối các thành phần',
toolbar: 'Tạo khối các thành phần'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'zh-cn', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: '标题',
cssClassInputLabel: '样式类名称',
edit: '编辑 DIV',
inlineStyleInputLabel: '行内样式',
langDirLTRLabel: '从左到右 (LTR)',
langDirLabel: '语言方向',
langDirRTLLabel: '从右到左 (RTL)',
languageCodeInputLabel: '语言代码',
remove: '移除 DIV',
styleSelectLabel: '样式',
title: '创建 DIV 容器',
toolbar: '创建 DIV 容器'
} );

View File

@@ -0,0 +1,19 @@
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'zh', {
IdInputLabel: 'ID',
advisoryTitleInputLabel: '標題',
cssClassInputLabel: '樣式表類別',
edit: '編輯 Div',
inlineStyleInputLabel: '行內樣式',
langDirLTRLabel: '由左至右 (LTR)',
langDirLabel: '語言方向',
langDirRTLLabel: '由右至左 (RTL)',
languageCodeInputLabel: '語言碼',
remove: '移除 Div',
styleSelectLabel: '樣式',
title: '建立 Div 容器',
toolbar: '建立 Div 容器'
} );

View File

@@ -0,0 +1,134 @@
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview The "div" plugin. It wraps the selected block level elements with a 'div' element with specified styles and attributes.
*
*/
( function() {
CKEDITOR.plugins.add( 'div', {
requires: 'dialog',
// jscs:disable maximumLineLength
lang: 'af,ar,az,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,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
icons: 'creatediv', // %REMOVE_LINE_CORE%
hidpi: true, // %REMOVE_LINE_CORE%
init: function( editor ) {
if ( editor.blockless )
return;
var lang = editor.lang.div,
allowed = 'div(*)';
if ( CKEDITOR.dialog.isTabEnabled( editor, 'editdiv', 'advanced' ) )
allowed += ';div[dir,id,lang,title]{*}';
editor.addCommand( 'creatediv', new CKEDITOR.dialogCommand( 'creatediv', {
allowedContent: allowed,
requiredContent: 'div',
contextSensitive: true,
contentTransformations: [
[ 'div: alignmentToStyle' ]
],
refresh: function( editor, path ) {
var context = editor.config.div_wrapTable ? path.root : path.blockLimit;
this.setState( 'div' in context.getDtd() ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
}
} ) );
editor.addCommand( 'editdiv', new CKEDITOR.dialogCommand( 'editdiv', { requiredContent: 'div' } ) );
editor.addCommand( 'removediv', {
requiredContent: 'div',
exec: function( editor ) {
var selection = editor.getSelection(),
ranges = selection && selection.getRanges(),
range,
bookmarks = selection.createBookmarks(),
walker,
toRemove = [];
function findDiv( node ) {
var div = CKEDITOR.plugins.div.getSurroundDiv( editor, node );
if ( div && !div.data( 'cke-div-added' ) ) {
toRemove.push( div );
div.data( 'cke-div-added' );
}
}
for ( var i = 0; i < ranges.length; i++ ) {
range = ranges[ i ];
if ( range.collapsed )
findDiv( selection.getStartElement() );
else {
walker = new CKEDITOR.dom.walker( range );
walker.evaluator = findDiv;
walker.lastForward();
}
}
for ( i = 0; i < toRemove.length; i++ )
toRemove[ i ].remove( true );
selection.selectBookmarks( bookmarks );
}
} );
editor.ui.addButton && editor.ui.addButton( 'CreateDiv', {
label: lang.toolbar,
command: 'creatediv',
toolbar: 'blocks,50'
} );
if ( editor.addMenuItems ) {
editor.addMenuItems( {
editdiv: {
label: lang.edit,
command: 'editdiv',
group: 'div',
order: 1
},
removediv: {
label: lang.remove,
command: 'removediv',
group: 'div',
order: 5
}
} );
if ( editor.contextMenu ) {
editor.contextMenu.addListener( function( element ) {
if ( !element || element.isReadOnly() )
return null;
if ( CKEDITOR.plugins.div.getSurroundDiv( editor ) ) {
return {
editdiv: CKEDITOR.TRISTATE_OFF,
removediv: CKEDITOR.TRISTATE_OFF
};
}
return null;
} );
}
}
CKEDITOR.dialog.add( 'creatediv', this.path + 'dialogs/div.js' );
CKEDITOR.dialog.add( 'editdiv', this.path + 'dialogs/div.js' );
}
} );
CKEDITOR.plugins.div = {
getSurroundDiv: function( editor, start ) {
var path = editor.elementPath( start );
return editor.elementPath( path.blockLimit ).contains( function( node ) {
// Avoid read-only (i.e. contenteditable="false") divs (#11083).
return node.is( 'div' ) && !node.isReadOnly();
}, 1 );
}
};
} )();