storypioneers / kirby-wysiwyg

WYSIWYG panel field for Kirby CMS
Other
125 stars 16 forks source link

How to translate button tooltips? #31

Closed heyallan closed 3 years ago

heyallan commented 8 years ago

Tooltips come from this file:

/wysiwyg/assets/js/vendor/medium-editor-5.9.0.min.js

// 'heading type 2' for instance:
h2: {
  name: "h2",
  action: "append-h2",
  aria: "header type two",
  tagNames: ["h2"],
  contentDefault: "<b>H2</b>",
  contentFA: '<i class="fa fa-header"><sup>2</sup>'
}

How to translate that?