first commit
192
lib/ckeditor4/plugins/smiley/dialogs/smiley.js
Executable file
@@ -0,0 +1,192 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.dialog.add( 'smiley', function( editor ) {
|
||||
var config = editor.config,
|
||||
lang = editor.lang.smiley,
|
||||
images = config.smiley_images,
|
||||
columns = config.smiley_columns || 8,
|
||||
i;
|
||||
|
||||
// Simulate "this" of a dialog for non-dialog events.
|
||||
// @type {CKEDITOR.dialog}
|
||||
var dialog;
|
||||
var onClick = function( evt ) {
|
||||
var target = evt.data.getTarget(),
|
||||
targetName = target.getName();
|
||||
|
||||
if ( targetName == 'a' )
|
||||
target = target.getChild( 0 );
|
||||
else if ( targetName != 'img' )
|
||||
return;
|
||||
|
||||
var src = target.getAttribute( 'cke_src' ),
|
||||
title = target.getAttribute( 'title' );
|
||||
|
||||
var img = editor.document.createElement( 'img', {
|
||||
attributes: {
|
||||
src: src,
|
||||
'data-cke-saved-src': src,
|
||||
title: title,
|
||||
alt: title,
|
||||
width: target.$.width,
|
||||
height: target.$.height
|
||||
}
|
||||
});
|
||||
|
||||
editor.insertElement( img );
|
||||
|
||||
dialog.hide();
|
||||
evt.data.preventDefault();
|
||||
};
|
||||
|
||||
var onKeydown = CKEDITOR.tools.addFunction( function( ev, element ) {
|
||||
ev = new CKEDITOR.dom.event( ev );
|
||||
element = new CKEDITOR.dom.element( element );
|
||||
var relative, nodeToMove;
|
||||
|
||||
var keystroke = ev.getKeystroke(),
|
||||
rtl = editor.lang.dir == 'rtl';
|
||||
switch ( keystroke ) {
|
||||
// UP-ARROW
|
||||
case 38:
|
||||
// relative is TR
|
||||
if ( ( relative = element.getParent().getParent().getPrevious() ) ) {
|
||||
nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] );
|
||||
nodeToMove.focus();
|
||||
}
|
||||
ev.preventDefault();
|
||||
break;
|
||||
// DOWN-ARROW
|
||||
case 40:
|
||||
// relative is TR
|
||||
if ( ( relative = element.getParent().getParent().getNext() ) ) {
|
||||
nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] );
|
||||
if ( nodeToMove )
|
||||
nodeToMove.focus();
|
||||
}
|
||||
ev.preventDefault();
|
||||
break;
|
||||
// ENTER
|
||||
// SPACE
|
||||
case 32:
|
||||
onClick({ data: ev } );
|
||||
ev.preventDefault();
|
||||
break;
|
||||
|
||||
// RIGHT-ARROW
|
||||
case rtl ? 37:
|
||||
39 :
|
||||
// relative is TD
|
||||
if ( ( relative = element.getParent().getNext() ) ) {
|
||||
nodeToMove = relative.getChild( 0 );
|
||||
nodeToMove.focus();
|
||||
ev.preventDefault( true );
|
||||
}
|
||||
// relative is TR
|
||||
else if ( ( relative = element.getParent().getParent().getNext() ) ) {
|
||||
nodeToMove = relative.getChild( [ 0, 0 ] );
|
||||
if ( nodeToMove )
|
||||
nodeToMove.focus();
|
||||
ev.preventDefault( true );
|
||||
}
|
||||
break;
|
||||
|
||||
// LEFT-ARROW
|
||||
case rtl ? 39:
|
||||
37 :
|
||||
// relative is TD
|
||||
if ( ( relative = element.getParent().getPrevious() ) ) {
|
||||
nodeToMove = relative.getChild( 0 );
|
||||
nodeToMove.focus();
|
||||
ev.preventDefault( true );
|
||||
}
|
||||
// relative is TR
|
||||
else if ( ( relative = element.getParent().getParent().getPrevious() ) ) {
|
||||
nodeToMove = relative.getLast().getChild( 0 );
|
||||
nodeToMove.focus();
|
||||
ev.preventDefault( true );
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// Do not stop not handled events.
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
// Build the HTML for the smiley images table.
|
||||
var labelId = CKEDITOR.tools.getNextId() + '_smiley_emtions_label';
|
||||
var html = [
|
||||
'<div>' +
|
||||
'<span id="' + labelId + '" class="cke_voice_label">' + lang.options + '</span>',
|
||||
'<table role="listbox" aria-labelledby="' + labelId + '" style="width:100%;height:100%;border-collapse:separate;" cellspacing="2" cellpadding="2"',
|
||||
CKEDITOR.env.ie && CKEDITOR.env.quirks ? ' style="position:absolute;"' : '',
|
||||
'><tbody>'
|
||||
];
|
||||
|
||||
var size = images.length;
|
||||
for ( i = 0; i < size; i++ ) {
|
||||
if ( i % columns === 0 )
|
||||
html.push( '<tr role="presentation">' );
|
||||
|
||||
var smileyLabelId = 'cke_smile_label_' + i + '_' + CKEDITOR.tools.getNextNumber();
|
||||
html.push( '<td class="cke_dark_background cke_centered" style="vertical-align: middle;" role="presentation">' +
|
||||
'<a href="javascript:void(0)" role="option"', ' aria-posinset="' + ( i + 1 ) + '"', ' aria-setsize="' + size + '"', ' aria-labelledby="' + smileyLabelId + '"', ' class="cke_smile cke_hand" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ', onKeydown, ', event, this );">', '<img class="cke_hand" title="', config.smiley_descriptions[ i ], '"' +
|
||||
' cke_src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '" alt="', config.smiley_descriptions[ i ], '"', ' src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"',
|
||||
// IE BUG: Below is a workaround to an IE image loading bug to ensure the image sizes are correct.
|
||||
( CKEDITOR.env.ie ? ' onload="this.setAttribute(\'width\', 2); this.removeAttribute(\'width\');" ' : '' ), '>' +
|
||||
'<span id="' + smileyLabelId + '" class="cke_voice_label">' + config.smiley_descriptions[ i ] + '</span>' +
|
||||
'</a>', '</td>' );
|
||||
|
||||
if ( i % columns == columns - 1 )
|
||||
html.push( '</tr>' );
|
||||
}
|
||||
|
||||
if ( i < columns - 1 ) {
|
||||
for ( ; i < columns - 1; i++ )
|
||||
html.push( '<td></td>' );
|
||||
html.push( '</tr>' );
|
||||
}
|
||||
|
||||
html.push( '</tbody></table></div>' );
|
||||
|
||||
var smileySelector = {
|
||||
type: 'html',
|
||||
id: 'smileySelector',
|
||||
html: html.join( '' ),
|
||||
onLoad: function( event ) {
|
||||
dialog = event.sender;
|
||||
},
|
||||
focus: function() {
|
||||
var self = this;
|
||||
// IE need a while to move the focus (#6539).
|
||||
setTimeout( function() {
|
||||
var firstSmile = self.getElement().getElementsByTag( 'a' ).getItem( 0 );
|
||||
firstSmile.focus();
|
||||
}, 0 );
|
||||
},
|
||||
onClick: onClick,
|
||||
style: 'width: 100%; border-collapse: separate;'
|
||||
};
|
||||
|
||||
return {
|
||||
title: editor.lang.smiley.title,
|
||||
minWidth: 270,
|
||||
minHeight: 120,
|
||||
contents: [
|
||||
{
|
||||
id: 'tab1',
|
||||
label: '',
|
||||
title: '',
|
||||
expand: true,
|
||||
padding: 0,
|
||||
elements: [
|
||||
smileySelector
|
||||
]
|
||||
}
|
||||
],
|
||||
buttons: [ CKEDITOR.dialog.cancelButton ]
|
||||
};
|
||||
});
|
||||
BIN
lib/ckeditor4/plugins/smiley/icons/hidpi/smiley.png
Executable file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
lib/ckeditor4/plugins/smiley/icons/smiley.png
Executable file
|
After Width: | Height: | Size: 916 B |
BIN
lib/ckeditor4/plugins/smiley/images/angel_smile.gif
Executable file
|
After Width: | Height: | Size: 465 B |
BIN
lib/ckeditor4/plugins/smiley/images/angry_smile.gif
Executable file
|
After Width: | Height: | Size: 443 B |
BIN
lib/ckeditor4/plugins/smiley/images/broken_heart.gif
Executable file
|
After Width: | Height: | Size: 192 B |
BIN
lib/ckeditor4/plugins/smiley/images/confused_smile.gif
Executable file
|
After Width: | Height: | Size: 464 B |
BIN
lib/ckeditor4/plugins/smiley/images/cry_smile.gif
Executable file
|
After Width: | Height: | Size: 468 B |
BIN
lib/ckeditor4/plugins/smiley/images/devil_smile.gif
Executable file
|
After Width: | Height: | Size: 436 B |
BIN
lib/ckeditor4/plugins/smiley/images/embaressed_smile.gif
Executable file
|
After Width: | Height: | Size: 442 B |
BIN
lib/ckeditor4/plugins/smiley/images/embarrassed_smile.gif
Executable file
|
After Width: | Height: | Size: 442 B |
BIN
lib/ckeditor4/plugins/smiley/images/envelope.gif
Executable file
|
After Width: | Height: | Size: 426 B |
BIN
lib/ckeditor4/plugins/smiley/images/heart.gif
Executable file
|
After Width: | Height: | Size: 183 B |
BIN
lib/ckeditor4/plugins/smiley/images/kiss.gif
Executable file
|
After Width: | Height: | Size: 241 B |
BIN
lib/ckeditor4/plugins/smiley/images/lightbulb.gif
Executable file
|
After Width: | Height: | Size: 368 B |
BIN
lib/ckeditor4/plugins/smiley/images/omg_smile.gif
Executable file
|
After Width: | Height: | Size: 451 B |
BIN
lib/ckeditor4/plugins/smiley/images/regular_smile.gif
Executable file
|
After Width: | Height: | Size: 450 B |
BIN
lib/ckeditor4/plugins/smiley/images/sad_smile.gif
Executable file
|
After Width: | Height: | Size: 460 B |
BIN
lib/ckeditor4/plugins/smiley/images/shades_smile.gif
Executable file
|
After Width: | Height: | Size: 449 B |
BIN
lib/ckeditor4/plugins/smiley/images/teeth_smile.gif
Executable file
|
After Width: | Height: | Size: 442 B |
BIN
lib/ckeditor4/plugins/smiley/images/thumbs_down.gif
Executable file
|
After Width: | Height: | Size: 408 B |
BIN
lib/ckeditor4/plugins/smiley/images/thumbs_up.gif
Executable file
|
After Width: | Height: | Size: 396 B |
BIN
lib/ckeditor4/plugins/smiley/images/tongue_smile.gif
Executable file
|
After Width: | Height: | Size: 446 B |
BIN
lib/ckeditor4/plugins/smiley/images/tounge_smile.gif
Executable file
|
After Width: | Height: | Size: 446 B |
BIN
lib/ckeditor4/plugins/smiley/images/whatchutalkingabout_smile.gif
Executable file
|
After Width: | Height: | Size: 452 B |
BIN
lib/ckeditor4/plugins/smiley/images/wink_smile.gif
Executable file
|
After Width: | Height: | Size: 458 B |
9
lib/ckeditor4/plugins/smiley/lang/af.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'af', {
|
||||
options: 'Lagbekkie opsies',
|
||||
title: 'Voeg lagbekkie by',
|
||||
toolbar: 'Lagbekkie'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ar.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ar', {
|
||||
options: 'خصائص الإبتسامات',
|
||||
title: 'إدراج ابتسامات',
|
||||
toolbar: 'ابتسامات'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/bg.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'bg', {
|
||||
options: 'Опции за усмивката',
|
||||
title: 'Вмъкване на усмивка',
|
||||
toolbar: 'Усмивка'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/bn.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'bn', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'স্মাইলী যুক্ত কর',
|
||||
toolbar: 'স্মাইলী'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/bs.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'bs', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Ubaci smješka',
|
||||
toolbar: 'Smješko'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ca.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ca', {
|
||||
options: 'Opcions d\'emoticones',
|
||||
title: 'Insereix una icona',
|
||||
toolbar: 'Icona'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/cs.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'cs', {
|
||||
options: 'Nastavení smajlíků',
|
||||
title: 'Vkládání smajlíků',
|
||||
toolbar: 'Smajlíci'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/cy.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'cy', {
|
||||
options: 'Opsiynau Gwenogluniau',
|
||||
title: 'Mewnosod Gwenoglun',
|
||||
toolbar: 'Gwenoglun'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/da.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'da', {
|
||||
options: 'Smileymuligheder',
|
||||
title: 'Vælg smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/de.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'de', {
|
||||
options: 'Smiley Optionen',
|
||||
title: 'Smiley auswählen',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/el.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'el', {
|
||||
options: 'Επιλογές Smiley',
|
||||
title: 'Επιλέξτε ένα Smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/en-au.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'en-au', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Insert a Smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/en-ca.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'en-ca', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Insert a Smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/en-gb.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'en-gb', {
|
||||
options: 'Smiley Options',
|
||||
title: 'Insert a Smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/en.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'en', {
|
||||
options: 'Smiley Options',
|
||||
title: 'Insert a Smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/eo.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'eo', {
|
||||
options: 'Opcioj pri mienvinjetoj',
|
||||
title: 'Enmeti Mienvinjeton',
|
||||
toolbar: 'Mienvinjeto'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/es.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'es', {
|
||||
options: 'Opciones de emoticonos',
|
||||
title: 'Insertar un Emoticon',
|
||||
toolbar: 'Emoticonos'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/et.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'et', {
|
||||
options: 'Emotikonide valikud',
|
||||
title: 'Sisesta emotikon',
|
||||
toolbar: 'Emotikon'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/eu.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'eu', {
|
||||
options: 'Aurpegiera Aukerak',
|
||||
title: 'Aurpegiera Sartu',
|
||||
toolbar: 'Aurpegierak'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/fa.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'fa', {
|
||||
options: 'گزینههای خندانک',
|
||||
title: 'گنجاندن خندانک',
|
||||
toolbar: 'خندانک'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/fi.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'fi', {
|
||||
options: 'Hymiön ominaisuudet',
|
||||
title: 'Lisää hymiö',
|
||||
toolbar: 'Hymiö'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/fo.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'fo', {
|
||||
options: 'Møguleikar fyri Smiley',
|
||||
title: 'Vel Smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/fr-ca.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'fr-ca', {
|
||||
options: 'Options d\'émoticônes',
|
||||
title: 'Insérer un émoticône',
|
||||
toolbar: 'Émoticône'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/fr.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'fr', {
|
||||
options: 'Options des émoticones',
|
||||
title: 'Insérer un émoticone',
|
||||
toolbar: 'Émoticones'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/gl.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'gl', {
|
||||
options: 'Opcións de emoticonas',
|
||||
title: 'Inserir unha emoticona',
|
||||
toolbar: 'Emoticona'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/gu.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'gu', {
|
||||
options: 'સમ્ય્લી વિકલ્પો',
|
||||
title: 'સ્માઇલી પસંદ કરો',
|
||||
toolbar: 'સ્માઇલી'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/he.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'he', {
|
||||
options: 'אפשרויות סמיילים',
|
||||
title: 'הוספת סמיילי',
|
||||
toolbar: 'סמיילי'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/hi.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'hi', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'स्माइली इन्सर्ट करें',
|
||||
toolbar: 'स्माइली'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/hr.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'hr', {
|
||||
options: 'Opcije smješka',
|
||||
title: 'Ubaci smješka',
|
||||
toolbar: 'Smješko'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/hu.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'hu', {
|
||||
options: 'Hangulatjel opciók',
|
||||
title: 'Hangulatjel beszúrása',
|
||||
toolbar: 'Hangulatjelek'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/id.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'id', {
|
||||
options: 'Opsi Smiley',
|
||||
title: 'Sisip sebuah Smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/is.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'is', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Velja svip',
|
||||
toolbar: 'Svipur'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/it.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'it', {
|
||||
options: 'Opzioni Smiley',
|
||||
title: 'Inserisci emoticon',
|
||||
toolbar: 'Emoticon'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ja.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ja', {
|
||||
options: '絵文字オプション',
|
||||
title: '顔文字挿入',
|
||||
toolbar: '絵文字'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ka.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ka', {
|
||||
options: 'სიცილაკის პარამეტრები',
|
||||
title: 'სიცილაკის ჩასმა',
|
||||
toolbar: 'სიცილაკები'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/km.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'km', {
|
||||
options: 'ជម្រើសរូបសញ្ញាអារម្មណ៍',
|
||||
title: 'បញ្ចូលរូបសញ្ញាអារម្មណ៍',
|
||||
toolbar: 'រូបសញ្ញអារម្មណ៍'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ko.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ko', {
|
||||
options: '이모티콘 옵션',
|
||||
title: '아이콘 삽입',
|
||||
toolbar: '아이콘'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ku.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ku', {
|
||||
options: 'هەڵبژاردەی زەردەخەنه',
|
||||
title: 'دانانی زەردەخەنەیەك',
|
||||
toolbar: 'زەردەخەنه'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/lt.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'lt', {
|
||||
options: 'Šypsenėlių nustatymai',
|
||||
title: 'Įterpti veidelį',
|
||||
toolbar: 'Veideliai'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/lv.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'lv', {
|
||||
options: 'Smaidiņu uzstādījumi',
|
||||
title: 'Ievietot smaidiņu',
|
||||
toolbar: 'Smaidiņi'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/mk.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'mk', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Insert a Smiley', // MISSING
|
||||
toolbar: 'Smiley' // MISSING
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/mn.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'mn', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Тодорхойлолт оруулах',
|
||||
toolbar: 'Тодорхойлолт'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ms.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ms', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Masukkan Smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/nb.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'nb', {
|
||||
options: 'Alternativer for smil',
|
||||
title: 'Sett inn smil',
|
||||
toolbar: 'Smil'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/nl.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'nl', {
|
||||
options: 'Smiley opties',
|
||||
title: 'Smiley invoegen',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/no.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'no', {
|
||||
options: 'Alternativer for smil',
|
||||
title: 'Sett inn smil',
|
||||
toolbar: 'Smil'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/pl.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'pl', {
|
||||
options: 'Opcje emotikonów',
|
||||
title: 'Wstaw emotikona',
|
||||
toolbar: 'Emotikony'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/pt-br.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'pt-br', {
|
||||
options: 'Opções de Emoticons',
|
||||
title: 'Inserir Emoticon',
|
||||
toolbar: 'Emoticon'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/pt.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'pt', {
|
||||
options: 'Opções de Emoticons',
|
||||
title: 'Inserir um Emoticon',
|
||||
toolbar: 'Emoticons'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ro.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ro', {
|
||||
options: 'Opțiuni figuri expresive',
|
||||
title: 'Inserează o figură expresivă (Emoticon)',
|
||||
toolbar: 'Figură expresivă (Emoticon)'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ru.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ru', {
|
||||
options: 'Выбор смайла',
|
||||
title: 'Вставить смайл',
|
||||
toolbar: 'Смайлы'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/si.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'si', {
|
||||
options: 'හාස්ය විකල්ප',
|
||||
title: 'හාස්යන් ඇතුලත් කිරීම',
|
||||
toolbar: 'හාස්යන්'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/sk.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'sk', {
|
||||
options: 'Možnosti smajlíkov',
|
||||
title: 'Vložiť smajlíka',
|
||||
toolbar: 'Smajlíky'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/sl.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'sl', {
|
||||
options: 'Možnosti Smeška',
|
||||
title: 'Vstavi smeška',
|
||||
toolbar: 'Smeško'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/sq.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'sq', {
|
||||
options: 'Opsionet e Ikonave',
|
||||
title: 'Vendos Ikonë',
|
||||
toolbar: 'Ikona'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/sr-latn.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'sr-latn', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Unesi smajlija',
|
||||
toolbar: 'Smajli'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/sr.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'sr', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: 'Унеси смајлија',
|
||||
toolbar: 'Смајли'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/sv.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'sv', {
|
||||
options: 'Smileyinställningar',
|
||||
title: 'Infoga smiley',
|
||||
toolbar: 'Smiley'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/th.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'th', {
|
||||
options: 'ตัวเลือกไอคอนแสดงอารมณ์',
|
||||
title: 'แทรกสัญลักษณ์สื่ออารมณ์',
|
||||
toolbar: 'รูปสื่ออารมณ์'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/tr.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'tr', {
|
||||
options: 'İfade Seçenekleri',
|
||||
title: 'İfade Ekle',
|
||||
toolbar: 'İfade'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/ug.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'ug', {
|
||||
options: 'چىراي ئىپادە سىنبەلگە تاللانمىسى',
|
||||
title: 'چىراي ئىپادە سىنبەلگە قىستۇر',
|
||||
toolbar: 'چىراي ئىپادە'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/uk.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'uk', {
|
||||
options: 'Опції смайликів',
|
||||
title: 'Вставити смайлик',
|
||||
toolbar: 'Смайлик'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/vi.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'vi', {
|
||||
options: 'Tùy chọn hình biểu lộ cảm xúc',
|
||||
title: 'Chèn hình biểu lộ cảm xúc (mặt cười)',
|
||||
toolbar: 'Hình biểu lộ cảm xúc (mặt cười)'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/zh-cn.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'zh-cn', {
|
||||
options: '表情图标选项',
|
||||
title: '插入表情图标',
|
||||
toolbar: '表情符'
|
||||
});
|
||||
9
lib/ckeditor4/plugins/smiley/lang/zh.js
Executable file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'smiley', 'zh', {
|
||||
options: 'Smiley Options', // MISSING
|
||||
title: '插入表情符號',
|
||||
toolbar: '表情符號'
|
||||
});
|
||||
95
lib/ckeditor4/plugins/smiley/plugin.js
Executable file
@@ -0,0 +1,95 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.add( 'smiley', {
|
||||
requires: 'dialog',
|
||||
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
|
||||
icons: 'smiley', // %REMOVE_LINE_CORE%
|
||||
hidpi: true, // %REMOVE_LINE_CORE%
|
||||
init: function( editor ) {
|
||||
editor.config.smiley_path = editor.config.smiley_path || ( this.path + 'images/' );
|
||||
editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley', {
|
||||
allowedContent: 'img[alt,height,!src,title,width]',
|
||||
requiredContent: 'img'
|
||||
} ) );
|
||||
editor.ui.addButton && editor.ui.addButton( 'Smiley', {
|
||||
label: editor.lang.smiley.toolbar,
|
||||
command: 'smiley',
|
||||
toolbar: 'insert,50'
|
||||
});
|
||||
CKEDITOR.dialog.add( 'smiley', this.path + 'dialogs/smiley.js' );
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* The base path used to build the URL for the smiley images. It must end with a slash.
|
||||
*
|
||||
* config.smiley_path = 'http://www.example.com/images/smileys/';
|
||||
*
|
||||
* config.smiley_path = '/images/smileys/';
|
||||
*
|
||||
* @cfg {String} [smiley_path=CKEDITOR.basePath + 'plugins/smiley/images/']
|
||||
* @member CKEDITOR.config
|
||||
*/
|
||||
|
||||
/**
|
||||
* The file names for the smileys to be displayed. These files must be
|
||||
* contained inside the URL path defined with the {@link #smiley_path} setting.
|
||||
*
|
||||
* // This is actually the default value.
|
||||
* config.smiley_images = [
|
||||
* 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tongue_smile.gif',
|
||||
* 'embarrassed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
|
||||
* 'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
|
||||
* 'broken_heart.gif','kiss.gif','envelope.gif'
|
||||
* ];
|
||||
*
|
||||
* @cfg
|
||||
* @member CKEDITOR.config
|
||||
*/
|
||||
CKEDITOR.config.smiley_images = [
|
||||
'regular_smile.gif', 'sad_smile.gif', 'wink_smile.gif', 'teeth_smile.gif', 'confused_smile.gif', 'tongue_smile.gif',
|
||||
'embarrassed_smile.gif', 'omg_smile.gif', 'whatchutalkingabout_smile.gif', 'angry_smile.gif', 'angel_smile.gif', 'shades_smile.gif',
|
||||
'devil_smile.gif', 'cry_smile.gif', 'lightbulb.gif', 'thumbs_down.gif', 'thumbs_up.gif', 'heart.gif',
|
||||
'broken_heart.gif', 'kiss.gif', 'envelope.gif' ];
|
||||
|
||||
/**
|
||||
* The description to be used for each of the smileys defined in the
|
||||
* {@link CKEDITOR.config#smiley_images} setting. Each entry in this array list
|
||||
* must match its relative pair in the {@link CKEDITOR.config#smiley_images}
|
||||
* setting.
|
||||
*
|
||||
* // Default settings.
|
||||
* config.smiley_descriptions = [
|
||||
* 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
|
||||
* 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
|
||||
* 'yes', 'heart', 'broken heart', 'kiss', 'mail'
|
||||
* ];
|
||||
*
|
||||
* // Use textual emoticons as description.
|
||||
* config.smiley_descriptions = [
|
||||
* ':)', ':(', ';)', ':D', ':/', ':P', ':*)', ':-o',
|
||||
* ':|', '>:(', 'o:)', '8-)', '>:-)', ';(', '', '', '',
|
||||
* '', '', ':-*', ''
|
||||
* ];
|
||||
*
|
||||
* @cfg
|
||||
* @member CKEDITOR.config
|
||||
*/
|
||||
CKEDITOR.config.smiley_descriptions = [
|
||||
'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
|
||||
'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
|
||||
'yes', 'heart', 'broken heart', 'kiss', 'mail'
|
||||
];
|
||||
|
||||
/**
|
||||
* The number of columns to be generated by the smilies matrix.
|
||||
*
|
||||
* config.smiley_columns = 6;
|
||||
*
|
||||
* @since 3.3.2
|
||||
* @cfg {Number} [smiley_columns=8]
|
||||
* @member CKEDITOR.config
|
||||
*/
|
||||