diff --git a/public/src/forum/category.js b/public/src/forum/category.js index 7ff7e72718..a720f8b715 100644 --- a/public/src/forum/category.js +++ b/public/src/forum/category.js @@ -192,16 +192,18 @@ define(['composer', 'forum/pagination'], function(composer, pagination) { ''+ posts[i].username + '' + '

' + posts[i].content + '

' + ''+ - 'posted '+ + '[[category:posted]] '+ '' + ''+ ''; } - recentReplies.html(replies); + translator.translate(replies, function(translatedHTML) { + recentReplies.html(translatedHTML); - $('#category_recent_replies span.timeago').timeago(); - app.createUserTooltips(); + $('#category_recent_replies span.timeago').timeago(); + app.createUserTooltips(); + }); }; return Category;