diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.js index 71df716198..41aa3d4ca4 100644 --- a/public/src/client/topic/postTools.js +++ b/public/src/client/topic/postTools.js @@ -377,15 +377,18 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator } templates.parse('partials/modals/votes_modal', data, function(html) { - var dialog = bootbox.dialog({ - title: 'Voters', - message: html, - className: 'vote-modal', - show: true - }); - - dialog.on('click', function() { - dialog.modal('hide'); + translator.translate(html, function(translated) { + var dialog = bootbox.dialog({ + title: 'Voters', + message: translated, + className: 'vote-modal', + show: true + }); + + dialog.on('click', function() { + dialog.modal('hide'); + }); + }); }); });