Skip to content

Commit

Permalink
Merge pull request editor-js#70 from hagemann/patch-1
Browse files Browse the repository at this point in the history
Enhanced failure message
  • Loading branch information
neSpecc authored Jun 4, 2020
2 parents b2bf8db + d9235a8 commit 4cfb672
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@editorjs/image",
"version": "2.4.0",
"version": "2.4.1",
"keywords": [
"codex editor",
"tool",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export default class ImageTool {
console.log('Image Tool: uploading failed because of', errorText);

this.api.notifier.show({
message: this.api.i18n.t('Can not upload an image, try another'),
message: this.api.i18n.t('Couldn’t upload image. Please try another.'),
style: 'error',
});
this.ui.hidePreloader();
Expand Down

0 comments on commit 4cfb672

Please sign in to comment.