diff --git a/resources/syntaxhighlight-wikieditor.js b/resources/syntaxhighlight-wikieditor.js index f85922e..9f32b68 100644 --- a/resources/syntaxhighlight-wikieditor.js +++ b/resources/syntaxhighlight-wikieditor.js @@ -4,7 +4,7 @@ mw.hook('wikiEditor.toolbarReady').add(function ($textarea) { group: 'insert', tools: { smile: { - labelMsg: 'syntaxhighlight-wikieditor-button', + label: mw.message( 'syntaxhighlight-wikieditor-button' ).text(), type: 'button', oouiIcon: 'code', action: { @@ -18,4 +18,4 @@ mw.hook('wikiEditor.toolbarReady').add(function ($textarea) { } } }); -}); \ No newline at end of file +});