diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-01-26 13:57:20 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-01-26 13:57:20 +0100 |
commit | eaa9271590ab73b6eef3fa88bc74a9553eefd857 (patch) | |
tree | 0d1ad40aee85a74d60e24c5175ce43cf0f39e62d /sources/plugins/div | |
parent | cd64262b335d84c1dc18cd1b986712cf7befdefb (diff) | |
download | ludivine-ckeditor-component-eaa9271590ab73b6eef3fa88bc74a9553eefd857.tar.gz ludivine-ckeditor-component-eaa9271590ab73b6eef3fa88bc74a9553eefd857.tar.zst ludivine-ckeditor-component-eaa9271590ab73b6eef3fa88bc74a9553eefd857.zip |
Add audio, color and fonts4.6.2.3
Diffstat (limited to 'sources/plugins/div')
73 files changed, 1875 insertions, 0 deletions
diff --git a/sources/plugins/div/dialogs/div.js b/sources/plugins/div/dialogs/div.js new file mode 100644 index 0000000..140424f --- /dev/null +++ b/sources/plugins/div/dialogs/div.js | |||
@@ -0,0 +1,430 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | ( function() { | ||
7 | |||
8 | // Add to collection with DUP examination. | ||
9 | // @param {Object} collection | ||
10 | // @param {Object} element | ||
11 | // @param {Object} database | ||
12 | function addSafely( collection, element, database ) { | ||
13 | // 1. IE doesn't support customData on text nodes; | ||
14 | // 2. Text nodes never get chance to appear twice; | ||
15 | if ( !element.is || !element.getCustomData( 'block_processed' ) ) { | ||
16 | element.is && CKEDITOR.dom.element.setMarker( database, element, 'block_processed', true ); | ||
17 | collection.push( element ); | ||
18 | } | ||
19 | } | ||
20 | |||
21 | // Dialog reused by both 'creatediv' and 'editdiv' commands. | ||
22 | // @param {Object} editor | ||
23 | // @param {String} command The command name which indicate what the current command is. | ||
24 | function divDialog( editor, command ) { | ||
25 | // Definition of elements at which div operation should stopped. | ||
26 | var divLimitDefinition = ( function() { | ||
27 | |||
28 | // Customzie from specialize blockLimit elements | ||
29 | var definition = CKEDITOR.tools.extend( {}, CKEDITOR.dtd.$blockLimit ); | ||
30 | |||
31 | if ( editor.config.div_wrapTable ) { | ||
32 | delete definition.td; | ||
33 | delete definition.th; | ||
34 | } | ||
35 | return definition; | ||
36 | } )(); | ||
37 | |||
38 | // DTD of 'div' element | ||
39 | var dtd = CKEDITOR.dtd.div; | ||
40 | |||
41 | // Get the first div limit element on the element's path. | ||
42 | // @param {Object} element | ||
43 | function getDivContainer( element ) { | ||
44 | var container = editor.elementPath( element ).blockLimit; | ||
45 | |||
46 | // Never consider read-only (i.e. contenteditable=false) element as | ||
47 | // a first div limit (#11083). | ||
48 | if ( container.isReadOnly() ) | ||
49 | container = container.getParent(); | ||
50 | |||
51 | // Dont stop at 'td' and 'th' when div should wrap entire table. | ||
52 | if ( editor.config.div_wrapTable && container.is( [ 'td', 'th' ] ) ) { | ||
53 | var parentPath = editor.elementPath( container.getParent() ); | ||
54 | container = parentPath.blockLimit; | ||
55 | } | ||
56 | |||
57 | return container; | ||
58 | } | ||
59 | |||
60 | // Init all fields' setup/commit function. | ||
61 | // @memberof divDialog | ||
62 | function setupFields() { | ||
63 | this.foreach( function( field ) { | ||
64 | // Exclude layout container elements | ||
65 | if ( /^(?!vbox|hbox)/.test( field.type ) ) { | ||
66 | if ( !field.setup ) { | ||
67 | // Read the dialog fields values from the specified | ||
68 | // element attributes. | ||
69 | field.setup = function( element ) { | ||
70 | field.setValue( element.getAttribute( field.id ) || '', 1 ); | ||
71 | }; | ||
72 | } | ||
73 | if ( !field.commit ) { | ||
74 | // Set element attributes assigned by the dialog | ||
75 | // fields. | ||
76 | field.commit = function( element ) { | ||
77 | var fieldValue = this.getValue(); | ||
78 | // ignore default element attribute values | ||
79 | if ( field.id == 'dir' && element.getComputedStyle( 'direction' ) == fieldValue ) { | ||
80 | return; | ||
81 | } | ||
82 | |||
83 | if ( fieldValue ) | ||
84 | element.setAttribute( field.id, fieldValue ); | ||
85 | else | ||
86 | element.removeAttribute( field.id ); | ||
87 | }; | ||
88 | } | ||
89 | } | ||
90 | } ); | ||
91 | } | ||
92 | |||
93 | // Wrapping 'div' element around appropriate blocks among the selected ranges. | ||
94 | // @param {Object} editor | ||
95 | function createDiv( editor ) { | ||
96 | // new adding containers OR detected pre-existed containers. | ||
97 | var containers = []; | ||
98 | // node markers store. | ||
99 | var database = {}; | ||
100 | // All block level elements which contained by the ranges. | ||
101 | var containedBlocks = [], | ||
102 | block; | ||
103 | |||
104 | // Get all ranges from the selection. | ||
105 | var selection = editor.getSelection(), | ||
106 | ranges = selection.getRanges(); | ||
107 | var bookmarks = selection.createBookmarks(); | ||
108 | var i, iterator; | ||
109 | |||
110 | // collect all included elements from dom-iterator | ||
111 | for ( i = 0; i < ranges.length; i++ ) { | ||
112 | iterator = ranges[ i ].createIterator(); | ||
113 | while ( ( block = iterator.getNextParagraph() ) ) { | ||
114 | // include contents of blockLimit elements. | ||
115 | if ( block.getName() in divLimitDefinition && !block.isReadOnly() ) { | ||
116 | var j, | ||
117 | childNodes = block.getChildren(); | ||
118 | for ( j = 0; j < childNodes.count(); j++ ) | ||
119 | addSafely( containedBlocks, childNodes.getItem( j ), database ); | ||
120 | } else { | ||
121 | while ( !dtd[ block.getName() ] && !block.equals( ranges[ i ].root ) ) | ||
122 | block = block.getParent(); | ||
123 | addSafely( containedBlocks, block, database ); | ||
124 | } | ||
125 | } | ||
126 | } | ||
127 | |||
128 | CKEDITOR.dom.element.clearAllMarkers( database ); | ||
129 | |||
130 | var blockGroups = groupByDivLimit( containedBlocks ); | ||
131 | var ancestor, divElement; | ||
132 | |||
133 | for ( i = 0; i < blockGroups.length; i++ ) { | ||
134 | var currentNode = blockGroups[ i ][ 0 ]; | ||
135 | |||
136 | // Calculate the common parent node of all contained elements. | ||
137 | ancestor = currentNode.getParent(); | ||
138 | for ( j = 1; j < blockGroups[ i ].length; j++ ) | ||
139 | ancestor = ancestor.getCommonAncestor( blockGroups[ i ][ j ] ); | ||
140 | |||
141 | divElement = new CKEDITOR.dom.element( 'div', editor.document ); | ||
142 | |||
143 | // Normalize the blocks in each group to a common parent. | ||
144 | for ( j = 0; j < blockGroups[ i ].length; j++ ) { | ||
145 | currentNode = blockGroups[ i ][ j ]; | ||
146 | |||
147 | while ( !currentNode.getParent().equals( ancestor ) ) | ||
148 | currentNode = currentNode.getParent(); | ||
149 | |||
150 | // This could introduce some duplicated elements in array. | ||
151 | blockGroups[ i ][ j ] = currentNode; | ||
152 | } | ||
153 | |||
154 | // Wrapped blocks counting | ||
155 | for ( j = 0; j < blockGroups[ i ].length; j++ ) { | ||
156 | currentNode = blockGroups[ i ][ j ]; | ||
157 | |||
158 | // Avoid DUP elements introduced by grouping. | ||
159 | if ( !( currentNode.getCustomData && currentNode.getCustomData( 'block_processed' ) ) ) { | ||
160 | currentNode.is && CKEDITOR.dom.element.setMarker( database, currentNode, 'block_processed', true ); | ||
161 | |||
162 | // Establish new container, wrapping all elements in this group. | ||
163 | if ( !j ) | ||
164 | divElement.insertBefore( currentNode ); | ||
165 | |||
166 | divElement.append( currentNode ); | ||
167 | } | ||
168 | } | ||
169 | |||
170 | CKEDITOR.dom.element.clearAllMarkers( database ); | ||
171 | containers.push( divElement ); | ||
172 | } | ||
173 | |||
174 | selection.selectBookmarks( bookmarks ); | ||
175 | return containers; | ||
176 | } | ||
177 | |||
178 | // Divide a set of nodes to different groups by their path's blocklimit element. | ||
179 | // Note: the specified nodes should be in source order naturally, which mean they are supposed to producea by following class: | ||
180 | // * CKEDITOR.dom.range.Iterator | ||
181 | // * CKEDITOR.dom.domWalker | ||
182 | // @returns {Array[]} the grouped nodes | ||
183 | function groupByDivLimit( nodes ) { | ||
184 | var groups = [], | ||
185 | lastDivLimit = null, | ||
186 | block; | ||
187 | |||
188 | for ( var i = 0; i < nodes.length; i++ ) { | ||
189 | block = nodes[ i ]; | ||
190 | var limit = getDivContainer( block ); | ||
191 | if ( !limit.equals( lastDivLimit ) ) { | ||
192 | lastDivLimit = limit; | ||
193 | groups.push( [] ); | ||
194 | } | ||
195 | groups[ groups.length - 1 ].push( block ); | ||
196 | } | ||
197 | return groups; | ||
198 | } | ||
199 | |||
200 | // Synchronous field values to other impacted fields is required, e.g. div styles | ||
201 | // change should also alter inline-style text. | ||
202 | function commitInternally( targetFields ) { | ||
203 | var dialog = this.getDialog(), | ||
204 | element = dialog._element && dialog._element.clone() || new CKEDITOR.dom.element( 'div', editor.document ); | ||
205 | |||
206 | // Commit this field and broadcast to target fields. | ||
207 | this.commit( element, true ); | ||
208 | |||
209 | targetFields = [].concat( targetFields ); | ||
210 | var length = targetFields.length, | ||
211 | field; | ||
212 | for ( var i = 0; i < length; i++ ) { | ||
213 | field = dialog.getContentElement.apply( dialog, targetFields[ i ].split( ':' ) ); | ||
214 | field && field.setup && field.setup( element, true ); | ||
215 | } | ||
216 | } | ||
217 | |||
218 | |||
219 | // Registered 'CKEDITOR.style' instances. | ||
220 | var styles = {}; | ||
221 | |||
222 | // Hold a collection of created block container elements. | ||
223 | var containers = []; | ||
224 | |||
225 | // @type divDialog | ||
226 | return { | ||
227 | title: editor.lang.div.title, | ||
228 | minWidth: 400, | ||
229 | minHeight: 165, | ||
230 | contents: [ { | ||
231 | id: 'info', | ||
232 | label: editor.lang.common.generalTab, | ||
233 | title: editor.lang.common.generalTab, | ||
234 | elements: [ { | ||
235 | type: 'hbox', | ||
236 | widths: [ '50%', '50%' ], | ||
237 | children: [ { | ||
238 | id: 'elementStyle', | ||
239 | type: 'select', | ||
240 | style: 'width: 100%;', | ||
241 | label: editor.lang.div.styleSelectLabel, | ||
242 | 'default': '', | ||
243 | // Options are loaded dynamically. | ||
244 | items: [ | ||
245 | [ editor.lang.common.notSet, '' ] | ||
246 | ], | ||
247 | onChange: function() { | ||
248 | commitInternally.call( this, [ 'info:elementStyle', 'info:class', 'advanced:dir', 'advanced:style' ] ); | ||
249 | }, | ||
250 | setup: function( element ) { | ||
251 | for ( var name in styles ) | ||
252 | styles[ name ].checkElementRemovable( element, true, editor ) && this.setValue( name, 1 ); | ||
253 | }, | ||
254 | commit: function( element ) { | ||
255 | var styleName; | ||
256 | if ( ( styleName = this.getValue() ) ) { | ||
257 | var style = styles[ styleName ]; | ||
258 | style.applyToObject( element, editor ); | ||
259 | } | ||
260 | else { | ||
261 | element.removeAttribute( 'style' ); | ||
262 | } | ||
263 | } | ||
264 | }, | ||
265 | { | ||
266 | id: 'class', | ||
267 | type: 'text', | ||
268 | requiredContent: 'div(cke-xyz)', // Random text like 'xyz' will check if all are allowed. | ||
269 | label: editor.lang.common.cssClass, | ||
270 | 'default': '' | ||
271 | } ] | ||
272 | } ] | ||
273 | }, | ||
274 | { | ||
275 | id: 'advanced', | ||
276 | label: editor.lang.common.advancedTab, | ||
277 | title: editor.lang.common.advancedTab, | ||
278 | elements: [ { | ||
279 | type: 'vbox', | ||
280 | padding: 1, | ||
281 | children: [ { | ||
282 | type: 'hbox', | ||
283 | widths: [ '50%', '50%' ], | ||
284 | children: [ { | ||
285 | type: 'text', | ||
286 | id: 'id', | ||
287 | requiredContent: 'div[id]', | ||
288 | label: editor.lang.common.id, | ||
289 | 'default': '' | ||
290 | }, | ||
291 | { | ||
292 | type: 'text', | ||
293 | id: 'lang', | ||
294 | requiredContent: 'div[lang]', | ||
295 | label: editor.lang.common.langCode, | ||
296 | 'default': '' | ||
297 | } ] | ||
298 | }, | ||
299 | { | ||
300 | type: 'hbox', | ||
301 | children: [ { | ||
302 | type: 'text', | ||
303 | id: 'style', | ||
304 | requiredContent: 'div{cke-xyz}', // Random text like 'xyz' will check if all are allowed. | ||
305 | style: 'width: 100%;', | ||
306 | label: editor.lang.common.cssStyle, | ||
307 | 'default': '', | ||
308 | commit: function( element ) { | ||
309 | element.setAttribute( 'style', this.getValue() ); | ||
310 | } | ||
311 | } ] | ||
312 | }, | ||
313 | { | ||
314 | type: 'hbox', | ||
315 | children: [ { | ||
316 | type: 'text', | ||
317 | id: 'title', | ||
318 | requiredContent: 'div[title]', | ||
319 | style: 'width: 100%;', | ||
320 | label: editor.lang.common.advisoryTitle, | ||
321 | 'default': '' | ||
322 | } ] | ||
323 | }, | ||
324 | { | ||
325 | type: 'select', | ||
326 | id: 'dir', | ||
327 | requiredContent: 'div[dir]', | ||
328 | style: 'width: 100%;', | ||
329 | label: editor.lang.common.langDir, | ||
330 | 'default': '', | ||
331 | items: [ | ||
332 | [ editor.lang.common.notSet, '' ], | ||
333 | [ editor.lang.common.langDirLtr, 'ltr' ], | ||
334 | [ editor.lang.common.langDirRtl, 'rtl' ] | ||
335 | ] | ||
336 | } ] } | ||
337 | ] | ||
338 | } ], | ||
339 | onLoad: function() { | ||
340 | setupFields.call( this ); | ||
341 | |||
342 | // Preparing for the 'elementStyle' field. | ||
343 | var dialog = this, | ||
344 | stylesField = this.getContentElement( 'info', 'elementStyle' ); | ||
345 | |||
346 | // Reuse the 'stylescombo' plugin's styles definition. | ||
347 | editor.getStylesSet( function( stylesDefinitions ) { | ||
348 | var styleName, style; | ||
349 | |||
350 | if ( stylesDefinitions ) { | ||
351 | // Digg only those styles that apply to 'div'. | ||
352 | for ( var i = 0; i < stylesDefinitions.length; i++ ) { | ||
353 | var styleDefinition = stylesDefinitions[ i ]; | ||
354 | if ( styleDefinition.element && styleDefinition.element == 'div' ) { | ||
355 | styleName = styleDefinition.name; | ||
356 | styles[ styleName ] = style = new CKEDITOR.style( styleDefinition ); | ||
357 | |||
358 | if ( editor.filter.check( style ) ) { | ||
359 | // Populate the styles field options with style name. | ||
360 | stylesField.items.push( [ styleName, styleName ] ); | ||
361 | stylesField.add( styleName, styleName ); | ||
362 | } | ||
363 | } | ||
364 | } | ||
365 | } | ||
366 | |||
367 | // We should disable the content element | ||
368 | // it if no options are available at all. | ||
369 | stylesField[ stylesField.items.length > 1 ? 'enable' : 'disable' ](); | ||
370 | |||
371 | // Now setup the field value manually if dialog was opened on element. (#9689) | ||
372 | setTimeout( function() { | ||
373 | dialog._element && stylesField.setup( dialog._element ); | ||
374 | }, 0 ); | ||
375 | } ); | ||
376 | }, | ||
377 | onShow: function() { | ||
378 | // Whether always create new container regardless of existed | ||
379 | // ones. | ||
380 | if ( command == 'editdiv' ) { | ||
381 | // Try to discover the containers that already existed in | ||
382 | // ranges | ||
383 | // update dialog field values | ||
384 | this.setupContent( this._element = CKEDITOR.plugins.div.getSurroundDiv( editor ) ); | ||
385 | } | ||
386 | }, | ||
387 | onOk: function() { | ||
388 | if ( command == 'editdiv' ) | ||
389 | containers = [ this._element ]; | ||
390 | else | ||
391 | containers = createDiv( editor, true ); | ||
392 | |||
393 | // Update elements attributes | ||
394 | var size = containers.length; | ||
395 | for ( var i = 0; i < size; i++ ) { | ||
396 | this.commitContent( containers[ i ] ); | ||
397 | |||
398 | // Remove empty 'style' attribute. | ||
399 | !containers[ i ].getAttribute( 'style' ) && containers[ i ].removeAttribute( 'style' ); | ||
400 | } | ||
401 | |||
402 | this.hide(); | ||
403 | }, | ||
404 | onHide: function() { | ||
405 | // Remove style only when editing existing DIV. (#6315) | ||
406 | if ( command == 'editdiv' ) | ||
407 | this._element.removeCustomData( 'elementStyle' ); | ||
408 | delete this._element; | ||
409 | } | ||
410 | }; | ||
411 | } | ||
412 | |||
413 | CKEDITOR.dialog.add( 'creatediv', function( editor ) { | ||
414 | return divDialog( editor, 'creatediv' ); | ||
415 | } ); | ||
416 | |||
417 | CKEDITOR.dialog.add( 'editdiv', function( editor ) { | ||
418 | return divDialog( editor, 'editdiv' ); | ||
419 | } ); | ||
420 | |||
421 | } )(); | ||
422 | |||
423 | /** | ||
424 | * Whether to wrap the entire table instead of individual cells when creating a `<div>` in a table cell. | ||
425 | * | ||
426 | * config.div_wrapTable = true; | ||
427 | * | ||
428 | * @cfg {Boolean} [div_wrapTable=false] | ||
429 | * @member CKEDITOR.config | ||
430 | */ | ||
diff --git a/sources/plugins/div/icons/creatediv.png b/sources/plugins/div/icons/creatediv.png new file mode 100644 index 0000000..5c70a49 --- /dev/null +++ b/sources/plugins/div/icons/creatediv.png | |||
Binary files differ | |||
diff --git a/sources/plugins/div/icons/hidpi/creatediv.png b/sources/plugins/div/icons/hidpi/creatediv.png new file mode 100644 index 0000000..eb63fe3 --- /dev/null +++ b/sources/plugins/div/icons/hidpi/creatediv.png | |||
Binary files differ | |||
diff --git a/sources/plugins/div/lang/af.js b/sources/plugins/div/lang/af.js new file mode 100644 index 0000000..b94c49f --- /dev/null +++ b/sources/plugins/div/lang/af.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'af', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Aanbevole Titel', | ||
8 | cssClassInputLabel: 'CSS klasse', | ||
9 | edit: 'Wysig Div', | ||
10 | inlineStyleInputLabel: 'Inlyn Styl', | ||
11 | langDirLTRLabel: 'Links na regs (LTR)', | ||
12 | langDirLabel: 'Skryfrigting', | ||
13 | langDirRTLLabel: 'Regs na links (RTL)', | ||
14 | languageCodeInputLabel: ' Taalkode', | ||
15 | remove: 'Verwyder Div', | ||
16 | styleSelectLabel: 'Styl', | ||
17 | title: 'Skep Div houer', | ||
18 | toolbar: 'Skep Div houer' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ar.js b/sources/plugins/div/lang/ar.js new file mode 100644 index 0000000..b819c27 --- /dev/null +++ b/sources/plugins/div/lang/ar.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ar', { | ||
6 | IdInputLabel: 'هوية', | ||
7 | advisoryTitleInputLabel: 'عنوان التقرير', | ||
8 | cssClassInputLabel: 'فئات التنسيق', | ||
9 | edit: 'تحرير Div', | ||
10 | inlineStyleInputLabel: 'Inline Style', | ||
11 | langDirLTRLabel: 'اليسار لليمين (LTR)', | ||
12 | langDirLabel: 'إتجاه النص', | ||
13 | langDirRTLLabel: 'اليمين لليسار (RTL)', | ||
14 | languageCodeInputLabel: 'رمز اللغة', | ||
15 | remove: 'إزالة Div', | ||
16 | styleSelectLabel: 'نمط', | ||
17 | title: 'إحداث Div Container', | ||
18 | toolbar: 'إحداث Div Container' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/az.js b/sources/plugins/div/lang/az.js new file mode 100644 index 0000000..1c5c835 --- /dev/null +++ b/sources/plugins/div/lang/az.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'az', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Məsləhətli başlıq', | ||
8 | cssClassInputLabel: 'Üslub klassları', | ||
9 | edit: 'DİV eıementini redaktə et', | ||
10 | inlineStyleInputLabel: 'Sözlərin üslubları', | ||
11 | langDirLTRLabel: 'Soldan sağa (LTR)', | ||
12 | langDirLabel: 'Yaziların istiqaməti', | ||
13 | langDirRTLLabel: 'Sağdan sola (RTL)', | ||
14 | languageCodeInputLabel: 'Dilin kodu', | ||
15 | remove: 'DİV elementini sil', | ||
16 | styleSelectLabel: 'Üslub', | ||
17 | title: 'DİV ilə əhatələməni yarat', | ||
18 | toolbar: 'DİV ilə əhatələməni yarat' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/bg.js b/sources/plugins/div/lang/bg.js new file mode 100644 index 0000000..7aad072 --- /dev/null +++ b/sources/plugins/div/lang/bg.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'bg', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: 'Препоръчително заглавие', | ||
8 | cssClassInputLabel: 'Класове за CSS', | ||
9 | edit: 'Промяна на Div', | ||
10 | inlineStyleInputLabel: 'В редица', | ||
11 | langDirLTRLabel: 'Ляво на Дясно (ЛнД)', | ||
12 | langDirLabel: 'Посока на езика', | ||
13 | langDirRTLLabel: 'Дясно на Ляво (ДнЛ)', | ||
14 | languageCodeInputLabel: ' Код на езика', | ||
15 | remove: 'Премахване на Div', | ||
16 | styleSelectLabel: 'Стил', | ||
17 | title: 'Създай Div блок', | ||
18 | toolbar: 'Създаване на Div контейнер' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/bn.js b/sources/plugins/div/lang/bn.js new file mode 100644 index 0000000..340e63e --- /dev/null +++ b/sources/plugins/div/lang/bn.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'bn', { | ||
6 | IdInputLabel: 'Id', // MISSING | ||
7 | advisoryTitleInputLabel: 'Advisory Title', // MISSING | ||
8 | cssClassInputLabel: 'Stylesheet Classes', // MISSING | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Left to Right (LTR)', // MISSING | ||
12 | langDirLabel: 'Language Direction', // MISSING | ||
13 | langDirRTLLabel: 'Right to Left (RTL)', // MISSING | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Style', // MISSING | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/bs.js b/sources/plugins/div/lang/bs.js new file mode 100644 index 0000000..81ca72e --- /dev/null +++ b/sources/plugins/div/lang/bs.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'bs', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Advisory title', | ||
8 | cssClassInputLabel: 'Klase CSS stilova', | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'S lijeva na desno (LTR)', | ||
12 | langDirLabel: 'Smjer pisanja', | ||
13 | langDirRTLLabel: 'S desna na lijevo (RTL)', | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ca.js b/sources/plugins/div/lang/ca.js new file mode 100644 index 0000000..aa99c76 --- /dev/null +++ b/sources/plugins/div/lang/ca.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ca', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Títol de guia', | ||
8 | cssClassInputLabel: 'Classes de la fulla d\'estils', | ||
9 | edit: 'Edita la Capa', | ||
10 | inlineStyleInputLabel: 'Estil en línia', | ||
11 | langDirLTRLabel: 'D\'esquerra a dreta (LTR)', | ||
12 | langDirLabel: 'Direcció de l\'idioma', | ||
13 | langDirRTLLabel: 'De dreta a esquerra (RTL)', | ||
14 | languageCodeInputLabel: ' Codi d\'idioma', | ||
15 | remove: 'Elimina la Capa', | ||
16 | styleSelectLabel: 'Estil', | ||
17 | title: 'Crea una Capa Contenidora', | ||
18 | toolbar: 'Crea una Capa Contenidora' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/cs.js b/sources/plugins/div/lang/cs.js new file mode 100644 index 0000000..1166a3a --- /dev/null +++ b/sources/plugins/div/lang/cs.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'cs', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Nápovědní titulek', | ||
8 | cssClassInputLabel: 'Třídy stylů', | ||
9 | edit: 'Změnit Div', | ||
10 | inlineStyleInputLabel: 'Vnitřní styly', | ||
11 | langDirLTRLabel: 'Zleva doprava (LTR)', | ||
12 | langDirLabel: 'Směr jazyka', | ||
13 | langDirRTLLabel: 'Zprava doleva (RTL)', | ||
14 | languageCodeInputLabel: ' Kód jazyka', | ||
15 | remove: 'Odstranit Div', | ||
16 | styleSelectLabel: 'Styly', | ||
17 | title: 'Vytvořit Div kontejner', | ||
18 | toolbar: 'Vytvořit Div kontejner' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/cy.js b/sources/plugins/div/lang/cy.js new file mode 100644 index 0000000..5e9914e --- /dev/null +++ b/sources/plugins/div/lang/cy.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'cy', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Teitl Cynghorol', | ||
8 | cssClassInputLabel: 'Dosbarthiadau Ffeil Arddull', | ||
9 | edit: 'Golygu Div', | ||
10 | inlineStyleInputLabel: 'Arddull Mewn Llinell', | ||
11 | langDirLTRLabel: 'Chwith i\'r Dde (LTR)', | ||
12 | langDirLabel: 'Cyfeiriad yr Iaith', | ||
13 | langDirRTLLabel: 'Dde i\'r Chwith (RTL)', | ||
14 | languageCodeInputLabel: ' Cod Iaith', | ||
15 | remove: 'Tynnu Div', | ||
16 | styleSelectLabel: 'Arddull', | ||
17 | title: 'Creu Cynhwysydd Div', | ||
18 | toolbar: 'Creu Cynhwysydd Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/da.js b/sources/plugins/div/lang/da.js new file mode 100644 index 0000000..17ae1c0 --- /dev/null +++ b/sources/plugins/div/lang/da.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'da', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Vejledende titel', | ||
8 | cssClassInputLabel: 'Typografiark', | ||
9 | edit: 'Rediger Div', | ||
10 | inlineStyleInputLabel: 'Inline Style', | ||
11 | langDirLTRLabel: 'Venstre til højre (LTR)', | ||
12 | langDirLabel: 'Sprogretning', | ||
13 | langDirRTLLabel: 'Højre til venstre (RTL)', | ||
14 | languageCodeInputLabel: ' Sprogkode', | ||
15 | remove: 'Slet Div', | ||
16 | styleSelectLabel: 'Style', | ||
17 | title: 'Opret Div Container', | ||
18 | toolbar: 'Opret Div Container' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/de-ch.js b/sources/plugins/div/lang/de-ch.js new file mode 100644 index 0000000..77e1df2 --- /dev/null +++ b/sources/plugins/div/lang/de-ch.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'de-ch', { | ||
6 | IdInputLabel: 'Kennung', | ||
7 | advisoryTitleInputLabel: 'Tooltip', | ||
8 | cssClassInputLabel: 'Formatvorlagenklasse', | ||
9 | edit: 'Div bearbeiten', | ||
10 | inlineStyleInputLabel: 'Inline Stil', | ||
11 | langDirLTRLabel: 'Links nach Rechs (LTR)', | ||
12 | langDirLabel: 'Sprachrichtung', | ||
13 | langDirRTLLabel: 'Rechs nach Links (RTL)', | ||
14 | languageCodeInputLabel: 'Sprachcode', | ||
15 | remove: 'Div entfernen', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Div Container erzeugen', | ||
18 | toolbar: 'Div Container erzeugen' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/de.js b/sources/plugins/div/lang/de.js new file mode 100644 index 0000000..5366761 --- /dev/null +++ b/sources/plugins/div/lang/de.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'de', { | ||
6 | IdInputLabel: 'Kennung', | ||
7 | advisoryTitleInputLabel: 'Tooltip', | ||
8 | cssClassInputLabel: 'Formatvorlagenklasse', | ||
9 | edit: 'Div bearbeiten', | ||
10 | inlineStyleInputLabel: 'Inline Stil', | ||
11 | langDirLTRLabel: 'Links nach Rechs (LTR)', | ||
12 | langDirLabel: 'Sprachrichtung', | ||
13 | langDirRTLLabel: 'Rechs nach Links (RTL)', | ||
14 | languageCodeInputLabel: 'Sprachcode', | ||
15 | remove: 'Div entfernen', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Div Container erzeugen', | ||
18 | toolbar: 'Div Container erzeugen' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/el.js b/sources/plugins/div/lang/el.js new file mode 100644 index 0000000..c6668f1 --- /dev/null +++ b/sources/plugins/div/lang/el.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'el', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Ενδεικτικός Τίτλος', | ||
8 | cssClassInputLabel: 'Κλάσεις Φύλλων Στυλ', | ||
9 | edit: 'Επεξεργασία Div', | ||
10 | inlineStyleInputLabel: 'Στυλ Εν Σειρά', | ||
11 | langDirLTRLabel: 'Αριστερά προς Δεξιά (LTR)', | ||
12 | langDirLabel: 'Κατεύθυνση Κειμένου', | ||
13 | langDirRTLLabel: 'Δεξιά προς Αριστερά (RTL)', | ||
14 | languageCodeInputLabel: 'Κωδικός Γλώσσας', | ||
15 | remove: 'Διαγραφή Div', | ||
16 | styleSelectLabel: 'Μορφή', | ||
17 | title: 'Δημιουργία Div', | ||
18 | toolbar: 'Δημιουργία Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/en-au.js b/sources/plugins/div/lang/en-au.js new file mode 100644 index 0000000..88bf31f --- /dev/null +++ b/sources/plugins/div/lang/en-au.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'en-au', { | ||
6 | IdInputLabel: 'Id', // MISSING | ||
7 | advisoryTitleInputLabel: 'Advisory Title', // MISSING | ||
8 | cssClassInputLabel: 'Stylesheet Classes', // MISSING | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Left to Right (LTR)', // MISSING | ||
12 | langDirLabel: 'Language Direction', // MISSING | ||
13 | langDirRTLLabel: 'Right to Left (RTL)', // MISSING | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Style', // MISSING | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/en-ca.js b/sources/plugins/div/lang/en-ca.js new file mode 100644 index 0000000..2236cdd --- /dev/null +++ b/sources/plugins/div/lang/en-ca.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'en-ca', { | ||
6 | IdInputLabel: 'Id', // MISSING | ||
7 | advisoryTitleInputLabel: 'Advisory Title', // MISSING | ||
8 | cssClassInputLabel: 'Stylesheet Classes', // MISSING | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Left to Right (LTR)', // MISSING | ||
12 | langDirLabel: 'Language Direction', // MISSING | ||
13 | langDirRTLLabel: 'Right to Left (RTL)', // MISSING | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Style', // MISSING | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/en-gb.js b/sources/plugins/div/lang/en-gb.js new file mode 100644 index 0000000..cd32c0a --- /dev/null +++ b/sources/plugins/div/lang/en-gb.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'en-gb', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Advisory Title', | ||
8 | cssClassInputLabel: 'Stylesheet Classes', | ||
9 | edit: 'Edit Div', | ||
10 | inlineStyleInputLabel: 'Inline Style', | ||
11 | langDirLTRLabel: 'Left to Right (LTR)', | ||
12 | langDirLabel: 'Language Direction', | ||
13 | langDirRTLLabel: 'Right to Left (RTL)', | ||
14 | languageCodeInputLabel: ' Language Code', | ||
15 | remove: 'Remove Div', | ||
16 | styleSelectLabel: 'Style', | ||
17 | title: 'Create Div Container', | ||
18 | toolbar: 'Create Div Container' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/en.js b/sources/plugins/div/lang/en.js new file mode 100644 index 0000000..5e20956 --- /dev/null +++ b/sources/plugins/div/lang/en.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'en', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Advisory Title', | ||
8 | cssClassInputLabel: 'Stylesheet Classes', | ||
9 | edit: 'Edit Div', | ||
10 | inlineStyleInputLabel: 'Inline Style', | ||
11 | langDirLTRLabel: 'Left to Right (LTR)', | ||
12 | langDirLabel: 'Language Direction', | ||
13 | langDirRTLLabel: 'Right to Left (RTL)', | ||
14 | languageCodeInputLabel: ' Language Code', | ||
15 | remove: 'Remove Div', | ||
16 | styleSelectLabel: 'Style', | ||
17 | title: 'Create Div Container', | ||
18 | toolbar: 'Create Div Container' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/eo.js b/sources/plugins/div/lang/eo.js new file mode 100644 index 0000000..0c4337d --- /dev/null +++ b/sources/plugins/div/lang/eo.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'eo', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Priskriba Titolo', | ||
8 | cssClassInputLabel: 'Stilfolioklasoj', | ||
9 | edit: 'Redakti Div', | ||
10 | inlineStyleInputLabel: 'Enlinia stilo', | ||
11 | langDirLTRLabel: 'Maldekstre dekstren (angle LTR)', | ||
12 | langDirLabel: 'Skribdirekto', | ||
13 | langDirRTLLabel: 'Dekstre maldekstren (angle RTL)', | ||
14 | languageCodeInputLabel: ' Lingvokodo', | ||
15 | remove: 'Forigi Div', | ||
16 | styleSelectLabel: 'Stilo', | ||
17 | title: 'Krei DIV ujon', | ||
18 | toolbar: 'Krei DIV ujon' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/es.js b/sources/plugins/div/lang/es.js new file mode 100644 index 0000000..4e0689d --- /dev/null +++ b/sources/plugins/div/lang/es.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'es', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Título', | ||
8 | cssClassInputLabel: 'Clase de hoja de estilos', | ||
9 | edit: 'Editar Div', | ||
10 | inlineStyleInputLabel: 'Estilo', | ||
11 | langDirLTRLabel: 'Izquierda a Derecha (LTR)', | ||
12 | langDirLabel: 'Orientación', | ||
13 | langDirRTLLabel: 'Derecha a Izquierda (RTL)', | ||
14 | languageCodeInputLabel: ' Codigo de idioma', | ||
15 | remove: 'Quitar Div', | ||
16 | styleSelectLabel: 'Estilo', | ||
17 | title: 'Crear contenedor DIV', | ||
18 | toolbar: 'Crear contenedor DIV' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/et.js b/sources/plugins/div/lang/et.js new file mode 100644 index 0000000..e64dfe1 --- /dev/null +++ b/sources/plugins/div/lang/et.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'et', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: 'Soovitatav pealkiri', | ||
8 | cssClassInputLabel: 'Stiililehe klassid', | ||
9 | edit: 'Muuda Div', | ||
10 | inlineStyleInputLabel: 'Reasisene stiil', | ||
11 | langDirLTRLabel: 'Vasakult paremale (LTR)', | ||
12 | langDirLabel: 'Keele suund', | ||
13 | langDirRTLLabel: 'Paremalt vasakule (RTL)', | ||
14 | languageCodeInputLabel: ' Keelekood', | ||
15 | remove: 'Eemalda Div', | ||
16 | styleSelectLabel: 'Stiil', | ||
17 | title: 'Div-konteineri loomine', | ||
18 | toolbar: 'Div-konteineri loomine' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/eu.js b/sources/plugins/div/lang/eu.js new file mode 100644 index 0000000..0acd765 --- /dev/null +++ b/sources/plugins/div/lang/eu.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'eu', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Aholkatutako izenburua', | ||
8 | cssClassInputLabel: 'Estilo-orriko klaseak', | ||
9 | edit: 'Editatu Div-a', | ||
10 | inlineStyleInputLabel: 'Lineako estiloa', | ||
11 | langDirLTRLabel: 'Ezkerretik eskuinera (LTR)', | ||
12 | langDirLabel: 'Hizkuntzaren norabidea', | ||
13 | langDirRTLLabel: 'Eskuinetik ezkerrera (RTL)', | ||
14 | languageCodeInputLabel: 'Hizkuntzaren kodea', | ||
15 | remove: 'Kendu Div-a', | ||
16 | styleSelectLabel: 'Estiloa', | ||
17 | title: 'Sortu Div edukiontzia', | ||
18 | toolbar: 'Sortu Div edukiontzia' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/fa.js b/sources/plugins/div/lang/fa.js new file mode 100644 index 0000000..52c6131 --- /dev/null +++ b/sources/plugins/div/lang/fa.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'fa', { | ||
6 | IdInputLabel: 'شناسه', | ||
7 | advisoryTitleInputLabel: 'عنوان مشاوره', | ||
8 | cssClassInputLabel: 'کلاسهای شیوهنامه', | ||
9 | edit: 'ویرایش Div', | ||
10 | inlineStyleInputLabel: 'سبک درونخطی(Inline Style)', | ||
11 | langDirLTRLabel: 'چپ به راست (LTR)', | ||
12 | langDirLabel: 'جهت نوشتاری زبان', | ||
13 | langDirRTLLabel: 'راست به چپ (RTL)', | ||
14 | languageCodeInputLabel: ' کد زبان', | ||
15 | remove: 'حذف Div', | ||
16 | styleSelectLabel: 'سبک', | ||
17 | title: 'ایجاد یک محل DIV', | ||
18 | toolbar: 'ایجاد یک محل DIV' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/fi.js b/sources/plugins/div/lang/fi.js new file mode 100644 index 0000000..05fb825 --- /dev/null +++ b/sources/plugins/div/lang/fi.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'fi', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Ohjeistava otsikko', | ||
8 | cssClassInputLabel: 'Tyylitiedoston luokat', | ||
9 | edit: 'Muokkaa Diviä', | ||
10 | inlineStyleInputLabel: 'Sisätyyli', | ||
11 | langDirLTRLabel: 'Vasemmalta oikealle (LTR)', | ||
12 | langDirLabel: 'Kielen suunta', | ||
13 | langDirRTLLabel: 'Oikealta vasemmalle (RTL)', | ||
14 | languageCodeInputLabel: ' Kielen koodi', | ||
15 | remove: 'Poista Div', | ||
16 | styleSelectLabel: 'Tyyli', | ||
17 | title: 'Luo div-kehikko', | ||
18 | toolbar: 'Luo div-kehikko' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/fo.js b/sources/plugins/div/lang/fo.js new file mode 100644 index 0000000..b36c512 --- /dev/null +++ b/sources/plugins/div/lang/fo.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'fo', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Advisory Title', | ||
8 | cssClassInputLabel: 'Stylesheet Classes', | ||
9 | edit: 'Redigera Div', | ||
10 | inlineStyleInputLabel: 'Inline Style', | ||
11 | langDirLTRLabel: 'Vinstru til høgru (LTR)', | ||
12 | langDirLabel: 'Language Direction', | ||
13 | langDirRTLLabel: 'Høgru til vinstru (RTL)', | ||
14 | languageCodeInputLabel: ' Language Code', | ||
15 | remove: 'Strika Div', | ||
16 | styleSelectLabel: 'Style', | ||
17 | title: 'Ger Div Container', | ||
18 | toolbar: 'Ger Div Container' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/fr-ca.js b/sources/plugins/div/lang/fr-ca.js new file mode 100644 index 0000000..3d5bb45 --- /dev/null +++ b/sources/plugins/div/lang/fr-ca.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'fr-ca', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: 'Titre', | ||
8 | cssClassInputLabel: 'Classes CSS', | ||
9 | edit: 'Modifier le DIV', | ||
10 | inlineStyleInputLabel: 'Style en ligne', | ||
11 | langDirLTRLabel: 'De gauche à droite (LTR)', | ||
12 | langDirLabel: 'Sens d\'écriture', | ||
13 | langDirRTLLabel: 'De droite à gauche (RTL)', | ||
14 | languageCodeInputLabel: 'Code de langue', | ||
15 | remove: 'Supprimer le DIV', | ||
16 | styleSelectLabel: 'Style', | ||
17 | title: 'Créer un DIV', | ||
18 | toolbar: 'Créer un DIV' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/fr.js b/sources/plugins/div/lang/fr.js new file mode 100644 index 0000000..ca005db --- /dev/null +++ b/sources/plugins/div/lang/fr.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'fr', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: 'Infobulle', | ||
8 | cssClassInputLabel: 'Classes de style', | ||
9 | edit: 'Modifier la division', | ||
10 | inlineStyleInputLabel: 'Style en ligne', | ||
11 | langDirLTRLabel: 'Gauche à droite (LTR)', | ||
12 | langDirLabel: 'Sens d\'écriture', | ||
13 | langDirRTLLabel: 'Droite à gauche (RTL)', | ||
14 | languageCodeInputLabel: 'Code de langue', | ||
15 | remove: 'Enlever la division', | ||
16 | styleSelectLabel: 'Style', | ||
17 | title: 'Créer une division', | ||
18 | toolbar: 'Créer une division' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/gl.js b/sources/plugins/div/lang/gl.js new file mode 100644 index 0000000..41994d8 --- /dev/null +++ b/sources/plugins/div/lang/gl.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'gl', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: 'Título informativo', | ||
8 | cssClassInputLabel: 'Clases da folla de estilos', | ||
9 | edit: 'Editar Div', | ||
10 | inlineStyleInputLabel: 'Estilo de liña', | ||
11 | langDirLTRLabel: 'Esquerda a dereita (LTR)', | ||
12 | langDirLabel: 'Dirección de escritura do idioma', | ||
13 | langDirRTLLabel: 'Dereita a esquerda (RTL)', | ||
14 | languageCodeInputLabel: 'Código do idioma', | ||
15 | remove: 'Retirar Div', | ||
16 | styleSelectLabel: 'Estilo', | ||
17 | title: 'Crear un contedor Div', | ||
18 | toolbar: 'Crear un contedor Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/gu.js b/sources/plugins/div/lang/gu.js new file mode 100644 index 0000000..c1f6e9f --- /dev/null +++ b/sources/plugins/div/lang/gu.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'gu', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'એડવાઈઝર શીર્ષક', | ||
8 | cssClassInputLabel: 'સ્ટાઈલશીટ કલાસીસ', | ||
9 | edit: 'ડીવીમાં ફેરફાર કરવો', | ||
10 | inlineStyleInputLabel: 'ઈનલાઈન પદ્ધતિ', | ||
11 | langDirLTRLabel: 'ડાબે થી જમણે (LTR)', | ||
12 | langDirLabel: 'ભાષાની દિશા', | ||
13 | langDirRTLLabel: 'જમણે થી ડાબે (RTL)', | ||
14 | languageCodeInputLabel: 'ભાષાનો કોડ', | ||
15 | remove: 'ડીવી કાઢી કાઢવું', | ||
16 | styleSelectLabel: 'સ્ટાઈલ', | ||
17 | title: 'Div કન્ટેનર બનાવુંવું', | ||
18 | toolbar: 'Div કન્ટેનર બનાવુંવું' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/he.js b/sources/plugins/div/lang/he.js new file mode 100644 index 0000000..d08d1c7 --- /dev/null +++ b/sources/plugins/div/lang/he.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'he', { | ||
6 | IdInputLabel: 'מזהה (ID)', | ||
7 | advisoryTitleInputLabel: 'כותרת מוצעת', | ||
8 | cssClassInputLabel: 'מחלקת עיצוב', | ||
9 | edit: 'עריכת מיכל (Div)', | ||
10 | inlineStyleInputLabel: 'סגנון פנימי', | ||
11 | langDirLTRLabel: 'שמאל לימין (LTR)', | ||
12 | langDirLabel: 'כיוון שפה', | ||
13 | langDirRTLLabel: 'ימין לשמאל (RTL)', | ||
14 | languageCodeInputLabel: 'קוד שפה', | ||
15 | remove: 'הסרת מיכל (Div)', | ||
16 | styleSelectLabel: 'סגנון', | ||
17 | title: 'יצירת מיכל (Div)', | ||
18 | toolbar: 'יצירת מיכל (Div)' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/hi.js b/sources/plugins/div/lang/hi.js new file mode 100644 index 0000000..95e49d6 --- /dev/null +++ b/sources/plugins/div/lang/hi.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'hi', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'परामर्श शीर्शक', | ||
8 | cssClassInputLabel: 'स्टाइल-शीट क्लास', | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'बायें से दायें (LTR)', | ||
12 | langDirLabel: 'भाषा लिखने की दिशा', | ||
13 | langDirRTLLabel: 'दायें से बायें (RTL)', | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'स्टाइल', | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/hr.js b/sources/plugins/div/lang/hr.js new file mode 100644 index 0000000..7cefc1e --- /dev/null +++ b/sources/plugins/div/lang/hr.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'hr', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Savjetodavni naslov', | ||
8 | cssClassInputLabel: 'Klase stilova', | ||
9 | edit: 'Uredi DIV', | ||
10 | inlineStyleInputLabel: 'Stil u liniji', | ||
11 | langDirLTRLabel: 'S lijeva na desno (LTR)', | ||
12 | langDirLabel: 'Smjer jezika', | ||
13 | langDirRTLLabel: 'S desna na lijevo (RTL)', | ||
14 | languageCodeInputLabel: 'Jezični kod', | ||
15 | remove: 'Ukloni DIV', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Napravi DIV kontejner', | ||
18 | toolbar: 'Napravi DIV kontejner' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/hu.js b/sources/plugins/div/lang/hu.js new file mode 100644 index 0000000..f678b39 --- /dev/null +++ b/sources/plugins/div/lang/hu.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'hu', { | ||
6 | IdInputLabel: 'Azonosító', | ||
7 | advisoryTitleInputLabel: 'Tipp szöveg', | ||
8 | cssClassInputLabel: 'Stíluslap osztály', | ||
9 | edit: 'DIV szerkesztése', | ||
10 | inlineStyleInputLabel: 'Inline stílus', | ||
11 | langDirLTRLabel: 'Balról jobbra (LTR)', | ||
12 | langDirLabel: 'Nyelvi irány', | ||
13 | langDirRTLLabel: 'Jobbról balra (RTL)', | ||
14 | languageCodeInputLabel: ' Nyelv kódja', | ||
15 | remove: 'DIV eltávolítása', | ||
16 | styleSelectLabel: 'Stílus', | ||
17 | title: 'DIV tároló létrehozása', | ||
18 | toolbar: 'DIV tároló létrehozása' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/id.js b/sources/plugins/div/lang/id.js new file mode 100644 index 0000000..59c0213 --- /dev/null +++ b/sources/plugins/div/lang/id.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'id', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Penasehat Judul', | ||
8 | cssClassInputLabel: 'Kelas Stylesheet', | ||
9 | edit: 'Sunting Div', | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Kiri ke Kanan (LTR)', | ||
12 | langDirLabel: 'Arah Bahasa', | ||
13 | langDirRTLLabel: 'Kanan ke Kiri (RTL)', | ||
14 | languageCodeInputLabel: 'Kode Bahasa', | ||
15 | remove: 'Hapus Div', | ||
16 | styleSelectLabel: 'Gaya', | ||
17 | title: 'Ciptakan Wadah Div', | ||
18 | toolbar: 'Cipatakan Wadah Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/is.js b/sources/plugins/div/lang/is.js new file mode 100644 index 0000000..a7fbe4e --- /dev/null +++ b/sources/plugins/div/lang/is.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'is', { | ||
6 | IdInputLabel: 'Id', // MISSING | ||
7 | advisoryTitleInputLabel: 'Advisory Title', // MISSING | ||
8 | cssClassInputLabel: 'Stylesheet Classes', // MISSING | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Left to Right (LTR)', // MISSING | ||
12 | langDirLabel: 'Language Direction', // MISSING | ||
13 | langDirRTLLabel: 'Right to Left (RTL)', // MISSING | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Style', // MISSING | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/it.js b/sources/plugins/div/lang/it.js new file mode 100644 index 0000000..8fe780a --- /dev/null +++ b/sources/plugins/div/lang/it.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'it', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Titolo Avviso', | ||
8 | cssClassInputLabel: 'Classi di stile', | ||
9 | edit: 'Modifica DIV', | ||
10 | inlineStyleInputLabel: 'Stile Inline', | ||
11 | langDirLTRLabel: 'Da sinistra a destra (LTR)', | ||
12 | langDirLabel: 'Direzione di scrittura', | ||
13 | langDirRTLLabel: 'Da destra a sinistra (RTL)', | ||
14 | languageCodeInputLabel: 'Codice lingua', | ||
15 | remove: 'Rimuovi DIV', | ||
16 | styleSelectLabel: 'Stile', | ||
17 | title: 'Crea DIV contenitore', | ||
18 | toolbar: 'Crea DIV contenitore' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ja.js b/sources/plugins/div/lang/ja.js new file mode 100644 index 0000000..50abe05 --- /dev/null +++ b/sources/plugins/div/lang/ja.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ja', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Title属性', | ||
8 | cssClassInputLabel: 'スタイルシートクラス', | ||
9 | edit: 'Divコンテナを編集', | ||
10 | inlineStyleInputLabel: 'インラインスタイル', | ||
11 | langDirLTRLabel: '左から右 (LTR)', | ||
12 | langDirLabel: '文字表記の方向', | ||
13 | langDirRTLLabel: '右から左 (RTL)', | ||
14 | languageCodeInputLabel: ' 言語コード', | ||
15 | remove: 'Divコンテナを削除', | ||
16 | styleSelectLabel: 'スタイル', | ||
17 | title: 'Divコンテナ', | ||
18 | toolbar: 'Divコンテナ' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ka.js b/sources/plugins/div/lang/ka.js new file mode 100644 index 0000000..99f96a2 --- /dev/null +++ b/sources/plugins/div/lang/ka.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ka', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'სათაური', | ||
8 | cssClassInputLabel: 'CSS კლასები', | ||
9 | edit: 'Div-ის რედაქტირება', | ||
10 | inlineStyleInputLabel: 'თანდართული სტილი', | ||
11 | langDirLTRLabel: 'მარცხნიდან მარჯვნიც (LTR)', | ||
12 | langDirLabel: 'ენის მინართულება', | ||
13 | langDirRTLLabel: 'მარჯვნიდან მარცხნივ (RTL)', | ||
14 | languageCodeInputLabel: 'ენის კოდი', | ||
15 | remove: 'Div-ის წაშლა', | ||
16 | styleSelectLabel: 'სტილი', | ||
17 | title: 'Div კონტეინერის შექმნა', | ||
18 | toolbar: 'Div კონტეინერის შექმნა' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/km.js b/sources/plugins/div/lang/km.js new file mode 100644 index 0000000..6fb10e8 --- /dev/null +++ b/sources/plugins/div/lang/km.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'km', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'ចំណងជើងប្រឹក្សា', | ||
8 | cssClassInputLabel: 'Stylesheet Classes', | ||
9 | edit: 'កែ Div', | ||
10 | inlineStyleInputLabel: 'ស្ទីលក្នុងបន្ទាត់', | ||
11 | langDirLTRLabel: 'ពីឆ្វេងទៅស្តាំ(LTR)', | ||
12 | langDirLabel: 'ទិសដៅភាសា', | ||
13 | langDirRTLLabel: 'ពីស្តាំទៅឆ្វេង(RTL)', | ||
14 | languageCodeInputLabel: 'កូដភាសា', | ||
15 | remove: 'ដក Div ចេញ', | ||
16 | styleSelectLabel: 'ស្ទីល', | ||
17 | title: 'បង្កើតអ្នកផ្ទុក Div', | ||
18 | toolbar: 'បង្កើតអ្នកផ្ទុក Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ko.js b/sources/plugins/div/lang/ko.js new file mode 100644 index 0000000..9834e49 --- /dev/null +++ b/sources/plugins/div/lang/ko.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ko', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: '보조 제목', | ||
8 | cssClassInputLabel: '스타일 시트 클래스', | ||
9 | edit: 'Div 편집', | ||
10 | inlineStyleInputLabel: '인라인 스타일', | ||
11 | langDirLTRLabel: '왼쪽에서 오른쪽 (LTR)', | ||
12 | langDirLabel: '언어 방향', | ||
13 | langDirRTLLabel: '오른쪽에서 왼쪽 (RTL)', | ||
14 | languageCodeInputLabel: ' 언어 코드', | ||
15 | remove: 'Div 태그 삭제', | ||
16 | styleSelectLabel: '스타일', | ||
17 | title: 'Div 태그 생성', | ||
18 | toolbar: 'Div 태그 생성' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ku.js b/sources/plugins/div/lang/ku.js new file mode 100644 index 0000000..8dac0e0 --- /dev/null +++ b/sources/plugins/div/lang/ku.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ku', { | ||
6 | IdInputLabel: 'ناسنامە', | ||
7 | advisoryTitleInputLabel: 'سەردێڕ', | ||
8 | cssClassInputLabel: 'شێوازی چینی پەڕه', | ||
9 | edit: 'چاکسازی Div', | ||
10 | inlineStyleInputLabel: 'شێوازی ناوهێڵ', | ||
11 | langDirLTRLabel: 'چەپ بۆ ڕاست (LTR)', | ||
12 | langDirLabel: 'ئاراستەی زمان', | ||
13 | langDirRTLLabel: 'ڕاست بۆ چەپ (RTL)', | ||
14 | languageCodeInputLabel: 'هێمای زمان', | ||
15 | remove: 'لابردنی Div', | ||
16 | styleSelectLabel: 'شێواز', | ||
17 | title: 'دروستکردنی لەخۆگری Div', | ||
18 | toolbar: 'دروستکردنی لەخۆگری Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/lt.js b/sources/plugins/div/lang/lt.js new file mode 100644 index 0000000..2021ba4 --- /dev/null +++ b/sources/plugins/div/lang/lt.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'lt', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Patariamas pavadinimas', | ||
8 | cssClassInputLabel: 'Stilių klasės', | ||
9 | edit: 'Redaguoti Div', | ||
10 | inlineStyleInputLabel: 'Vidiniai stiliai', | ||
11 | langDirLTRLabel: 'Iš kairės į dešinę (LTR)', | ||
12 | langDirLabel: 'Kalbos nurodymai', | ||
13 | langDirRTLLabel: 'Iš dešinės į kairę (RTL)', | ||
14 | languageCodeInputLabel: ' Kalbos kodas', | ||
15 | remove: 'Pašalinti Div', | ||
16 | styleSelectLabel: 'Stilius', | ||
17 | title: 'Sukurti Div elementą', | ||
18 | toolbar: 'Sukurti Div elementą' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/lv.js b/sources/plugins/div/lang/lv.js new file mode 100644 index 0000000..8b9a4e6 --- /dev/null +++ b/sources/plugins/div/lang/lv.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'lv', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Konsultatīvs virsraksts', | ||
8 | cssClassInputLabel: 'Stilu klases', | ||
9 | edit: 'Labot Div', | ||
10 | inlineStyleInputLabel: 'Iekļautais stils', | ||
11 | langDirLTRLabel: 'Kreisais uz Labo (LTR)', | ||
12 | langDirLabel: 'Valodas virziens', | ||
13 | langDirRTLLabel: 'Labais uz kreiso (RTL)', | ||
14 | languageCodeInputLabel: 'Valodas kods', | ||
15 | remove: 'Noņemt Div', | ||
16 | styleSelectLabel: 'Stils', | ||
17 | title: 'Izveidot div konteineri', | ||
18 | toolbar: 'Izveidot div konteineri' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/mk.js b/sources/plugins/div/lang/mk.js new file mode 100644 index 0000000..6bd25fd --- /dev/null +++ b/sources/plugins/div/lang/mk.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'mk', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Advisory Title', // MISSING | ||
8 | cssClassInputLabel: 'Stylesheet Classes', // MISSING | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Лево кон десно', | ||
12 | langDirLabel: 'Насока на јазик', | ||
13 | langDirRTLLabel: 'Десно кон лево', | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Стил', | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/mn.js b/sources/plugins/div/lang/mn.js new file mode 100644 index 0000000..a15006c --- /dev/null +++ b/sources/plugins/div/lang/mn.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'mn', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Зөвлөлдөх гарчиг', | ||
8 | cssClassInputLabel: 'Stylesheet классууд', | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Зүүн талаас баруун тишээ (LTR)', | ||
12 | langDirLabel: 'Хэлний чиглэл', | ||
13 | langDirRTLLabel: 'Баруун талаас зүүн тишээ (RTL)', | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Загвар', | ||
17 | title: 'Div гэдэг хэсэг бий болгох', | ||
18 | toolbar: 'Div гэдэг хэсэг бий болгох' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ms.js b/sources/plugins/div/lang/ms.js new file mode 100644 index 0000000..7fd95a5 --- /dev/null +++ b/sources/plugins/div/lang/ms.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ms', { | ||
6 | IdInputLabel: 'Id', // MISSING | ||
7 | advisoryTitleInputLabel: 'Advisory Title', // MISSING | ||
8 | cssClassInputLabel: 'Stylesheet Classes', // MISSING | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Left to Right (LTR)', // MISSING | ||
12 | langDirLabel: 'Language Direction', // MISSING | ||
13 | langDirRTLLabel: 'Right to Left (RTL)', // MISSING | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Style', // MISSING | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/nb.js b/sources/plugins/div/lang/nb.js new file mode 100644 index 0000000..c6ff2d6 --- /dev/null +++ b/sources/plugins/div/lang/nb.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'nb', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Tittel', | ||
8 | cssClassInputLabel: 'Stilark-klasser', | ||
9 | edit: 'Rediger Div', | ||
10 | inlineStyleInputLabel: 'Inlinestiler', | ||
11 | langDirLTRLabel: 'Venstre til høyre (LTR)', | ||
12 | langDirLabel: 'Språkretning', | ||
13 | langDirRTLLabel: 'Høyre til venstre (RTL)', | ||
14 | languageCodeInputLabel: ' Språkkode', | ||
15 | remove: 'Fjern Div', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Sett inn Div Container', | ||
18 | toolbar: 'Sett inn Div Container' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/nl.js b/sources/plugins/div/lang/nl.js new file mode 100644 index 0000000..35de4d2 --- /dev/null +++ b/sources/plugins/div/lang/nl.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'nl', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Adviserende titel', | ||
8 | cssClassInputLabel: 'Stylesheet klassen', | ||
9 | edit: 'Div wijzigen', | ||
10 | inlineStyleInputLabel: 'Inline stijl', | ||
11 | langDirLTRLabel: 'Links naar rechts (LTR)', | ||
12 | langDirLabel: 'Schrijfrichting', | ||
13 | langDirRTLLabel: 'Rechts naar links (RTL)', | ||
14 | languageCodeInputLabel: ' Taalcode', | ||
15 | remove: 'Div verwijderen', | ||
16 | styleSelectLabel: 'Stijl', | ||
17 | title: 'Div aanmaken', | ||
18 | toolbar: 'Div aanmaken' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/no.js b/sources/plugins/div/lang/no.js new file mode 100644 index 0000000..db8af0a --- /dev/null +++ b/sources/plugins/div/lang/no.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'no', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Tittel', | ||
8 | cssClassInputLabel: 'Stilark-klasser', | ||
9 | edit: 'Rediger Div', | ||
10 | inlineStyleInputLabel: 'Inlinestiler', | ||
11 | langDirLTRLabel: 'Venstre til høyre (VTH)', | ||
12 | langDirLabel: 'Språkretning', | ||
13 | langDirRTLLabel: 'Høyre til venstre (HTV)', | ||
14 | languageCodeInputLabel: ' Språkkode', | ||
15 | remove: 'Fjern Div', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Sett inn Div Container', | ||
18 | toolbar: 'Sett inn Div Container' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/oc.js b/sources/plugins/div/lang/oc.js new file mode 100644 index 0000000..79d28d4 --- /dev/null +++ b/sources/plugins/div/lang/oc.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'oc', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: 'Infobulla', | ||
8 | cssClassInputLabel: 'Classas d\'estil', | ||
9 | edit: 'Modificar la division', | ||
10 | inlineStyleInputLabel: 'Estil en linha', | ||
11 | langDirLTRLabel: 'Esquèrra a dreita (LTR)', | ||
12 | langDirLabel: 'Sens d\'escritura', | ||
13 | langDirRTLLabel: 'Dreita a esquèrra (RTL)', | ||
14 | languageCodeInputLabel: 'Còdi de lenga', | ||
15 | remove: 'Levar la division', | ||
16 | styleSelectLabel: 'Estil', | ||
17 | title: 'Crear una division', | ||
18 | toolbar: 'Crear una division' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/pl.js b/sources/plugins/div/lang/pl.js new file mode 100644 index 0000000..2d19f4e --- /dev/null +++ b/sources/plugins/div/lang/pl.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'pl', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Opis obiektu docelowego', | ||
8 | cssClassInputLabel: 'Klasy arkusza stylów', | ||
9 | edit: 'Edytuj pojemnik Div', | ||
10 | inlineStyleInputLabel: 'Style liniowe', | ||
11 | langDirLTRLabel: 'Od lewej do prawej (LTR)', | ||
12 | langDirLabel: 'Kierunek tekstu', | ||
13 | langDirRTLLabel: 'Od prawej do lewej (RTL)', | ||
14 | languageCodeInputLabel: 'Kod języka', | ||
15 | remove: 'Usuń pojemnik Div', | ||
16 | styleSelectLabel: 'Styl', | ||
17 | title: 'Utwórz pojemnik Div', | ||
18 | toolbar: 'Utwórz pojemnik Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/pt-br.js b/sources/plugins/div/lang/pt-br.js new file mode 100644 index 0000000..c32ec0f --- /dev/null +++ b/sources/plugins/div/lang/pt-br.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'pt-br', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Título Consulta', | ||
8 | cssClassInputLabel: 'Classes de CSS', | ||
9 | edit: 'Editar Div', | ||
10 | inlineStyleInputLabel: 'Estilo Inline', | ||
11 | langDirLTRLabel: 'Esquerda para Direita (LTR)', | ||
12 | langDirLabel: 'Direção da Escrita', | ||
13 | langDirRTLLabel: 'Direita para Esquerda (RTL)', | ||
14 | languageCodeInputLabel: 'Código de Idioma', | ||
15 | remove: 'Remover Div', | ||
16 | styleSelectLabel: 'Estilo', | ||
17 | title: 'Criar Container de DIV', | ||
18 | toolbar: 'Criar Container de DIV' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/pt.js b/sources/plugins/div/lang/pt.js new file mode 100644 index 0000000..5df020c --- /dev/null +++ b/sources/plugins/div/lang/pt.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'pt', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: 'Título', | ||
8 | cssClassInputLabel: 'Classes de folhas de estilo', | ||
9 | edit: 'Editar Div', | ||
10 | inlineStyleInputLabel: 'Estilho em Linha', | ||
11 | langDirLTRLabel: 'Esquerda para a direita (EPD)', | ||
12 | langDirLabel: 'Orientação de idioma', | ||
13 | langDirRTLLabel: 'Direita para a Esquerda (DPE)', | ||
14 | languageCodeInputLabel: 'Codigo do Idioma', | ||
15 | remove: 'Remover Div', | ||
16 | styleSelectLabel: 'Estilo', | ||
17 | title: 'Criar Div', | ||
18 | toolbar: 'Criar Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ro.js b/sources/plugins/div/lang/ro.js new file mode 100644 index 0000000..974968b --- /dev/null +++ b/sources/plugins/div/lang/ro.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ro', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Titlul consultativ', | ||
8 | cssClassInputLabel: 'Clasele cu stilul paginii (CSS)', | ||
9 | edit: 'Modifică Div-ul', | ||
10 | inlineStyleInputLabel: 'Stil Inline', | ||
11 | langDirLTRLabel: 'stânga-dreapta (LTR)', | ||
12 | langDirLabel: 'Direcţia cuvintelor', | ||
13 | langDirRTLLabel: 'dreapta-stânga (RTL)', | ||
14 | languageCodeInputLabel: 'Codul limbii', | ||
15 | remove: 'Șterge Div-ul', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Crează un container Div', | ||
18 | toolbar: 'Crează un container Div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ru.js b/sources/plugins/div/lang/ru.js new file mode 100644 index 0000000..a087aa8 --- /dev/null +++ b/sources/plugins/div/lang/ru.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ru', { | ||
6 | IdInputLabel: 'Идентификатор', | ||
7 | advisoryTitleInputLabel: 'Заголовок', | ||
8 | cssClassInputLabel: 'Классы CSS', | ||
9 | edit: 'Редактировать контейнер', | ||
10 | inlineStyleInputLabel: 'Стиль элемента', | ||
11 | langDirLTRLabel: 'Слева направо (LTR)', | ||
12 | langDirLabel: 'Направление текста', | ||
13 | langDirRTLLabel: 'Справа налево (RTL)', | ||
14 | languageCodeInputLabel: 'Код языка', | ||
15 | remove: 'Удалить контейнер', | ||
16 | styleSelectLabel: 'Стиль', | ||
17 | title: 'Создать Div-контейнер', | ||
18 | toolbar: 'Создать Div-контейнер' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/si.js b/sources/plugins/div/lang/si.js new file mode 100644 index 0000000..a52d1b5 --- /dev/null +++ b/sources/plugins/div/lang/si.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'si', { | ||
6 | IdInputLabel: 'අංකය', | ||
7 | advisoryTitleInputLabel: 'උපදේශාත්මක නාමය', | ||
8 | cssClassInputLabel: 'විලාසපත්ර පන්තිය', | ||
9 | edit: 'වෙනස්කිරීම', | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'වමේසිට දකුණුට', | ||
12 | langDirLabel: 'භාෂා දිශාව', | ||
13 | langDirRTLLabel: 'දකුණේ සිට වමට', | ||
14 | languageCodeInputLabel: 'භාෂා ', | ||
15 | remove: 'ඉවත් කිරීම', | ||
16 | styleSelectLabel: 'විලාසය', | ||
17 | title: 'නිර්මාණය ', | ||
18 | toolbar: 'නිර්මාණය ' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/sk.js b/sources/plugins/div/lang/sk.js new file mode 100644 index 0000000..3ed9b16 --- /dev/null +++ b/sources/plugins/div/lang/sk.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'sk', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Pomocný titulok', | ||
8 | cssClassInputLabel: 'Triedy štýlu', | ||
9 | edit: 'Upraviť Div', | ||
10 | inlineStyleInputLabel: 'Inline štýl', | ||
11 | langDirLTRLabel: 'Zľava doprava (LTR)', | ||
12 | langDirLabel: 'Smer jazyka', | ||
13 | langDirRTLLabel: 'Zprava doľava (RTL)', | ||
14 | languageCodeInputLabel: 'Kód jazyka', | ||
15 | remove: 'Odstrániť Div', | ||
16 | styleSelectLabel: 'Štýl', | ||
17 | title: 'Vytvoriť Div kontajner', | ||
18 | toolbar: 'Vytvoriť Div kontajner' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/sl.js b/sources/plugins/div/lang/sl.js new file mode 100644 index 0000000..6705699 --- /dev/null +++ b/sources/plugins/div/lang/sl.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'sl', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Predlagani naslov', | ||
8 | cssClassInputLabel: 'Razredi slogovne predloge', | ||
9 | edit: 'Uredi div', | ||
10 | inlineStyleInputLabel: 'Slog v vrstici', | ||
11 | langDirLTRLabel: 'Od leve proti desni (LTR)', | ||
12 | langDirLabel: 'Smer jezika', | ||
13 | langDirRTLLabel: 'Od desne proti levi (RTL)', | ||
14 | languageCodeInputLabel: 'Koda jezika', | ||
15 | remove: 'Odstrani div', | ||
16 | styleSelectLabel: 'Slog', | ||
17 | title: 'Ustvari vsebnik div', | ||
18 | toolbar: 'Ustvari vsebnik div' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/sq.js b/sources/plugins/div/lang/sq.js new file mode 100644 index 0000000..0af405b --- /dev/null +++ b/sources/plugins/div/lang/sq.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'sq', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Titull', | ||
8 | cssClassInputLabel: 'Klasa stili CSS', | ||
9 | edit: 'Redakto Div', | ||
10 | inlineStyleInputLabel: 'Stili i brendshëm', | ||
11 | langDirLTRLabel: 'Nga e majta në të djathë (LTR)', | ||
12 | langDirLabel: 'Drejtim teksti', | ||
13 | langDirRTLLabel: 'Nga e djathta në të majtë (RTL)', | ||
14 | languageCodeInputLabel: 'Kodi i Gjuhës', | ||
15 | remove: 'Largo Div', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Krijo Div Përmbajtës', | ||
18 | toolbar: 'Krijo Div Përmbajtës' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/sr-latn.js b/sources/plugins/div/lang/sr-latn.js new file mode 100644 index 0000000..b576ccb --- /dev/null +++ b/sources/plugins/div/lang/sr-latn.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'sr-latn', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Advisory naslov', | ||
8 | cssClassInputLabel: 'Stylesheet klase', | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'S leva na desno (LTR)', | ||
12 | langDirLabel: 'Smer jezika', | ||
13 | langDirRTLLabel: 'S desna na levo (RTL)', | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/sr.js b/sources/plugins/div/lang/sr.js new file mode 100644 index 0000000..53923da --- /dev/null +++ b/sources/plugins/div/lang/sr.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'sr', { | ||
6 | IdInputLabel: 'Id', // MISSING | ||
7 | advisoryTitleInputLabel: 'Advisory Title', // MISSING | ||
8 | cssClassInputLabel: 'Stylesheet Classes', // MISSING | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'Left to Right (LTR)', // MISSING | ||
12 | langDirLabel: 'Language Direction', // MISSING | ||
13 | langDirRTLLabel: 'Right to Left (RTL)', // MISSING | ||
14 | languageCodeInputLabel: ' Language Code', // MISSING | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Style', // MISSING | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/sv.js b/sources/plugins/div/lang/sv.js new file mode 100644 index 0000000..283632e --- /dev/null +++ b/sources/plugins/div/lang/sv.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'sv', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Rådgivande titel', | ||
8 | cssClassInputLabel: 'Stilmallar', | ||
9 | edit: 'Redigera Div', | ||
10 | inlineStyleInputLabel: 'Inline Style', | ||
11 | langDirLTRLabel: 'Vänster till höger (LTR)', | ||
12 | langDirLabel: 'Språkriktning', | ||
13 | langDirRTLLabel: 'Höger till vänster (RTL)', | ||
14 | languageCodeInputLabel: ' Språkkod', | ||
15 | remove: 'Ta bort Div', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Skapa Div container', | ||
18 | toolbar: 'Skapa Div container' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/th.js b/sources/plugins/div/lang/th.js new file mode 100644 index 0000000..c6265cf --- /dev/null +++ b/sources/plugins/div/lang/th.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'th', { | ||
6 | IdInputLabel: 'ไอดี', | ||
7 | advisoryTitleInputLabel: 'คำเกริ่นนำ', | ||
8 | cssClassInputLabel: 'คลาสของไฟล์กำหนดลักษณะการแสดงผล', | ||
9 | edit: 'แก้ไข Div', | ||
10 | inlineStyleInputLabel: 'Inline Style', // MISSING | ||
11 | langDirLTRLabel: 'จากซ้ายไปขวา (LTR)', | ||
12 | langDirLabel: 'การเขียน-อ่านภาษา', | ||
13 | langDirRTLLabel: 'จากขวามาซ้าย (RTL)', | ||
14 | languageCodeInputLabel: 'รหัสภาษา', | ||
15 | remove: 'ลบ Div', | ||
16 | styleSelectLabel: 'ลักษณะการแสดงผล', | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/tr.js b/sources/plugins/div/lang/tr.js new file mode 100644 index 0000000..aec64c4 --- /dev/null +++ b/sources/plugins/div/lang/tr.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'tr', { | ||
6 | IdInputLabel: 'Id', | ||
7 | advisoryTitleInputLabel: 'Tavsiye Başlığı', | ||
8 | cssClassInputLabel: 'Stilltipi Sınıfı', | ||
9 | edit: 'Div Düzenle', | ||
10 | inlineStyleInputLabel: 'Inline Stili', | ||
11 | langDirLTRLabel: 'Soldan sağa (LTR)', | ||
12 | langDirLabel: 'Dil Yönü', | ||
13 | langDirRTLLabel: 'Sağdan sola (RTL)', | ||
14 | languageCodeInputLabel: ' Dil Kodu', | ||
15 | remove: 'Div Kaldır', | ||
16 | styleSelectLabel: 'Stil', | ||
17 | title: 'Div İçeriği Oluştur', | ||
18 | toolbar: 'Div İçeriği Oluştur' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/tt.js b/sources/plugins/div/lang/tt.js new file mode 100644 index 0000000..b479ce5 --- /dev/null +++ b/sources/plugins/div/lang/tt.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'tt', { | ||
6 | IdInputLabel: 'Идентификатор', | ||
7 | advisoryTitleInputLabel: 'Киңәш исем', | ||
8 | cssClassInputLabel: 'Стильләр класслары', | ||
9 | edit: 'Edit Div', // MISSING | ||
10 | inlineStyleInputLabel: 'Эчке стиль', | ||
11 | langDirLTRLabel: 'Сулдан уңга язылыш (LTR)', | ||
12 | langDirLabel: 'Язылыш юнəлеше', | ||
13 | langDirRTLLabel: 'Уңнан сулга язылыш (RTL)', | ||
14 | languageCodeInputLabel: 'Тел коды', | ||
15 | remove: 'Remove Div', // MISSING | ||
16 | styleSelectLabel: 'Стиль', | ||
17 | title: 'Create Div Container', // MISSING | ||
18 | toolbar: 'Create Div Container' // MISSING | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/ug.js b/sources/plugins/div/lang/ug.js new file mode 100644 index 0000000..d0bb2a9 --- /dev/null +++ b/sources/plugins/div/lang/ug.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'ug', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: 'ماۋزۇ', | ||
8 | cssClassInputLabel: 'ئۇسلۇب تىپىنىڭ ئاتى', | ||
9 | edit: 'DIV تەھرىر', | ||
10 | inlineStyleInputLabel: 'قۇر ئىچىدىكى ئۇسلۇبى', | ||
11 | langDirLTRLabel: 'سولدىن ئوڭغا (LTR)', | ||
12 | langDirLabel: 'تىل يۆنىلىشى', | ||
13 | langDirRTLLabel: 'ئوڭدىن سولغا (RTL)', | ||
14 | languageCodeInputLabel: 'تىل كودى', | ||
15 | remove: 'DIV چىقىرىۋەت', | ||
16 | styleSelectLabel: 'ئۇسلۇب', | ||
17 | title: 'DIV قاچا قۇر', | ||
18 | toolbar: 'DIV قاچا قۇر' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/uk.js b/sources/plugins/div/lang/uk.js new file mode 100644 index 0000000..543e701 --- /dev/null +++ b/sources/plugins/div/lang/uk.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'uk', { | ||
6 | IdInputLabel: 'Ідентифікатор', | ||
7 | advisoryTitleInputLabel: 'Зміст випливаючої підказки', | ||
8 | cssClassInputLabel: 'Клас CSS', | ||
9 | edit: 'Редагувати блок', | ||
10 | inlineStyleInputLabel: 'Вписаний стиль', | ||
11 | langDirLTRLabel: 'Зліва направо (LTR)', | ||
12 | langDirLabel: 'Напрямок мови', | ||
13 | langDirRTLLabel: 'Справа наліво (RTL)', | ||
14 | languageCodeInputLabel: 'Код мови', | ||
15 | remove: 'Видалити блок', | ||
16 | styleSelectLabel: 'Стиль CSS', | ||
17 | title: 'Створити блок-контейнер', | ||
18 | toolbar: 'Створити блок-контейнер' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/vi.js b/sources/plugins/div/lang/vi.js new file mode 100644 index 0000000..23abf38 --- /dev/null +++ b/sources/plugins/div/lang/vi.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'vi', { | ||
6 | IdInputLabel: 'Định danh (id)', | ||
7 | advisoryTitleInputLabel: 'Nhan đề hướng dẫn', | ||
8 | cssClassInputLabel: 'Các lớp CSS', | ||
9 | edit: 'Chỉnh sửa', | ||
10 | inlineStyleInputLabel: 'Kiểu nội dòng', | ||
11 | langDirLTRLabel: 'Trái sang phải (LTR)', | ||
12 | langDirLabel: 'Hướng ngôn ngữ', | ||
13 | langDirRTLLabel: 'Phải qua trái (RTL)', | ||
14 | languageCodeInputLabel: 'Mã ngôn ngữ', | ||
15 | remove: 'Xóa bỏ', | ||
16 | styleSelectLabel: 'Kiểu (style)', | ||
17 | title: 'Tạo khối các thành phần', | ||
18 | toolbar: 'Tạo khối các thành phần' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/zh-cn.js b/sources/plugins/div/lang/zh-cn.js new file mode 100644 index 0000000..5b89a6f --- /dev/null +++ b/sources/plugins/div/lang/zh-cn.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'zh-cn', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: '标题', | ||
8 | cssClassInputLabel: '样式类名称', | ||
9 | edit: '编辑 DIV', | ||
10 | inlineStyleInputLabel: '行内样式', | ||
11 | langDirLTRLabel: '从左到右 (LTR)', | ||
12 | langDirLabel: '语言方向', | ||
13 | langDirRTLLabel: '从右到左 (RTL)', | ||
14 | languageCodeInputLabel: '语言代码', | ||
15 | remove: '移除 DIV', | ||
16 | styleSelectLabel: '样式', | ||
17 | title: '创建 DIV 容器', | ||
18 | toolbar: '创建 DIV 容器' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/lang/zh.js b/sources/plugins/div/lang/zh.js new file mode 100644 index 0000000..0c8823d --- /dev/null +++ b/sources/plugins/div/lang/zh.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'div', 'zh', { | ||
6 | IdInputLabel: 'ID', | ||
7 | advisoryTitleInputLabel: '標題', | ||
8 | cssClassInputLabel: '樣式表類別', | ||
9 | edit: '編輯 Div', | ||
10 | inlineStyleInputLabel: '行內樣式', | ||
11 | langDirLTRLabel: '由左至右 (LTR)', | ||
12 | langDirLabel: '語言方向', | ||
13 | langDirRTLLabel: '由右至左 (RTL)', | ||
14 | languageCodeInputLabel: '語言碼', | ||
15 | remove: '移除 Div', | ||
16 | styleSelectLabel: '樣式', | ||
17 | title: '建立 Div 容器', | ||
18 | toolbar: '建立 Div 容器' | ||
19 | } ); | ||
diff --git a/sources/plugins/div/plugin.js b/sources/plugins/div/plugin.js new file mode 100644 index 0000000..dbced72 --- /dev/null +++ b/sources/plugins/div/plugin.js | |||
@@ -0,0 +1,134 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | /** | ||
7 | * @fileOverview The "div" plugin. It wraps the selected block level elements with a 'div' element with specified styles and attributes. | ||
8 | * | ||
9 | */ | ||
10 | |||
11 | ( function() { | ||
12 | CKEDITOR.plugins.add( 'div', { | ||
13 | requires: 'dialog', | ||
14 | // jscs:disable maximumLineLength | ||
15 | lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% | ||
16 | // jscs:enable maximumLineLength | ||
17 | icons: 'creatediv', // %REMOVE_LINE_CORE% | ||
18 | hidpi: true, // %REMOVE_LINE_CORE% | ||
19 | init: function( editor ) { | ||
20 | if ( editor.blockless ) | ||
21 | return; | ||
22 | |||
23 | var lang = editor.lang.div, | ||
24 | allowed = 'div(*)'; | ||
25 | |||
26 | if ( CKEDITOR.dialog.isTabEnabled( editor, 'editdiv', 'advanced' ) ) | ||
27 | allowed += ';div[dir,id,lang,title]{*}'; | ||
28 | |||
29 | editor.addCommand( 'creatediv', new CKEDITOR.dialogCommand( 'creatediv', { | ||
30 | allowedContent: allowed, | ||
31 | requiredContent: 'div', | ||
32 | contextSensitive: true, | ||
33 | contentTransformations: [ | ||
34 | [ 'div: alignmentToStyle' ] | ||
35 | ], | ||
36 | refresh: function( editor, path ) { | ||
37 | var context = editor.config.div_wrapTable ? path.root : path.blockLimit; | ||
38 | this.setState( 'div' in context.getDtd() ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED ); | ||
39 | } | ||
40 | } ) ); | ||
41 | |||
42 | editor.addCommand( 'editdiv', new CKEDITOR.dialogCommand( 'editdiv', { requiredContent: 'div' } ) ); | ||
43 | editor.addCommand( 'removediv', { | ||
44 | requiredContent: 'div', | ||
45 | exec: function( editor ) { | ||
46 | var selection = editor.getSelection(), | ||
47 | ranges = selection && selection.getRanges(), | ||
48 | range, | ||
49 | bookmarks = selection.createBookmarks(), | ||
50 | walker, | ||
51 | toRemove = []; | ||
52 | |||
53 | function findDiv( node ) { | ||
54 | var div = CKEDITOR.plugins.div.getSurroundDiv( editor, node ); | ||
55 | if ( div && !div.data( 'cke-div-added' ) ) { | ||
56 | toRemove.push( div ); | ||
57 | div.data( 'cke-div-added' ); | ||
58 | } | ||
59 | } | ||
60 | |||
61 | for ( var i = 0; i < ranges.length; i++ ) { | ||
62 | range = ranges[ i ]; | ||
63 | if ( range.collapsed ) | ||
64 | findDiv( selection.getStartElement() ); | ||
65 | else { | ||
66 | walker = new CKEDITOR.dom.walker( range ); | ||
67 | walker.evaluator = findDiv; | ||
68 | walker.lastForward(); | ||
69 | } | ||
70 | } | ||
71 | |||
72 | for ( i = 0; i < toRemove.length; i++ ) | ||
73 | toRemove[ i ].remove( true ); | ||
74 | |||
75 | selection.selectBookmarks( bookmarks ); | ||
76 | } | ||
77 | } ); | ||
78 | |||
79 | editor.ui.addButton && editor.ui.addButton( 'CreateDiv', { | ||
80 | label: lang.toolbar, | ||
81 | command: 'creatediv', | ||
82 | toolbar: 'blocks,50' | ||
83 | } ); | ||
84 | |||
85 | if ( editor.addMenuItems ) { | ||
86 | editor.addMenuItems( { | ||
87 | editdiv: { | ||
88 | label: lang.edit, | ||
89 | command: 'editdiv', | ||
90 | group: 'div', | ||
91 | order: 1 | ||
92 | }, | ||
93 | |||
94 | removediv: { | ||
95 | label: lang.remove, | ||
96 | command: 'removediv', | ||
97 | group: 'div', | ||
98 | order: 5 | ||
99 | } | ||
100 | } ); | ||
101 | |||
102 | if ( editor.contextMenu ) { | ||
103 | editor.contextMenu.addListener( function( element ) { | ||
104 | if ( !element || element.isReadOnly() ) | ||
105 | return null; | ||
106 | |||
107 | |||
108 | if ( CKEDITOR.plugins.div.getSurroundDiv( editor ) ) { | ||
109 | return { | ||
110 | editdiv: CKEDITOR.TRISTATE_OFF, | ||
111 | removediv: CKEDITOR.TRISTATE_OFF | ||
112 | }; | ||
113 | } | ||
114 | |||
115 | return null; | ||
116 | } ); | ||
117 | } | ||
118 | } | ||
119 | |||
120 | CKEDITOR.dialog.add( 'creatediv', this.path + 'dialogs/div.js' ); | ||
121 | CKEDITOR.dialog.add( 'editdiv', this.path + 'dialogs/div.js' ); | ||
122 | } | ||
123 | } ); | ||
124 | |||
125 | CKEDITOR.plugins.div = { | ||
126 | getSurroundDiv: function( editor, start ) { | ||
127 | var path = editor.elementPath( start ); | ||
128 | return editor.elementPath( path.blockLimit ).contains( function( node ) { | ||
129 | // Avoid read-only (i.e. contenteditable="false") divs (#11083). | ||
130 | return node.is( 'div' ) && !node.isReadOnly(); | ||
131 | }, 1 ); | ||
132 | } | ||
133 | }; | ||
134 | } )(); | ||