Skip to content

Commit 076372c

Browse files
committed
Upper-cased Image2 and Language button names.
1 parent 518b718 commit 076372c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/image2/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
editor.widgets.add( 'image2', image2 );
7070

7171
// Add toolbar button for this plugin.
72-
editor.ui.addButton && editor.ui.addButton( 'image2', {
72+
editor.ui.addButton && editor.ui.addButton( 'Image2', {
7373
label: editor.lang.common.image,
7474
command: 'image2',
7575
toolbar: 'insert,10'

plugins/language/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
editor.addMenuGroup( 'language_remove' ); // Group order is skipped intentionally, it will be placed at the end.
9595
editor.addMenuItems( items );
9696

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

0 commit comments

Comments
 (0)