aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/smiley
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-01-25 17:45:33 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-01-25 18:00:33 +0100
commit7adcb81e4f83f98c468889aaa5a85558ba88c770 (patch)
tree0d6ede733777b29060b48df4afaa2c64bfbae276 /sources/plugins/smiley
downloadconnexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.gz
connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.tar.zst
connexionswing-ckeditor-component-7adcb81e4f83f98c468889aaa5a85558ba88c770.zip
Initial commit4.5.6
Diffstat (limited to 'sources/plugins/smiley')
-rw-r--r--sources/plugins/smiley/dialogs/smiley.js193
-rw-r--r--sources/plugins/smiley/icons/hidpi/smiley.pngbin0 -> 3073 bytes
-rw-r--r--sources/plugins/smiley/icons/smiley.pngbin0 -> 916 bytes
-rw-r--r--sources/plugins/smiley/images/angel_smile.gifbin0 -> 1245 bytes
-rw-r--r--sources/plugins/smiley/images/angel_smile.pngbin0 -> 1172 bytes
-rw-r--r--sources/plugins/smiley/images/angry_smile.gifbin0 -> 1219 bytes
-rw-r--r--sources/plugins/smiley/images/angry_smile.pngbin0 -> 1220 bytes
-rw-r--r--sources/plugins/smiley/images/broken_heart.gifbin0 -> 732 bytes
-rw-r--r--sources/plugins/smiley/images/broken_heart.pngbin0 -> 1139 bytes
-rw-r--r--sources/plugins/smiley/images/confused_smile.gifbin0 -> 1202 bytes
-rw-r--r--sources/plugins/smiley/images/confused_smile.pngbin0 -> 1101 bytes
-rw-r--r--sources/plugins/smiley/images/cry_smile.gifbin0 -> 795 bytes
-rw-r--r--sources/plugins/smiley/images/cry_smile.pngbin0 -> 1214 bytes
-rw-r--r--sources/plugins/smiley/images/devil_smile.gifbin0 -> 1239 bytes
-rw-r--r--sources/plugins/smiley/images/devil_smile.pngbin0 -> 1220 bytes
-rw-r--r--sources/plugins/smiley/images/embaressed_smile.gifbin0 -> 786 bytes
-rw-r--r--sources/plugins/smiley/images/embarrassed_smile.gifbin0 -> 786 bytes
-rw-r--r--sources/plugins/smiley/images/embarrassed_smile.pngbin0 -> 1145 bytes
-rw-r--r--sources/plugins/smiley/images/envelope.gifbin0 -> 506 bytes
-rw-r--r--sources/plugins/smiley/images/envelope.pngbin0 -> 760 bytes
-rw-r--r--sources/plugins/smiley/images/heart.gifbin0 -> 692 bytes
-rw-r--r--sources/plugins/smiley/images/heart.pngbin0 -> 999 bytes
-rw-r--r--sources/plugins/smiley/images/kiss.gifbin0 -> 683 bytes
-rw-r--r--sources/plugins/smiley/images/kiss.pngbin0 -> 1003 bytes
-rw-r--r--sources/plugins/smiley/images/lightbulb.gifbin0 -> 660 bytes
-rw-r--r--sources/plugins/smiley/images/lightbulb.pngbin0 -> 919 bytes
-rw-r--r--sources/plugins/smiley/images/omg_smile.gifbin0 -> 820 bytes
-rw-r--r--sources/plugins/smiley/images/omg_smile.pngbin0 -> 1122 bytes
-rw-r--r--sources/plugins/smiley/images/regular_smile.gifbin0 -> 1209 bytes
-rw-r--r--sources/plugins/smiley/images/regular_smile.pngbin0 -> 1084 bytes
-rw-r--r--sources/plugins/smiley/images/sad_smile.gifbin0 -> 782 bytes
-rw-r--r--sources/plugins/smiley/images/sad_smile.pngbin0 -> 1115 bytes
-rw-r--r--sources/plugins/smiley/images/shades_smile.gifbin0 -> 1231 bytes
-rw-r--r--sources/plugins/smiley/images/shades_smile.pngbin0 -> 1204 bytes
-rw-r--r--sources/plugins/smiley/images/teeth_smile.gifbin0 -> 1201 bytes
-rw-r--r--sources/plugins/smiley/images/teeth_smile.pngbin0 -> 1183 bytes
-rw-r--r--sources/plugins/smiley/images/thumbs_down.gifbin0 -> 715 bytes
-rw-r--r--sources/plugins/smiley/images/thumbs_down.pngbin0 -> 985 bytes
-rw-r--r--sources/plugins/smiley/images/thumbs_up.gifbin0 -> 714 bytes
-rw-r--r--sources/plugins/smiley/images/thumbs_up.pngbin0 -> 959 bytes
-rw-r--r--sources/plugins/smiley/images/tongue_smile.gifbin0 -> 1210 bytes
-rw-r--r--sources/plugins/smiley/images/tongue_smile.pngbin0 -> 1132 bytes
-rw-r--r--sources/plugins/smiley/images/tounge_smile.gifbin0 -> 1210 bytes
-rw-r--r--sources/plugins/smiley/images/whatchutalkingabout_smile.gifbin0 -> 775 bytes
-rw-r--r--sources/plugins/smiley/images/whatchutalkingabout_smile.pngbin0 -> 1039 bytes
-rw-r--r--sources/plugins/smiley/images/wink_smile.gifbin0 -> 1202 bytes
-rw-r--r--sources/plugins/smiley/images/wink_smile.pngbin0 -> 1114 bytes
-rw-r--r--sources/plugins/smiley/lang/af.js9
-rw-r--r--sources/plugins/smiley/lang/ar.js9
-rw-r--r--sources/plugins/smiley/lang/bg.js9
-rw-r--r--sources/plugins/smiley/lang/bn.js9
-rw-r--r--sources/plugins/smiley/lang/bs.js9
-rw-r--r--sources/plugins/smiley/lang/ca.js9
-rw-r--r--sources/plugins/smiley/lang/cs.js9
-rw-r--r--sources/plugins/smiley/lang/cy.js9
-rw-r--r--sources/plugins/smiley/lang/da.js9
-rw-r--r--sources/plugins/smiley/lang/de.js9
-rw-r--r--sources/plugins/smiley/lang/el.js9
-rw-r--r--sources/plugins/smiley/lang/en-au.js9
-rw-r--r--sources/plugins/smiley/lang/en-ca.js9
-rw-r--r--sources/plugins/smiley/lang/en-gb.js9
-rw-r--r--sources/plugins/smiley/lang/en.js9
-rw-r--r--sources/plugins/smiley/lang/eo.js9
-rw-r--r--sources/plugins/smiley/lang/es.js9
-rw-r--r--sources/plugins/smiley/lang/et.js9
-rw-r--r--sources/plugins/smiley/lang/eu.js9
-rw-r--r--sources/plugins/smiley/lang/fa.js9
-rw-r--r--sources/plugins/smiley/lang/fi.js9
-rw-r--r--sources/plugins/smiley/lang/fo.js9
-rw-r--r--sources/plugins/smiley/lang/fr-ca.js9
-rw-r--r--sources/plugins/smiley/lang/fr.js9
-rw-r--r--sources/plugins/smiley/lang/gl.js9
-rw-r--r--sources/plugins/smiley/lang/gu.js9
-rw-r--r--sources/plugins/smiley/lang/he.js9
-rw-r--r--sources/plugins/smiley/lang/hi.js9
-rw-r--r--sources/plugins/smiley/lang/hr.js9
-rw-r--r--sources/plugins/smiley/lang/hu.js9
-rw-r--r--sources/plugins/smiley/lang/id.js9
-rw-r--r--sources/plugins/smiley/lang/is.js9
-rw-r--r--sources/plugins/smiley/lang/it.js9
-rw-r--r--sources/plugins/smiley/lang/ja.js9
-rw-r--r--sources/plugins/smiley/lang/ka.js9
-rw-r--r--sources/plugins/smiley/lang/km.js9
-rw-r--r--sources/plugins/smiley/lang/ko.js9
-rw-r--r--sources/plugins/smiley/lang/ku.js9
-rw-r--r--sources/plugins/smiley/lang/lt.js9
-rw-r--r--sources/plugins/smiley/lang/lv.js9
-rw-r--r--sources/plugins/smiley/lang/mk.js9
-rw-r--r--sources/plugins/smiley/lang/mn.js9
-rw-r--r--sources/plugins/smiley/lang/ms.js9
-rw-r--r--sources/plugins/smiley/lang/nb.js9
-rw-r--r--sources/plugins/smiley/lang/nl.js9
-rw-r--r--sources/plugins/smiley/lang/no.js9
-rw-r--r--sources/plugins/smiley/lang/pl.js9
-rw-r--r--sources/plugins/smiley/lang/pt-br.js9
-rw-r--r--sources/plugins/smiley/lang/pt.js9
-rw-r--r--sources/plugins/smiley/lang/ro.js9
-rw-r--r--sources/plugins/smiley/lang/ru.js9
-rw-r--r--sources/plugins/smiley/lang/si.js9
-rw-r--r--sources/plugins/smiley/lang/sk.js9
-rw-r--r--sources/plugins/smiley/lang/sl.js9
-rw-r--r--sources/plugins/smiley/lang/sq.js9
-rw-r--r--sources/plugins/smiley/lang/sr-latn.js9
-rw-r--r--sources/plugins/smiley/lang/sr.js9
-rw-r--r--sources/plugins/smiley/lang/sv.js9
-rw-r--r--sources/plugins/smiley/lang/th.js9
-rw-r--r--sources/plugins/smiley/lang/tr.js9
-rw-r--r--sources/plugins/smiley/lang/tt.js9
-rw-r--r--sources/plugins/smiley/lang/ug.js9
-rw-r--r--sources/plugins/smiley/lang/uk.js9
-rw-r--r--sources/plugins/smiley/lang/vi.js9
-rw-r--r--sources/plugins/smiley/lang/zh-cn.js9
-rw-r--r--sources/plugins/smiley/lang/zh.js9
-rw-r--r--sources/plugins/smiley/plugin.js98
114 files changed, 885 insertions, 0 deletions
diff --git a/sources/plugins/smiley/dialogs/smiley.js b/sources/plugins/smiley/dialogs/smiley.js
new file mode 100644
index 00000000..4d9a2723
--- /dev/null
+++ b/sources/plugins/smiley/dialogs/smiley.js
@@ -0,0 +1,193 @@
1/**
2 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */
5
6CKEDITOR.dialog.add( 'smiley', function( editor ) {
7 var config = editor.config,
8 lang = editor.lang.smiley,
9 images = config.smiley_images,
10 columns = config.smiley_columns || 8,
11 i;
12
13 // Simulate "this" of a dialog for non-dialog events.
14 // @type {CKEDITOR.dialog}
15 var dialog;
16 var onClick = function( evt ) {
17 var target = evt.data.getTarget(),
18 targetName = target.getName();
19
20 if ( targetName == 'a' )
21 target = target.getChild( 0 );
22 else if ( targetName != 'img' )
23 return;
24
25 var src = target.getAttribute( 'cke_src' ),
26 title = target.getAttribute( 'title' );
27
28 var img = editor.document.createElement( 'img', {
29 attributes: {
30 src: src,
31 'data-cke-saved-src': src,
32 title: title,
33 alt: title,
34 width: target.$.width,
35 height: target.$.height
36 }
37 } );
38
39 editor.insertElement( img );
40
41 dialog.hide();
42 evt.data.preventDefault();
43 };
44
45 var onKeydown = CKEDITOR.tools.addFunction( function( ev, element ) {
46 ev = new CKEDITOR.dom.event( ev );
47 element = new CKEDITOR.dom.element( element );
48 var relative, nodeToMove;
49
50 var keystroke = ev.getKeystroke(),
51 rtl = editor.lang.dir == 'rtl';
52 switch ( keystroke ) {
53 // UP-ARROW
54 case 38:
55 // relative is TR
56 if ( ( relative = element.getParent().getParent().getPrevious() ) ) {
57 nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] );
58 nodeToMove.focus();
59 }
60 ev.preventDefault();
61 break;
62 // DOWN-ARROW
63 case 40:
64 // relative is TR
65 if ( ( relative = element.getParent().getParent().getNext() ) ) {
66 nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] );
67 if ( nodeToMove )
68 nodeToMove.focus();
69 }
70 ev.preventDefault();
71 break;
72 // ENTER
73 // SPACE
74 case 32:
75 onClick( { data: ev } );
76 ev.preventDefault();
77 break;
78
79 // RIGHT-ARROW
80 case rtl ? 37 : 39:
81 // relative is TD
82 if ( ( relative = element.getParent().getNext() ) ) {
83 nodeToMove = relative.getChild( 0 );
84 nodeToMove.focus();
85 ev.preventDefault( true );
86 }
87 // relative is TR
88 else if ( ( relative = element.getParent().getParent().getNext() ) ) {
89 nodeToMove = relative.getChild( [ 0, 0 ] );
90 if ( nodeToMove )
91 nodeToMove.focus();
92 ev.preventDefault( true );
93 }
94 break;
95
96 // LEFT-ARROW
97 case rtl ? 39 : 37:
98 // relative is TD
99 if ( ( relative = element.getParent().getPrevious() ) ) {
100 nodeToMove = relative.getChild( 0 );
101 nodeToMove.focus();
102 ev.preventDefault( true );
103 }
104 // relative is TR
105 else if ( ( relative = element.getParent().getParent().getPrevious() ) ) {
106 nodeToMove = relative.getLast().getChild( 0 );
107 nodeToMove.focus();
108 ev.preventDefault( true );
109 }
110 break;
111 default:
112 // Do not stop not handled events.
113 return;
114 }
115 } );
116
117 // Build the HTML for the smiley images table.
118 var labelId = CKEDITOR.tools.getNextId() + '_smiley_emtions_label';
119 var html = [
120 '<div>' +
121 '<span id="' + labelId + '" class="cke_voice_label">' + lang.options + '</span>',
122 '<table role="listbox" aria-labelledby="' + labelId + '" style="width:100%;height:100%;border-collapse:separate;" cellspacing="2" cellpadding="2"',
123 CKEDITOR.env.ie && CKEDITOR.env.quirks ? ' style="position:absolute;"' : '',
124 '><tbody>'
125 ];
126
127 var size = images.length;
128 for ( i = 0; i < size; i++ ) {
129 if ( i % columns === 0 )
130 html.push( '<tr role="presentation">' );
131
132 var smileyLabelId = 'cke_smile_label_' + i + '_' + CKEDITOR.tools.getNextNumber();
133 html.push(
134 '<td class="cke_dark_background cke_centered" style="vertical-align: middle;" role="presentation">' +
135 '<a href="javascript:void(0)" role="option"', ' aria-posinset="' + ( i + 1 ) + '"', ' aria-setsize="' + size + '"', ' aria-labelledby="' + smileyLabelId + '"',
136 ' class="cke_smile cke_hand" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ', onKeydown, ', event, this );">',
137 '<img class="cke_hand" title="', config.smiley_descriptions[ i ], '"' +
138 ' cke_src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '" alt="', config.smiley_descriptions[ i ], '"',
139 ' src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"',
140 // IE BUG: Below is a workaround to an IE image loading bug to ensure the image sizes are correct.
141 ( CKEDITOR.env.ie ? ' onload="this.setAttribute(\'width\', 2); this.removeAttribute(\'width\');" ' : '' ), '>' +
142 '<span id="' + smileyLabelId + '" class="cke_voice_label">' + config.smiley_descriptions[ i ] + '</span>' +
143 '</a>', '</td>'
144 );
145
146 if ( i % columns == columns - 1 )
147 html.push( '</tr>' );
148 }
149
150 if ( i < columns - 1 ) {
151 for ( ; i < columns - 1; i++ )
152 html.push( '<td></td>' );
153 html.push( '</tr>' );
154 }
155
156 html.push( '</tbody></table></div>' );
157
158 var smileySelector = {
159 type: 'html',
160 id: 'smileySelector',
161 html: html.join( '' ),
162 onLoad: function( event ) {
163 dialog = event.sender;
164 },
165 focus: function() {
166 var self = this;
167 // IE need a while to move the focus (#6539).
168 setTimeout( function() {
169 var firstSmile = self.getElement().getElementsByTag( 'a' ).getItem( 0 );
170 firstSmile.focus();
171 }, 0 );
172 },
173 onClick: onClick,
174 style: 'width: 100%; border-collapse: separate;'
175 };
176
177 return {
178 title: editor.lang.smiley.title,
179 minWidth: 270,
180 minHeight: 120,
181 contents: [ {
182 id: 'tab1',
183 label: '',
184 title: '',
185 expand: true,
186 padding: 0,
187 elements: [
188 smileySelector
189 ]
190 } ],
191 buttons: [ CKEDITOR.dialog.cancelButton ]
192 };
193} );
diff --git a/sources/plugins/smiley/icons/hidpi/smiley.png b/sources/plugins/smiley/icons/hidpi/smiley.png
new file mode 100644
index 00000000..bad62eed
--- /dev/null
+++ b/sources/plugins/smiley/icons/hidpi/smiley.png
Binary files differ
diff --git a/sources/plugins/smiley/icons/smiley.png b/sources/plugins/smiley/icons/smiley.png
new file mode 100644
index 00000000..9fafa28a
--- /dev/null
+++ b/sources/plugins/smiley/icons/smiley.png
Binary files differ
diff --git a/sources/plugins/smiley/images/angel_smile.gif b/sources/plugins/smiley/images/angel_smile.gif
new file mode 100644
index 00000000..21f81a2f
--- /dev/null
+++ b/sources/plugins/smiley/images/angel_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/angel_smile.png b/sources/plugins/smiley/images/angel_smile.png
new file mode 100644
index 00000000..559e5e71
--- /dev/null
+++ b/sources/plugins/smiley/images/angel_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/angry_smile.gif b/sources/plugins/smiley/images/angry_smile.gif
new file mode 100644
index 00000000..c912d99b
--- /dev/null
+++ b/sources/plugins/smiley/images/angry_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/angry_smile.png b/sources/plugins/smiley/images/angry_smile.png
new file mode 100644
index 00000000..c05d2be3
--- /dev/null
+++ b/sources/plugins/smiley/images/angry_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/broken_heart.gif b/sources/plugins/smiley/images/broken_heart.gif
new file mode 100644
index 00000000..4162a7b2
--- /dev/null
+++ b/sources/plugins/smiley/images/broken_heart.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/broken_heart.png b/sources/plugins/smiley/images/broken_heart.png
new file mode 100644
index 00000000..a711c0d8
--- /dev/null
+++ b/sources/plugins/smiley/images/broken_heart.png
Binary files differ
diff --git a/sources/plugins/smiley/images/confused_smile.gif b/sources/plugins/smiley/images/confused_smile.gif
new file mode 100644
index 00000000..0e420cba
--- /dev/null
+++ b/sources/plugins/smiley/images/confused_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/confused_smile.png b/sources/plugins/smiley/images/confused_smile.png
new file mode 100644
index 00000000..e0b8e5c6
--- /dev/null
+++ b/sources/plugins/smiley/images/confused_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/cry_smile.gif b/sources/plugins/smiley/images/cry_smile.gif
new file mode 100644
index 00000000..b5133427
--- /dev/null
+++ b/sources/plugins/smiley/images/cry_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/cry_smile.png b/sources/plugins/smiley/images/cry_smile.png
new file mode 100644
index 00000000..a1891a34
--- /dev/null
+++ b/sources/plugins/smiley/images/cry_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/devil_smile.gif b/sources/plugins/smiley/images/devil_smile.gif
new file mode 100644
index 00000000..9b2a1005
--- /dev/null
+++ b/sources/plugins/smiley/images/devil_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/devil_smile.png b/sources/plugins/smiley/images/devil_smile.png
new file mode 100644
index 00000000..53247a88
--- /dev/null
+++ b/sources/plugins/smiley/images/devil_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/embaressed_smile.gif b/sources/plugins/smiley/images/embaressed_smile.gif
new file mode 100644
index 00000000..8d39f252
--- /dev/null
+++ b/sources/plugins/smiley/images/embaressed_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/embarrassed_smile.gif b/sources/plugins/smiley/images/embarrassed_smile.gif
new file mode 100644
index 00000000..8d39f252
--- /dev/null
+++ b/sources/plugins/smiley/images/embarrassed_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/embarrassed_smile.png b/sources/plugins/smiley/images/embarrassed_smile.png
new file mode 100644
index 00000000..34904b66
--- /dev/null
+++ b/sources/plugins/smiley/images/embarrassed_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/envelope.gif b/sources/plugins/smiley/images/envelope.gif
new file mode 100644
index 00000000..5294ec48
--- /dev/null
+++ b/sources/plugins/smiley/images/envelope.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/envelope.png b/sources/plugins/smiley/images/envelope.png
new file mode 100644
index 00000000..44398ad1
--- /dev/null
+++ b/sources/plugins/smiley/images/envelope.png
Binary files differ
diff --git a/sources/plugins/smiley/images/heart.gif b/sources/plugins/smiley/images/heart.gif
new file mode 100644
index 00000000..160be8ef
--- /dev/null
+++ b/sources/plugins/smiley/images/heart.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/heart.png b/sources/plugins/smiley/images/heart.png
new file mode 100644
index 00000000..df409e62
--- /dev/null
+++ b/sources/plugins/smiley/images/heart.png
Binary files differ
diff --git a/sources/plugins/smiley/images/kiss.gif b/sources/plugins/smiley/images/kiss.gif
new file mode 100644
index 00000000..ffb23db0
--- /dev/null
+++ b/sources/plugins/smiley/images/kiss.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/kiss.png b/sources/plugins/smiley/images/kiss.png
new file mode 100644
index 00000000..a4f2f363
--- /dev/null
+++ b/sources/plugins/smiley/images/kiss.png
Binary files differ
diff --git a/sources/plugins/smiley/images/lightbulb.gif b/sources/plugins/smiley/images/lightbulb.gif
new file mode 100644
index 00000000..ceb6e2d9
--- /dev/null
+++ b/sources/plugins/smiley/images/lightbulb.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/lightbulb.png b/sources/plugins/smiley/images/lightbulb.png
new file mode 100644
index 00000000..0c4a9240
--- /dev/null
+++ b/sources/plugins/smiley/images/lightbulb.png
Binary files differ
diff --git a/sources/plugins/smiley/images/omg_smile.gif b/sources/plugins/smiley/images/omg_smile.gif
new file mode 100644
index 00000000..3177355f
--- /dev/null
+++ b/sources/plugins/smiley/images/omg_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/omg_smile.png b/sources/plugins/smiley/images/omg_smile.png
new file mode 100644
index 00000000..abc4e2d0
--- /dev/null
+++ b/sources/plugins/smiley/images/omg_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/regular_smile.gif b/sources/plugins/smiley/images/regular_smile.gif
new file mode 100644
index 00000000..fdcf5c33
--- /dev/null
+++ b/sources/plugins/smiley/images/regular_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/regular_smile.png b/sources/plugins/smiley/images/regular_smile.png
new file mode 100644
index 00000000..0f2649b7
--- /dev/null
+++ b/sources/plugins/smiley/images/regular_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/sad_smile.gif b/sources/plugins/smiley/images/sad_smile.gif
new file mode 100644
index 00000000..cca0729d
--- /dev/null
+++ b/sources/plugins/smiley/images/sad_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/sad_smile.png b/sources/plugins/smiley/images/sad_smile.png
new file mode 100644
index 00000000..f20f3bf3
--- /dev/null
+++ b/sources/plugins/smiley/images/sad_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/shades_smile.gif b/sources/plugins/smiley/images/shades_smile.gif
new file mode 100644
index 00000000..7d93474c
--- /dev/null
+++ b/sources/plugins/smiley/images/shades_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/shades_smile.png b/sources/plugins/smiley/images/shades_smile.png
new file mode 100644
index 00000000..fdaa28b7
--- /dev/null
+++ b/sources/plugins/smiley/images/shades_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/teeth_smile.gif b/sources/plugins/smiley/images/teeth_smile.gif
new file mode 100644
index 00000000..44c37996
--- /dev/null
+++ b/sources/plugins/smiley/images/teeth_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/teeth_smile.png b/sources/plugins/smiley/images/teeth_smile.png
new file mode 100644
index 00000000..5e63785e
--- /dev/null
+++ b/sources/plugins/smiley/images/teeth_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/thumbs_down.gif b/sources/plugins/smiley/images/thumbs_down.gif
new file mode 100644
index 00000000..5c8bee30
--- /dev/null
+++ b/sources/plugins/smiley/images/thumbs_down.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/thumbs_down.png b/sources/plugins/smiley/images/thumbs_down.png
new file mode 100644
index 00000000..1823481f
--- /dev/null
+++ b/sources/plugins/smiley/images/thumbs_down.png
Binary files differ
diff --git a/sources/plugins/smiley/images/thumbs_up.gif b/sources/plugins/smiley/images/thumbs_up.gif
new file mode 100644
index 00000000..9cc37029
--- /dev/null
+++ b/sources/plugins/smiley/images/thumbs_up.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/thumbs_up.png b/sources/plugins/smiley/images/thumbs_up.png
new file mode 100644
index 00000000..d4e8b22a
--- /dev/null
+++ b/sources/plugins/smiley/images/thumbs_up.png
Binary files differ
diff --git a/sources/plugins/smiley/images/tongue_smile.gif b/sources/plugins/smiley/images/tongue_smile.gif
new file mode 100644
index 00000000..81e05b0f
--- /dev/null
+++ b/sources/plugins/smiley/images/tongue_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/tongue_smile.png b/sources/plugins/smiley/images/tongue_smile.png
new file mode 100644
index 00000000..56553fbe
--- /dev/null
+++ b/sources/plugins/smiley/images/tongue_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/tounge_smile.gif b/sources/plugins/smiley/images/tounge_smile.gif
new file mode 100644
index 00000000..81e05b0f
--- /dev/null
+++ b/sources/plugins/smiley/images/tounge_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/whatchutalkingabout_smile.gif b/sources/plugins/smiley/images/whatchutalkingabout_smile.gif
new file mode 100644
index 00000000..eef4fc00
--- /dev/null
+++ b/sources/plugins/smiley/images/whatchutalkingabout_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/whatchutalkingabout_smile.png b/sources/plugins/smiley/images/whatchutalkingabout_smile.png
new file mode 100644
index 00000000..f9714d1b
--- /dev/null
+++ b/sources/plugins/smiley/images/whatchutalkingabout_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/images/wink_smile.gif b/sources/plugins/smiley/images/wink_smile.gif
new file mode 100644
index 00000000..6d3d64bd
--- /dev/null
+++ b/sources/plugins/smiley/images/wink_smile.gif
Binary files differ
diff --git a/sources/plugins/smiley/images/wink_smile.png b/sources/plugins/smiley/images/wink_smile.png
new file mode 100644
index 00000000..7c99c3fc
--- /dev/null
+++ b/sources/plugins/smiley/images/wink_smile.png
Binary files differ
diff --git a/sources/plugins/smiley/lang/af.js b/sources/plugins/smiley/lang/af.js
new file mode 100644
index 00000000..65726fc9
--- /dev/null
+++ b/sources/plugins/smiley/lang/af.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'af', {
6 options: 'Lagbekkie opsies',
7 title: 'Voeg lagbekkie by',
8 toolbar: 'Lagbekkie'
9} );
diff --git a/sources/plugins/smiley/lang/ar.js b/sources/plugins/smiley/lang/ar.js
new file mode 100644
index 00000000..9cc79641
--- /dev/null
+++ b/sources/plugins/smiley/lang/ar.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ar', {
6 options: 'خصائص الإبتسامات',
7 title: 'إدراج ابتسامات',
8 toolbar: 'ابتسامات'
9} );
diff --git a/sources/plugins/smiley/lang/bg.js b/sources/plugins/smiley/lang/bg.js
new file mode 100644
index 00000000..5362eff7
--- /dev/null
+++ b/sources/plugins/smiley/lang/bg.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'bg', {
6 options: 'Опции за усмивката',
7 title: 'Вмъкване на усмивка',
8 toolbar: 'Усмивка'
9} );
diff --git a/sources/plugins/smiley/lang/bn.js b/sources/plugins/smiley/lang/bn.js
new file mode 100644
index 00000000..2ef2c3b8
--- /dev/null
+++ b/sources/plugins/smiley/lang/bn.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'bn', {
6 options: 'Smiley Options', // MISSING
7 title: 'স্মাইলী যুক্ত কর',
8 toolbar: 'স্মাইলী'
9} );
diff --git a/sources/plugins/smiley/lang/bs.js b/sources/plugins/smiley/lang/bs.js
new file mode 100644
index 00000000..3c3d3a56
--- /dev/null
+++ b/sources/plugins/smiley/lang/bs.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'bs', {
6 options: 'Smiley Options', // MISSING
7 title: 'Ubaci smješka',
8 toolbar: 'Smješko'
9} );
diff --git a/sources/plugins/smiley/lang/ca.js b/sources/plugins/smiley/lang/ca.js
new file mode 100644
index 00000000..de8dac03
--- /dev/null
+++ b/sources/plugins/smiley/lang/ca.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ca', {
6 options: 'Opcions d\'emoticones',
7 title: 'Insereix una icona',
8 toolbar: 'Icona'
9} );
diff --git a/sources/plugins/smiley/lang/cs.js b/sources/plugins/smiley/lang/cs.js
new file mode 100644
index 00000000..535e363c
--- /dev/null
+++ b/sources/plugins/smiley/lang/cs.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'cs', {
6 options: 'Nastavení smajlíků',
7 title: 'Vkládání smajlíků',
8 toolbar: 'Smajlíci'
9} );
diff --git a/sources/plugins/smiley/lang/cy.js b/sources/plugins/smiley/lang/cy.js
new file mode 100644
index 00000000..4c93cfa0
--- /dev/null
+++ b/sources/plugins/smiley/lang/cy.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'cy', {
6 options: 'Opsiynau Gwenogluniau',
7 title: 'Mewnosod Gwenoglun',
8 toolbar: 'Gwenoglun'
9} );
diff --git a/sources/plugins/smiley/lang/da.js b/sources/plugins/smiley/lang/da.js
new file mode 100644
index 00000000..c9e6450f
--- /dev/null
+++ b/sources/plugins/smiley/lang/da.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'da', {
6 options: 'Smileymuligheder',
7 title: 'Vælg smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/de.js b/sources/plugins/smiley/lang/de.js
new file mode 100644
index 00000000..af95a657
--- /dev/null
+++ b/sources/plugins/smiley/lang/de.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'de', {
6 options: 'Smiley-Optionen',
7 title: 'Smiley auswählen',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/el.js b/sources/plugins/smiley/lang/el.js
new file mode 100644
index 00000000..0a90ba92
--- /dev/null
+++ b/sources/plugins/smiley/lang/el.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'el', {
6 options: 'Επιλογές Φατσούλων',
7 title: 'Εισάγετε μια Φατσούλα',
8 toolbar: 'Φατσούλα'
9} );
diff --git a/sources/plugins/smiley/lang/en-au.js b/sources/plugins/smiley/lang/en-au.js
new file mode 100644
index 00000000..52ee1971
--- /dev/null
+++ b/sources/plugins/smiley/lang/en-au.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'en-au', {
6 options: 'Smiley Options', // MISSING
7 title: 'Insert a Smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/en-ca.js b/sources/plugins/smiley/lang/en-ca.js
new file mode 100644
index 00000000..fd5a73e5
--- /dev/null
+++ b/sources/plugins/smiley/lang/en-ca.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'en-ca', {
6 options: 'Smiley Options', // MISSING
7 title: 'Insert a Smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/en-gb.js b/sources/plugins/smiley/lang/en-gb.js
new file mode 100644
index 00000000..3c5c7b17
--- /dev/null
+++ b/sources/plugins/smiley/lang/en-gb.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'en-gb', {
6 options: 'Smiley Options',
7 title: 'Insert a Smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/en.js b/sources/plugins/smiley/lang/en.js
new file mode 100644
index 00000000..71f399e4
--- /dev/null
+++ b/sources/plugins/smiley/lang/en.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'en', {
6 options: 'Smiley Options',
7 title: 'Insert a Smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/eo.js b/sources/plugins/smiley/lang/eo.js
new file mode 100644
index 00000000..c6552b38
--- /dev/null
+++ b/sources/plugins/smiley/lang/eo.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'eo', {
6 options: 'Opcioj pri mienvinjetoj',
7 title: 'Enmeti Mienvinjeton',
8 toolbar: 'Mienvinjeto'
9} );
diff --git a/sources/plugins/smiley/lang/es.js b/sources/plugins/smiley/lang/es.js
new file mode 100644
index 00000000..23bad5dd
--- /dev/null
+++ b/sources/plugins/smiley/lang/es.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'es', {
6 options: 'Opciones de emoticonos',
7 title: 'Insertar un Emoticon',
8 toolbar: 'Emoticonos'
9} );
diff --git a/sources/plugins/smiley/lang/et.js b/sources/plugins/smiley/lang/et.js
new file mode 100644
index 00000000..56701506
--- /dev/null
+++ b/sources/plugins/smiley/lang/et.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'et', {
6 options: 'Emotikonide valikud',
7 title: 'Sisesta emotikon',
8 toolbar: 'Emotikon'
9} );
diff --git a/sources/plugins/smiley/lang/eu.js b/sources/plugins/smiley/lang/eu.js
new file mode 100644
index 00000000..a297f0a2
--- /dev/null
+++ b/sources/plugins/smiley/lang/eu.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'eu', {
6 options: 'Aurpegiera Aukerak',
7 title: 'Aurpegiera Sartu',
8 toolbar: 'Aurpegierak'
9} );
diff --git a/sources/plugins/smiley/lang/fa.js b/sources/plugins/smiley/lang/fa.js
new file mode 100644
index 00000000..14bfa13f
--- /dev/null
+++ b/sources/plugins/smiley/lang/fa.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'fa', {
6 options: 'گزینه​های خندانک',
7 title: 'گنجاندن خندانک',
8 toolbar: 'خندانک'
9} );
diff --git a/sources/plugins/smiley/lang/fi.js b/sources/plugins/smiley/lang/fi.js
new file mode 100644
index 00000000..df4b1385
--- /dev/null
+++ b/sources/plugins/smiley/lang/fi.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'fi', {
6 options: 'Hymiön ominaisuudet',
7 title: 'Lisää hymiö',
8 toolbar: 'Hymiö'
9} );
diff --git a/sources/plugins/smiley/lang/fo.js b/sources/plugins/smiley/lang/fo.js
new file mode 100644
index 00000000..5a833126
--- /dev/null
+++ b/sources/plugins/smiley/lang/fo.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'fo', {
6 options: 'Møguleikar fyri Smiley',
7 title: 'Vel Smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/fr-ca.js b/sources/plugins/smiley/lang/fr-ca.js
new file mode 100644
index 00000000..5686a1d4
--- /dev/null
+++ b/sources/plugins/smiley/lang/fr-ca.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'fr-ca', {
6 options: 'Options d\'émoticônes',
7 title: 'Insérer un émoticône',
8 toolbar: 'Émoticône'
9} );
diff --git a/sources/plugins/smiley/lang/fr.js b/sources/plugins/smiley/lang/fr.js
new file mode 100644
index 00000000..9ee67ff8
--- /dev/null
+++ b/sources/plugins/smiley/lang/fr.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'fr', {
6 options: 'Options des émoticones',
7 title: 'Insérer un émoticone',
8 toolbar: 'Émoticones'
9} );
diff --git a/sources/plugins/smiley/lang/gl.js b/sources/plugins/smiley/lang/gl.js
new file mode 100644
index 00000000..8f1c67d1
--- /dev/null
+++ b/sources/plugins/smiley/lang/gl.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'gl', {
6 options: 'Opcións de emoticonas',
7 title: 'Inserir unha emoticona',
8 toolbar: 'Emoticona'
9} );
diff --git a/sources/plugins/smiley/lang/gu.js b/sources/plugins/smiley/lang/gu.js
new file mode 100644
index 00000000..255a138f
--- /dev/null
+++ b/sources/plugins/smiley/lang/gu.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'gu', {
6 options: 'સમ્ય્લી વિકલ્પો',
7 title: 'સ્માઇલી પસંદ કરો',
8 toolbar: 'સ્માઇલી'
9} );
diff --git a/sources/plugins/smiley/lang/he.js b/sources/plugins/smiley/lang/he.js
new file mode 100644
index 00000000..b69f4aa1
--- /dev/null
+++ b/sources/plugins/smiley/lang/he.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'he', {
6 options: 'אפשרויות סמיילים',
7 title: 'הוספת סמיילי',
8 toolbar: 'סמיילי'
9} );
diff --git a/sources/plugins/smiley/lang/hi.js b/sources/plugins/smiley/lang/hi.js
new file mode 100644
index 00000000..f0168740
--- /dev/null
+++ b/sources/plugins/smiley/lang/hi.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'hi', {
6 options: 'Smiley Options', // MISSING
7 title: 'स्माइली इन्सर्ट करें',
8 toolbar: 'स्माइली'
9} );
diff --git a/sources/plugins/smiley/lang/hr.js b/sources/plugins/smiley/lang/hr.js
new file mode 100644
index 00000000..77763eb5
--- /dev/null
+++ b/sources/plugins/smiley/lang/hr.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'hr', {
6 options: 'Opcije smješka',
7 title: 'Ubaci smješka',
8 toolbar: 'Smješko'
9} );
diff --git a/sources/plugins/smiley/lang/hu.js b/sources/plugins/smiley/lang/hu.js
new file mode 100644
index 00000000..9b8a7513
--- /dev/null
+++ b/sources/plugins/smiley/lang/hu.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'hu', {
6 options: 'Hangulatjel opciók',
7 title: 'Hangulatjel beszúrása',
8 toolbar: 'Hangulatjelek'
9} );
diff --git a/sources/plugins/smiley/lang/id.js b/sources/plugins/smiley/lang/id.js
new file mode 100644
index 00000000..3c805ef5
--- /dev/null
+++ b/sources/plugins/smiley/lang/id.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'id', {
6 options: 'Opsi Smiley',
7 title: 'Sisip sebuah Smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/is.js b/sources/plugins/smiley/lang/is.js
new file mode 100644
index 00000000..8bdeb247
--- /dev/null
+++ b/sources/plugins/smiley/lang/is.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'is', {
6 options: 'Smiley Options', // MISSING
7 title: 'Velja svip',
8 toolbar: 'Svipur'
9} );
diff --git a/sources/plugins/smiley/lang/it.js b/sources/plugins/smiley/lang/it.js
new file mode 100644
index 00000000..29bb91f3
--- /dev/null
+++ b/sources/plugins/smiley/lang/it.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'it', {
6 options: 'Opzioni Smiley',
7 title: 'Inserisci emoticon',
8 toolbar: 'Emoticon'
9} );
diff --git a/sources/plugins/smiley/lang/ja.js b/sources/plugins/smiley/lang/ja.js
new file mode 100644
index 00000000..856b49cc
--- /dev/null
+++ b/sources/plugins/smiley/lang/ja.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ja', {
6 options: '絵文字オプション',
7 title: '顔文字挿入',
8 toolbar: '絵文字'
9} );
diff --git a/sources/plugins/smiley/lang/ka.js b/sources/plugins/smiley/lang/ka.js
new file mode 100644
index 00000000..b419f04e
--- /dev/null
+++ b/sources/plugins/smiley/lang/ka.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ka', {
6 options: 'სიცილაკის პარამეტრები',
7 title: 'სიცილაკის ჩასმა',
8 toolbar: 'სიცილაკები'
9} );
diff --git a/sources/plugins/smiley/lang/km.js b/sources/plugins/smiley/lang/km.js
new file mode 100644
index 00000000..777c44c9
--- /dev/null
+++ b/sources/plugins/smiley/lang/km.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'km', {
6 options: 'ជម្រើស​រូប​សញ្ញា​អារម្មណ៍',
7 title: 'បញ្ចូល​រូប​សញ្ញា​អារម្មណ៍',
8 toolbar: 'រូប​សញ្ញ​អារម្មណ៍'
9} );
diff --git a/sources/plugins/smiley/lang/ko.js b/sources/plugins/smiley/lang/ko.js
new file mode 100644
index 00000000..50969a67
--- /dev/null
+++ b/sources/plugins/smiley/lang/ko.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ko', {
6 options: '이모티콘 옵션',
7 title: '이모티콘 삽입',
8 toolbar: '이모티콘'
9} );
diff --git a/sources/plugins/smiley/lang/ku.js b/sources/plugins/smiley/lang/ku.js
new file mode 100644
index 00000000..95f1133f
--- /dev/null
+++ b/sources/plugins/smiley/lang/ku.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ku', {
6 options: 'هەڵبژاردەی زەردەخەنه',
7 title: 'دانانی زەردەخەنەیەك',
8 toolbar: 'زەردەخەنه'
9} );
diff --git a/sources/plugins/smiley/lang/lt.js b/sources/plugins/smiley/lang/lt.js
new file mode 100644
index 00000000..518a8d36
--- /dev/null
+++ b/sources/plugins/smiley/lang/lt.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'lt', {
6 options: 'Šypsenėlių nustatymai',
7 title: 'Įterpti veidelį',
8 toolbar: 'Veideliai'
9} );
diff --git a/sources/plugins/smiley/lang/lv.js b/sources/plugins/smiley/lang/lv.js
new file mode 100644
index 00000000..e55c3bc6
--- /dev/null
+++ b/sources/plugins/smiley/lang/lv.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'lv', {
6 options: 'Smaidiņu uzstādījumi',
7 title: 'Ievietot smaidiņu',
8 toolbar: 'Smaidiņi'
9} );
diff --git a/sources/plugins/smiley/lang/mk.js b/sources/plugins/smiley/lang/mk.js
new file mode 100644
index 00000000..5e8d7035
--- /dev/null
+++ b/sources/plugins/smiley/lang/mk.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'mk', {
6 options: 'Smiley Options', // MISSING
7 title: 'Insert a Smiley', // MISSING
8 toolbar: 'Smiley' // MISSING
9} );
diff --git a/sources/plugins/smiley/lang/mn.js b/sources/plugins/smiley/lang/mn.js
new file mode 100644
index 00000000..6dc3e1f4
--- /dev/null
+++ b/sources/plugins/smiley/lang/mn.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'mn', {
6 options: 'Smiley Options', // MISSING
7 title: 'Тодорхойлолт оруулах',
8 toolbar: 'Тодорхойлолт'
9} );
diff --git a/sources/plugins/smiley/lang/ms.js b/sources/plugins/smiley/lang/ms.js
new file mode 100644
index 00000000..ae773110
--- /dev/null
+++ b/sources/plugins/smiley/lang/ms.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ms', {
6 options: 'Smiley Options', // MISSING
7 title: 'Masukkan Smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/nb.js b/sources/plugins/smiley/lang/nb.js
new file mode 100644
index 00000000..be0f612c
--- /dev/null
+++ b/sources/plugins/smiley/lang/nb.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'nb', {
6 options: 'Alternativer for smil',
7 title: 'Sett inn smil',
8 toolbar: 'Smil'
9} );
diff --git a/sources/plugins/smiley/lang/nl.js b/sources/plugins/smiley/lang/nl.js
new file mode 100644
index 00000000..4db8d51f
--- /dev/null
+++ b/sources/plugins/smiley/lang/nl.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'nl', {
6 options: 'Smiley opties',
7 title: 'Smiley invoegen',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/no.js b/sources/plugins/smiley/lang/no.js
new file mode 100644
index 00000000..21da21c0
--- /dev/null
+++ b/sources/plugins/smiley/lang/no.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'no', {
6 options: 'Alternativer for smil',
7 title: 'Sett inn smil',
8 toolbar: 'Smil'
9} );
diff --git a/sources/plugins/smiley/lang/pl.js b/sources/plugins/smiley/lang/pl.js
new file mode 100644
index 00000000..62d244c9
--- /dev/null
+++ b/sources/plugins/smiley/lang/pl.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'pl', {
6 options: 'Opcje emotikonów',
7 title: 'Wstaw emotikona',
8 toolbar: 'Emotikony'
9} );
diff --git a/sources/plugins/smiley/lang/pt-br.js b/sources/plugins/smiley/lang/pt-br.js
new file mode 100644
index 00000000..96498a49
--- /dev/null
+++ b/sources/plugins/smiley/lang/pt-br.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'pt-br', {
6 options: 'Opções de Emoticons',
7 title: 'Inserir Emoticon',
8 toolbar: 'Emoticon'
9} );
diff --git a/sources/plugins/smiley/lang/pt.js b/sources/plugins/smiley/lang/pt.js
new file mode 100644
index 00000000..945f171c
--- /dev/null
+++ b/sources/plugins/smiley/lang/pt.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'pt', {
6 options: 'Opções de Emoticons',
7 title: 'Inserir um Emoticon',
8 toolbar: 'Emoticons'
9} );
diff --git a/sources/plugins/smiley/lang/ro.js b/sources/plugins/smiley/lang/ro.js
new file mode 100644
index 00000000..9c4bc5e8
--- /dev/null
+++ b/sources/plugins/smiley/lang/ro.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ro', {
6 options: 'Opțiuni figuri expresive',
7 title: 'Inserează o figură expresivă (Emoticon)',
8 toolbar: 'Figură expresivă (Emoticon)'
9} );
diff --git a/sources/plugins/smiley/lang/ru.js b/sources/plugins/smiley/lang/ru.js
new file mode 100644
index 00000000..37cee41f
--- /dev/null
+++ b/sources/plugins/smiley/lang/ru.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ru', {
6 options: 'Выбор смайла',
7 title: 'Вставить смайл',
8 toolbar: 'Смайлы'
9} );
diff --git a/sources/plugins/smiley/lang/si.js b/sources/plugins/smiley/lang/si.js
new file mode 100644
index 00000000..62e4b931
--- /dev/null
+++ b/sources/plugins/smiley/lang/si.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'si', {
6 options: 'හාස්‍ය විකල්ප',
7 title: 'හාස්‍යන් ඇතුලත් කිරීම',
8 toolbar: 'හාස්‍යන්'
9} );
diff --git a/sources/plugins/smiley/lang/sk.js b/sources/plugins/smiley/lang/sk.js
new file mode 100644
index 00000000..cca096e5
--- /dev/null
+++ b/sources/plugins/smiley/lang/sk.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'sk', {
6 options: 'Možnosti smajlíkov',
7 title: 'Vložiť smajlíka',
8 toolbar: 'Smajlíky'
9} );
diff --git a/sources/plugins/smiley/lang/sl.js b/sources/plugins/smiley/lang/sl.js
new file mode 100644
index 00000000..703c7481
--- /dev/null
+++ b/sources/plugins/smiley/lang/sl.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'sl', {
6 options: 'Možnosti Smeška',
7 title: 'Vstavi smeška',
8 toolbar: 'Smeško'
9} );
diff --git a/sources/plugins/smiley/lang/sq.js b/sources/plugins/smiley/lang/sq.js
new file mode 100644
index 00000000..78dfa437
--- /dev/null
+++ b/sources/plugins/smiley/lang/sq.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'sq', {
6 options: 'Opsionet e Ikonave',
7 title: 'Vendos Ikonë',
8 toolbar: 'Ikona'
9} );
diff --git a/sources/plugins/smiley/lang/sr-latn.js b/sources/plugins/smiley/lang/sr-latn.js
new file mode 100644
index 00000000..2b0b149b
--- /dev/null
+++ b/sources/plugins/smiley/lang/sr-latn.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'sr-latn', {
6 options: 'Smiley Options', // MISSING
7 title: 'Unesi smajlija',
8 toolbar: 'Smajli'
9} );
diff --git a/sources/plugins/smiley/lang/sr.js b/sources/plugins/smiley/lang/sr.js
new file mode 100644
index 00000000..d0c38c8b
--- /dev/null
+++ b/sources/plugins/smiley/lang/sr.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'sr', {
6 options: 'Smiley Options', // MISSING
7 title: 'Унеси смајлија',
8 toolbar: 'Смајли'
9} );
diff --git a/sources/plugins/smiley/lang/sv.js b/sources/plugins/smiley/lang/sv.js
new file mode 100644
index 00000000..7d54b6d3
--- /dev/null
+++ b/sources/plugins/smiley/lang/sv.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'sv', {
6 options: 'Smileyinställningar',
7 title: 'Infoga smiley',
8 toolbar: 'Smiley'
9} );
diff --git a/sources/plugins/smiley/lang/th.js b/sources/plugins/smiley/lang/th.js
new file mode 100644
index 00000000..27db0098
--- /dev/null
+++ b/sources/plugins/smiley/lang/th.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'th', {
6 options: 'ตัวเลือกไอคอนแสดงอารมณ์',
7 title: 'แทรกสัญลักษณ์สื่ออารมณ์',
8 toolbar: 'รูปสื่ออารมณ์'
9} );
diff --git a/sources/plugins/smiley/lang/tr.js b/sources/plugins/smiley/lang/tr.js
new file mode 100644
index 00000000..e7c46633
--- /dev/null
+++ b/sources/plugins/smiley/lang/tr.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'tr', {
6 options: 'İfade Seçenekleri',
7 title: 'İfade Ekle',
8 toolbar: 'İfade'
9} );
diff --git a/sources/plugins/smiley/lang/tt.js b/sources/plugins/smiley/lang/tt.js
new file mode 100644
index 00000000..8fad9914
--- /dev/null
+++ b/sources/plugins/smiley/lang/tt.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'tt', {
6 options: 'Смайл көйләүләре',
7 title: 'Смайл өстәү',
8 toolbar: 'Смайл'
9} );
diff --git a/sources/plugins/smiley/lang/ug.js b/sources/plugins/smiley/lang/ug.js
new file mode 100644
index 00000000..e3a922ba
--- /dev/null
+++ b/sources/plugins/smiley/lang/ug.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'ug', {
6 options: 'چىراي ئىپادە سىنبەلگە تاللانمىسى',
7 title: 'چىراي ئىپادە سىنبەلگە قىستۇر',
8 toolbar: 'چىراي ئىپادە'
9} );
diff --git a/sources/plugins/smiley/lang/uk.js b/sources/plugins/smiley/lang/uk.js
new file mode 100644
index 00000000..677bc913
--- /dev/null
+++ b/sources/plugins/smiley/lang/uk.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'uk', {
6 options: 'Опції смайликів',
7 title: 'Вставити смайлик',
8 toolbar: 'Смайлик'
9} );
diff --git a/sources/plugins/smiley/lang/vi.js b/sources/plugins/smiley/lang/vi.js
new file mode 100644
index 00000000..921175fd
--- /dev/null
+++ b/sources/plugins/smiley/lang/vi.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'vi', {
6 options: 'Tùy chọn hình biểu lộ cảm xúc',
7 title: 'Chèn hình biểu lộ cảm xúc (mặt cười)',
8 toolbar: 'Hình biểu lộ cảm xúc (mặt cười)'
9} );
diff --git a/sources/plugins/smiley/lang/zh-cn.js b/sources/plugins/smiley/lang/zh-cn.js
new file mode 100644
index 00000000..98d09389
--- /dev/null
+++ b/sources/plugins/smiley/lang/zh-cn.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'zh-cn', {
6 options: '表情图标选项',
7 title: '插入表情图标',
8 toolbar: '表情符'
9} );
diff --git a/sources/plugins/smiley/lang/zh.js b/sources/plugins/smiley/lang/zh.js
new file mode 100644
index 00000000..477d30e6
--- /dev/null
+++ b/sources/plugins/smiley/lang/zh.js
@@ -0,0 +1,9 @@
1/*
2Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'smiley', 'zh', {
6 options: '表情符號選項',
7 title: '插入表情符號',
8 toolbar: '表情符號'
9} );
diff --git a/sources/plugins/smiley/plugin.js b/sources/plugins/smiley/plugin.js
new file mode 100644
index 00000000..be8b20db
--- /dev/null
+++ b/sources/plugins/smiley/plugin.js
@@ -0,0 +1,98 @@
1/**
2 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */
5
6CKEDITOR.plugins.add( 'smiley', {
7 requires: 'dialog',
8 // jscs:disable maximumLineLength
9 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,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
10 // jscs:enable maximumLineLength
11 icons: 'smiley', // %REMOVE_LINE_CORE%
12 hidpi: true, // %REMOVE_LINE_CORE%
13 init: function( editor ) {
14 editor.config.smiley_path = editor.config.smiley_path || ( this.path + 'images/' );
15 editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley', {
16 allowedContent: 'img[alt,height,!src,title,width]',
17 requiredContent: 'img'
18 } ) );
19 editor.ui.addButton && editor.ui.addButton( 'Smiley', {
20 label: editor.lang.smiley.toolbar,
21 command: 'smiley',
22 toolbar: 'insert,50'
23 } );
24 CKEDITOR.dialog.add( 'smiley', this.path + 'dialogs/smiley.js' );
25 }
26} );
27
28/**
29 * The base path used to build the URL for the smiley images. It must end with a slash.
30 *
31 * config.smiley_path = 'http://www.example.com/images/smileys/';
32 *
33 * config.smiley_path = '/images/smileys/';
34 *
35 * @cfg {String} [smiley_path=CKEDITOR.basePath + 'plugins/smiley/images/']
36 * @member CKEDITOR.config
37 */
38
39/**
40 * The file names for the smileys to be displayed. These files must be
41 * contained inside the URL path defined with the {@link #smiley_path} setting.
42 *
43 * // This is actually the default value.
44 * config.smiley_images = [
45 * 'regular_smile.png','sad_smile.png','wink_smile.png','teeth_smile.png','confused_smile.png','tongue_smile.png',
46 * 'embarrassed_smile.png','omg_smile.png','whatchutalkingabout_smile.png','angry_smile.png','angel_smile.png','shades_smile.png',
47 * 'devil_smile.png','cry_smile.png','lightbulb.png','thumbs_down.png','thumbs_up.png','heart.png',
48 * 'broken_heart.png','kiss.png','envelope.png'
49 * ];
50 *
51 * @cfg
52 * @member CKEDITOR.config
53 */
54CKEDITOR.config.smiley_images = [
55 'regular_smile.png', 'sad_smile.png', 'wink_smile.png', 'teeth_smile.png', 'confused_smile.png', 'tongue_smile.png',
56 'embarrassed_smile.png', 'omg_smile.png', 'whatchutalkingabout_smile.png', 'angry_smile.png', 'angel_smile.png', 'shades_smile.png',
57 'devil_smile.png', 'cry_smile.png', 'lightbulb.png', 'thumbs_down.png', 'thumbs_up.png', 'heart.png',
58 'broken_heart.png', 'kiss.png', 'envelope.png'
59];
60
61/**
62 * The description to be used for each of the smileys defined in the
63 * {@link CKEDITOR.config#smiley_images} setting. Each entry in this array list
64 * must match its relative pair in the {@link CKEDITOR.config#smiley_images}
65 * setting.
66 *
67 * // Default settings.
68 * config.smiley_descriptions = [
69 * 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
70 * 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
71 * 'yes', 'heart', 'broken heart', 'kiss', 'mail'
72 * ];
73 *
74 * // Use textual emoticons as description.
75 * config.smiley_descriptions = [
76 * ':)', ':(', ';)', ':D', ':/', ':P', ':*)', ':-o',
77 * ':|', '>:(', 'o:)', '8-)', '>:-)', ';(', '', '', '',
78 * '', '', ':-*', ''
79 * ];
80 *
81 * @cfg
82 * @member CKEDITOR.config
83 */
84CKEDITOR.config.smiley_descriptions = [
85 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
86 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
87 'yes', 'heart', 'broken heart', 'kiss', 'mail'
88];
89
90/**
91 * The number of columns to be generated by the smilies matrix.
92 *
93 * config.smiley_columns = 6;
94 *
95 * @since 3.3.2
96 * @cfg {Number} [smiley_columns=8]
97 * @member CKEDITOR.config
98 */