Localization for a custom button in TinyMCE

I added a TinyMCE button with this:

editor.addButton('x', {
    title : 'do stuff',
    onclick : function() {
    }
});

      

In the setting function. It works well. But I need to localize the title. How can I do this (easiest way)?

+3
javascript tinymce localization


source to share


No one has answered this question yet

Check out similar questions:

6493
var functionName = function () {} vs function functionName () {}
5129
How do I return a response from an asynchronous call?
2644
Is there a function "exists" for jQuery?
2466
Sorting an array of objects by the value of the string property
2414
How can I find out which radio button is selected using jQuery?
2284
How can I combine properties of two JavaScript objects dynamically?
2201
How do you decide when to use Node.js?
1535
How to print a number with commas as thousands separators in JavaScript
1215
How do you use a variable in a regex?
931
How do I know which DOM element has focus?



All Articles
Loading...
X
Show
Funny
Dev
Pics