diff --git a/dev/langtool/meta/ckeditor.plugin-easyimage/meta.txt b/dev/langtool/meta/ckeditor.plugin-easyimage/meta.txt index 730ad4da596..2c20d685a4c 100644 --- a/dev/langtool/meta/ckeditor.plugin-easyimage/meta.txt +++ b/dev/langtool/meta/ckeditor.plugin-easyimage/meta.txt @@ -4,4 +4,5 @@ commands.fullImage = Label for the button converting an image to a full width image. commands.sideImage = Label for the button converting an image to a side image. commands.altText = Label for the button assigning the image an alternative text. +commands.upload = Label for the editor toolbar button uploading an image to a server. uploadFailed = Alert message displayed when the image could not be uploaded due to a network error. diff --git a/plugins/easyimage/lang/en.js b/plugins/easyimage/lang/en.js index 97f7337e6c3..f92ff021504 100644 --- a/plugins/easyimage/lang/en.js +++ b/plugins/easyimage/lang/en.js @@ -7,7 +7,8 @@ CKEDITOR.plugins.setLang( 'easyimage', 'en', { commands: { fullImage: 'Full Size Image', sideImage: 'Side Image', - altText: 'Change image alternative text' + altText: 'Change image alternative text', + upload: 'Upload Image' }, uploadFailed: 'Your image could not be uploaded due to a network error.' } ); diff --git a/plugins/easyimage/plugin.js b/plugins/easyimage/plugin.js index 59ca7678eeb..a7cc0b2adc5 100644 --- a/plugins/easyimage/plugin.js +++ b/plugins/easyimage/plugin.js @@ -507,7 +507,7 @@ function addUploadButtonToToolbar( editor ) { editor.ui.addButton( BUTTON_PREFIX + 'Upload', { - label: editor.lang.common.upload, + label: editor.lang.easyimage.commands.upload, command: 'easyimageUpload', toolbar: 'insert,1' } );