Skip to content

Commit

Permalink
Upper-cased Image2 and Language button names.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Nov 22, 2013
1 parent 518b718 commit 076372c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/image2/plugin.js
Expand Up @@ -69,7 +69,7 @@
editor.widgets.add( 'image2', image2 );

// Add toolbar button for this plugin.
editor.ui.addButton && editor.ui.addButton( 'image2', {
editor.ui.addButton && editor.ui.addButton( 'Image2', {
label: editor.lang.common.image,
command: 'image2',
toolbar: 'insert,10'
Expand Down
2 changes: 1 addition & 1 deletion plugins/language/plugin.js
Expand Up @@ -94,7 +94,7 @@
editor.addMenuGroup( 'language_remove' ); // Group order is skipped intentionally, it will be placed at the end.
editor.addMenuItems( items );

editor.ui.add( 'language', CKEDITOR.UI_MENUBUTTON, {
editor.ui.add( 'Language', CKEDITOR.UI_MENUBUTTON, {
label: lang.button,
// MenuButtons do not (yet) has toFeature method, so we cannot do this:
// toFeature: function( editor ) { return editor.getCommand( 'language' ); }
Expand Down

0 comments on commit 076372c

Please sign in to comment.