From 076372c85b8ef283e90d0c02468d9fd37e61956b Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Fri, 22 Nov 2013 12:22:19 +0100 Subject: [PATCH] Upper-cased Image2 and Language button names. --- plugins/image2/plugin.js | 2 +- plugins/language/plugin.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/image2/plugin.js b/plugins/image2/plugin.js index 4dbf193fb31..02cec34f30e 100644 --- a/plugins/image2/plugin.js +++ b/plugins/image2/plugin.js @@ -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' diff --git a/plugins/language/plugin.js b/plugins/language/plugin.js index f254c3f9268..f106e26f07b 100644 --- a/plugins/language/plugin.js +++ b/plugins/language/plugin.js @@ -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' ); }