first commit

This commit is contained in:
/usr/bin/nano
2017-04-15 01:34:36 +03:00
commit c715e2a604
5325 changed files with 329700 additions and 0 deletions

View 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 ]
};
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 916 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

View 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'
});

View 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: 'ابتسامات'
});

View 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: 'Усмивка'
});

View 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: 'স্মাইলী'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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: 'خندانک'
});

View 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ö'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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: 'સ્માઇલી'
});

View 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: 'סמיילי'
});

View 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: 'स्माइली'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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: '絵文字'
});

View 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: 'სიცილაკები'
});

View 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: 'រូប​សញ្ញ​អារម្មណ៍'
});

View 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: '아이콘'
});

View 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: 'زەردەخەنه'
});

View 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'
});

View 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'
});

View 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
});

View 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: 'Тодорхойлолт'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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)'
});

View 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: 'Смайлы'
});

View 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: 'හාස්‍යන්'
});

View 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'
});

View 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'
});

View 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'
});

View 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'
});

View 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: 'Смајли'
});

View 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'
});

View 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: 'รูปสื่ออารมณ์'
});

View 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'
});

View 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: 'چىراي ئىپادە'
});

View 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: 'Смайлик'
});

View 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)'
});

View 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: '表情符'
});

View 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: '表情符號'
});

View 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
*/