diff --git a/public/src/forum/categoryTools.js b/public/src/forum/categoryTools.js index 30cdd3177d..cc4044aba9 100644 --- a/public/src/forum/categoryTools.js +++ b/public/src/forum/categoryTools.js @@ -128,7 +128,7 @@ define('forum/categoryTools', ['forum/topic/move', 'topicSelect'], function(move var isAnyPinned = isAny(isTopicPinned, tids); var isAnyLocked = isAny(isTopicLocked, tids); - translator.translate(' [[topic:thread_tools.' + (isAnyDeleted ? 'restore' : 'delete') + ']]', function(translated) { + translator.translate(' [[topic:thread_tools.' + (isAnyDeleted ? 'restore' : 'delete') + ']]', function(translated) { $('.delete_thread span').html(translated); }); diff --git a/public/src/forum/topic/postTools.js b/public/src/forum/topic/postTools.js index bbfcfe6c05..186221c0a9 100644 --- a/public/src/forum/topic/postTools.js +++ b/public/src/forum/topic/postTools.js @@ -24,7 +24,7 @@ define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(com postEl.find('.purge').toggleClass('none', !isDeleted); translator.translate(isDeleted ? ' [[topic:restore]]' : ' [[topic:delete]]', function(translated) { - postEl.find('.delete').find('i').toggleClass('fa-trash-o', !isDeleted).toggleClass('fa-comment', isDeleted); + postEl.find('.delete').find('i').toggleClass('fa-trash-o', !isDeleted).toggleClass('fa-history', isDeleted); postEl.find('.delete').find('span').html(translated); }); }; diff --git a/public/src/forum/topic/threadTools.js b/public/src/forum/topic/threadTools.js index 52118e13dc..c938cc132f 100644 --- a/public/src/forum/topic/threadTools.js +++ b/public/src/forum/topic/threadTools.js @@ -116,7 +116,7 @@ define('forum/topic/threadTools', ['forum/topic/fork', 'forum/topic/move'], func return; } - translator.translate(' [[topic:thread_tools.' + (data.isDelete ? 'restore' : 'delete') + ']]', function(translated) { + translator.translate(' [[topic:thread_tools.' + (data.isDelete ? 'restore' : 'delete') + ']]', function(translated) { $('.delete_thread span').html(translated); });