forked from Wavyzz/dolibarr
New: Update ckeditor to version 4 (part 1)
This commit is contained in:
@@ -1,535 +1,462 @@
|
||||
/*
|
||||
* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html 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 );
|
||||
}
|
||||
}
|
||||
|
||||
function getNonEmptyChildren( element )
|
||||
{
|
||||
var retval = [];
|
||||
var children = element.getChildren();
|
||||
for ( var i = 0 ; i < children.count() ; i++ )
|
||||
{
|
||||
var child = children.getItem( i );
|
||||
if ( ! ( child.type === CKEDITOR.NODE_TEXT
|
||||
&& ( /^[ \t\n\r]+$/ ).test( child.getText() ) ) )
|
||||
retval.push( child );
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 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 );
|
||||
|
||||
// Exclude 'div' itself.
|
||||
delete definition.div;
|
||||
|
||||
// Exclude 'td' and 'th' when 'wrapping table'
|
||||
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 getDivLimitElement( element )
|
||||
{
|
||||
var pathElements = new CKEDITOR.dom.elementPath( element ).elements;
|
||||
var divLimit;
|
||||
for ( var i = 0; i < pathElements.length ; i++ )
|
||||
{
|
||||
if ( pathElements[ i ].getName() in divLimitDefinition )
|
||||
{
|
||||
divLimit = pathElements[ i ];
|
||||
break;
|
||||
}
|
||||
}
|
||||
return divLimit;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 ) || '' );
|
||||
};
|
||||
}
|
||||
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 ( 'dir' == field.id && 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.document.getSelection(),
|
||||
ranges = selection.getRanges();
|
||||
var bookmarks = selection.createBookmarks();
|
||||
var i, iterator;
|
||||
|
||||
// Calcualte a default block tag if we need to create blocks.
|
||||
var blockTag = editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p';
|
||||
|
||||
// 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 )
|
||||
{
|
||||
var j, childNodes = block.getChildren();
|
||||
for ( j = 0 ; j < childNodes.count() ; j++ )
|
||||
addSafely( containedBlocks, childNodes.getItem( j ) , database );
|
||||
}
|
||||
else
|
||||
{
|
||||
// Bypass dtd disallowed elements.
|
||||
while ( !dtd[ block.getName() ] && block.getName() != 'body' )
|
||||
block = block.getParent();
|
||||
addSafely( containedBlocks, block, database );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CKEDITOR.dom.element.clearAllMarkers( database );
|
||||
|
||||
var blockGroups = groupByDivLimit( containedBlocks );
|
||||
var ancestor, blockEl, 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
|
||||
var fixedBlock = null;
|
||||
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;
|
||||
}
|
||||
|
||||
function getDiv( editor )
|
||||
{
|
||||
var path = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() ),
|
||||
blockLimit = path.blockLimit,
|
||||
div = blockLimit && blockLimit.getAscendant( 'div', true );
|
||||
return div;
|
||||
}
|
||||
/**
|
||||
* 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
|
||||
* @return {Array []} the grouped nodes
|
||||
*/
|
||||
function groupByDivLimit( nodes )
|
||||
{
|
||||
var groups = [],
|
||||
lastDivLimit = null,
|
||||
path, block;
|
||||
for ( var i = 0 ; i < nodes.length ; i++ )
|
||||
{
|
||||
block = nodes[i];
|
||||
var limit = getDivLimitElement( 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:class', 'advanced:dir', 'advanced:style' ] );
|
||||
},
|
||||
setup : function( element )
|
||||
{
|
||||
for ( var name in styles )
|
||||
styles[ name ].checkElementRemovable( element, true ) && this.setValue( name );
|
||||
},
|
||||
commit: function( element )
|
||||
{
|
||||
var styleName;
|
||||
if ( ( styleName = this.getValue() ) )
|
||||
{
|
||||
var style = styles[ styleName ];
|
||||
var customData = element.getCustomData( 'elementStyle' ) || '';
|
||||
|
||||
style.applyToObject( element );
|
||||
element.setCustomData( 'elementStyle', customData + style._.definition.attributes.style );
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
id :'class',
|
||||
type :'text',
|
||||
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',
|
||||
label :editor.lang.common.id,
|
||||
'default' : ''
|
||||
},
|
||||
{
|
||||
type :'text',
|
||||
id :'lang',
|
||||
label :editor.lang.link.langCode,
|
||||
'default' : ''
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
type :'hbox',
|
||||
children :
|
||||
[
|
||||
{
|
||||
type :'text',
|
||||
id :'style',
|
||||
style :'width: 100%;',
|
||||
label :editor.lang.common.cssStyle,
|
||||
'default' : '',
|
||||
commit : function( element )
|
||||
{
|
||||
// Merge with 'elementStyle', which is of higher priority.
|
||||
var merged = this.getValue() + ( element.getCustomData( 'elementStyle' ) || '' );
|
||||
element.setAttribute( 'style', merged );
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
type :'hbox',
|
||||
children :
|
||||
[
|
||||
{
|
||||
type :'text',
|
||||
id :'title',
|
||||
style :'width: 100%;',
|
||||
label :editor.lang.common.advisoryTitle,
|
||||
'default' : ''
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
type :'select',
|
||||
id :'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;
|
||||
|
||||
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 ] = new CKEDITOR.style( styleDefinition );
|
||||
|
||||
// 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.
|
||||
setTimeout( function() { 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
|
||||
var div = getDiv( editor );
|
||||
// update dialog field values
|
||||
div && this.setupContent( this._element = div );
|
||||
}
|
||||
},
|
||||
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' );
|
||||
} );
|
||||
} )();
|
||||
|
||||
/*
|
||||
* @name CKEDITOR.config.div_wrapTable
|
||||
* Whether to wrap the whole table instead of indivisual cells when created 'div' in table cell.
|
||||
* @type Boolean
|
||||
* @default false
|
||||
* @example config.div_wrapTable = true;
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 2003-2014, 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 );
|
||||
}
|
||||
}
|
||||
|
||||
function getNonEmptyChildren( element ) {
|
||||
var retval = [];
|
||||
var children = element.getChildren();
|
||||
for ( var i = 0; i < children.count(); i++ ) {
|
||||
var child = children.getItem( i );
|
||||
if ( !( child.type === CKEDITOR.NODE_TEXT && ( /^[ \t\n\r]+$/ ).test( child.getText() ) ) )
|
||||
retval.push( child );
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
// 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 ( 'dir' == field.id && 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;
|
||||
|
||||
// Calcualte a default block tag if we need to create blocks.
|
||||
var blockTag = editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p';
|
||||
|
||||
// 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, blockEl, 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
|
||||
var fixedBlock = null;
|
||||
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,
|
||||
path, 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 ) && this.setValue( name, 1 );
|
||||
},
|
||||
commit: function( element ) {
|
||||
var styleName;
|
||||
if ( ( styleName = this.getValue() ) ) {
|
||||
var style = styles[ styleName ];
|
||||
style.applyToObject( element );
|
||||
}
|
||||
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 whole table instead of indivisual cells when created `<div>` in table cell.
|
||||
*
|
||||
* config.div_wrapTable = true;
|
||||
*
|
||||
* @cfg {Boolean} [div_wrapTable=false]
|
||||
* @member CKEDITOR.config
|
||||
*/
|
||||
|
||||
BIN
htdocs/includes/ckeditor/_source/plugins/div/icons/creatediv.png
Normal file
BIN
htdocs/includes/ckeditor/_source/plugins/div/icons/creatediv.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 862 B |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
19
htdocs/includes/ckeditor/_source/plugins/div/lang/af.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/af.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ar.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ar.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/bg.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/bg.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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: 'Inline Style', // MISSING
|
||||
langDirLTRLabel: 'Ляво на Дясно (ЛнД)',
|
||||
langDirLabel: 'Посока на езика',
|
||||
langDirRTLLabel: 'Дясно на Ляво (ДнЛ)',
|
||||
languageCodeInputLabel: ' Код на езика',
|
||||
remove: 'Премахване на Div',
|
||||
styleSelectLabel: 'Стил',
|
||||
title: 'Create Div Container', // MISSING
|
||||
toolbar: 'Create Div Container' // MISSING
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/bn.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/bn.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/bs.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/bs.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ca.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ca.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/cs.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/cs.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/cy.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/cy.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/da.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/da.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/de.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/de.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'div', 'de', {
|
||||
IdInputLabel: 'Id',
|
||||
advisoryTitleInputLabel: 'Tooltip',
|
||||
cssClassInputLabel: 'Stylesheet Klasse',
|
||||
edit: 'Div bearbeiten',
|
||||
inlineStyleInputLabel: 'Inline Stil',
|
||||
langDirLTRLabel: 'Links nach Rechs (LTR)',
|
||||
langDirLabel: 'Sprache Richtung',
|
||||
langDirRTLLabel: 'Rechs nach Links (RTL)',
|
||||
languageCodeInputLabel: 'Sprachenkürzel',
|
||||
remove: 'Div entfernen',
|
||||
styleSelectLabel: 'Style',
|
||||
title: 'Div Container erzeugen',
|
||||
toolbar: 'Div Container erzeugen'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/el.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/el.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/en-au.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/en-au.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/en-ca.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/en-ca.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/en-gb.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/en-gb.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/en.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/en.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/eo.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/eo.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/es.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/es.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/et.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/et.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/eu.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/eu.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'div', 'eu', {
|
||||
IdInputLabel: 'Id',
|
||||
advisoryTitleInputLabel: 'Izenburua',
|
||||
cssClassInputLabel: 'Estilo-orriko Klaseak',
|
||||
edit: 'Div-a editatu',
|
||||
inlineStyleInputLabel: 'Inline Estiloa',
|
||||
langDirLTRLabel: 'Ezkerretik Eskuinera (LTR)',
|
||||
langDirLabel: 'Hizkuntzaren Norabidea',
|
||||
langDirRTLLabel: 'Eskumatik Ezkerrera (RTL)',
|
||||
languageCodeInputLabel: 'Hizkuntza Kodea',
|
||||
remove: 'Div-a Kendu',
|
||||
styleSelectLabel: 'Estiloa',
|
||||
title: 'Div Edukiontzia Sortu',
|
||||
toolbar: 'Div Edukiontzia Sortu'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fa.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fa.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fi.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fi.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fo.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fo.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fr-ca.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fr-ca.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fr.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/fr.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'div', 'fr', {
|
||||
IdInputLabel: 'Id',
|
||||
advisoryTitleInputLabel: 'Advisory Title',
|
||||
cssClassInputLabel: 'Classe CSS',
|
||||
edit: 'Éditer la DIV',
|
||||
inlineStyleInputLabel: 'Style en ligne',
|
||||
langDirLTRLabel: 'Gauche à droite (LTR)',
|
||||
langDirLabel: 'Sens d\'écriture',
|
||||
langDirRTLLabel: 'Droite à gauche (RTL)',
|
||||
languageCodeInputLabel: 'Code de langue',
|
||||
remove: 'Enlever la DIV',
|
||||
styleSelectLabel: 'Style',
|
||||
title: 'Créer un container DIV',
|
||||
toolbar: 'Créer un container DIV'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/gl.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/gl.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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',
|
||||
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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/gu.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/gu.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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 કન્ટેનર બનાવુંવું'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/he.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/he.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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)'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/hi.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/hi.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/hr.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/hr.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/hu.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/hu.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/id.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/id.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/is.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/is.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/it.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/it.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ja.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ja.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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コンテナ'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ka.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ka.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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 კონტეინერის შექმნა'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/km.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/km.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ko.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ko.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'div', 'ko', {
|
||||
IdInputLabel: 'ID',
|
||||
advisoryTitleInputLabel: 'Advisory Title',
|
||||
cssClassInputLabel: 'Stylesheet Classes',
|
||||
edit: 'Div 태그 수정',
|
||||
inlineStyleInputLabel: '인라인 스타일',
|
||||
langDirLTRLabel: '왼쪽에서 오른쪽 (LTR)',
|
||||
langDirLabel: '쓰기 방향',
|
||||
langDirRTLLabel: '오른쪽에서 왼쪽 (RTL)',
|
||||
languageCodeInputLabel: '언어 코드',
|
||||
remove: 'Div 태그 삭제',
|
||||
styleSelectLabel: 'Style',
|
||||
title: 'Div 태그 생성',
|
||||
toolbar: 'Div 태그 생성'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ku.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ku.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/lt.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/lt.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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ą'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/lv.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/lv.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/mk.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/mk.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'div', 'mk', {
|
||||
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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/mn.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/mn.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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 гэдэг хэсэг бий болгох'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ms.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ms.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/nb.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/nb.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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 (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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/nl.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/nl.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/no.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/no.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/pl.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/pl.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/pt-br.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/pt-br.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/pt.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/pt.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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 Estilo de Folhas Classes',
|
||||
edit: 'Editar Div',
|
||||
inlineStyleInputLabel: 'Estilho em Linha',
|
||||
langDirLTRLabel: 'Esquerda à Direita (LTR)',
|
||||
langDirLabel: 'Orientação de idioma',
|
||||
langDirRTLLabel: 'Direita a Esquerda (RTL)',
|
||||
languageCodeInputLabel: 'Codigo do Idioma',
|
||||
remove: 'Remover Div',
|
||||
styleSelectLabel: 'Estilo',
|
||||
title: 'Criar Div',
|
||||
toolbar: 'Criar Div'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ro.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ro.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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: 'Edit Div', // MISSING
|
||||
inlineStyleInputLabel: 'Inline Style', // MISSING
|
||||
langDirLTRLabel: 'stânga-dreapta (LTR)',
|
||||
langDirLabel: 'Direcţia cuvintelor',
|
||||
langDirRTLLabel: 'dreapta-stânga (RTL)',
|
||||
languageCodeInputLabel: 'Codul limbii',
|
||||
remove: 'Remove Div', // MISSING
|
||||
styleSelectLabel: 'Stil',
|
||||
title: 'Create Div Container', // MISSING
|
||||
toolbar: 'Create Div Container' // MISSING
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ru.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ru.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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-контейнер'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/si.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/si.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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: 'නිර්මාණය '
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sk.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sk.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sl.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sl.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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: 'Razred stilne predloge',
|
||||
edit: 'Uredi Div',
|
||||
inlineStyleInputLabel: 'Inline Slog',
|
||||
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 Div Posodo',
|
||||
toolbar: 'Ustvari Div Posodo'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sq.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sq.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sr-latn.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sr-latn.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sr.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sr.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sv.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/sv.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/th.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/th.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/tr.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/tr.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ug.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/ug.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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 قاچا قۇر'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/uk.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/uk.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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: 'Створити блок-контейнер'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/vi.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/vi.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/zh-cn.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/zh-cn.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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 容器'
|
||||
} );
|
||||
19
htdocs/includes/ckeditor/_source/plugins/div/lang/zh.js
Normal file
19
htdocs/includes/ckeditor/_source/plugins/div/lang/zh.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright (c) 2003-2014, 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 容器'
|
||||
} );
|
||||
@@ -1,121 +1,129 @@
|
||||
/*
|
||||
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html 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 : [ 'editingblock', 'dialog', 'domiterator', 'styles' ],
|
||||
|
||||
init : function( editor )
|
||||
{
|
||||
var lang = editor.lang.div;
|
||||
|
||||
editor.addCommand( 'creatediv', new CKEDITOR.dialogCommand( 'creatediv' ) );
|
||||
editor.addCommand( 'editdiv', new CKEDITOR.dialogCommand( 'editdiv' ) );
|
||||
editor.addCommand( 'removediv',
|
||||
{
|
||||
exec : function( editor )
|
||||
{
|
||||
var selection = editor.getSelection(),
|
||||
ranges = selection && selection.getRanges(),
|
||||
range,
|
||||
bookmarks = selection.createBookmarks(),
|
||||
walker,
|
||||
toRemove = [];
|
||||
|
||||
function findDiv( node )
|
||||
{
|
||||
var path = new CKEDITOR.dom.elementPath( node ),
|
||||
blockLimit = path.blockLimit,
|
||||
div = blockLimit.is( 'div' ) && blockLimit;
|
||||
|
||||
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( 'CreateDiv',
|
||||
{
|
||||
label : lang.toolbar,
|
||||
command :'creatediv'
|
||||
} );
|
||||
|
||||
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, selection )
|
||||
{
|
||||
if ( !element || element.isReadOnly() )
|
||||
return null;
|
||||
|
||||
var elementPath = new CKEDITOR.dom.elementPath( element ),
|
||||
blockLimit = elementPath.blockLimit;
|
||||
|
||||
if ( blockLimit && blockLimit.getAscendant( 'div', true ) )
|
||||
{
|
||||
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' );
|
||||
}
|
||||
} );
|
||||
})();
|
||||
/**
|
||||
* @license Copyright (c) 2003-2014, 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',
|
||||
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
|
||||
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,
|
||||
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 );
|
||||
}
|
||||
};
|
||||
} )();
|
||||
|
||||
Reference in New Issue
Block a user