Skip to content

Commit

Permalink
Merge pull request ckeditor#1794 from ckeditor/t/1792
Browse files Browse the repository at this point in the history
Add language entry for Easy Image upload command
  • Loading branch information
mlewand authored Mar 14, 2018
2 parents 5801263 + d9f076a commit 66deed6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev/langtool/meta/ckeditor.plugin-easyimage/meta.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 2 additions & 1 deletion plugins/easyimage/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
} );
2 changes: 1 addition & 1 deletion plugins/easyimage/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
} );
Expand Down

0 comments on commit 66deed6

Please sign in to comment.