Skip to content

Commit

Permalink
Merge pull request summernote#2660 from muan/i18nfix
Browse files Browse the repository at this point in the history
Use localized tooltip on buttons like style.h1
  • Loading branch information
hackerwins authored Jan 20, 2018
2 parents 06fc53e + c62e26a commit 6abd5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/base/module/Buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default class Buttons {
return this.button({
className: 'note-btn-style-' + item,
contents: '<div data-value="' + item + '">' + item.toUpperCase() + '</div>',
tooltip: item.toUpperCase(),
tooltip: this.lang.style[item],
click: this.context.createInvokeHandler('editor.formatBlock')
}).render();
});
Expand Down

0 comments on commit 6abd5d7

Please sign in to comment.