Node.js based forum software built for the modern web
closes #1461
barisusakli3c96857123f4
diff --git a/public/language/en_GB/topic.json b/public/language/en_GB/topic.jsonindex 2af258a89d..8958beb1dc 100644--- a/public/language/en_GB/topic.json+++ b/public/language/en_GB/topic.json@@ -82,6 +82,7 @@"loading_more_posts": "Loading More Posts","move_topic": "Move Topic",+ "move_topics": "Move Topics","move_post": "Move Post","post_moved": "Post moved!","fork_topic": "Fork Topic",diff --git a/public/src/forum/topic/move.js b/public/src/forum/topic/move.jsindex 937b072124..c1a0fe2d59 100644--- a/public/src/forum/topic/move.js+++ b/public/src/forum/topic/move.js@@ -19,6 +19,13 @@ define(function() {modal.on('shown.bs.modal', onMoveModalShown);$('#move-confirm').hide();++ if (tids.length > 1) {+ translator.translate('[[topic:move_topics]]', function(translated) {+ modal.find('.modal-header h3').text(translated);+ });+ }+modal.modal('show');};@@ -93,9 +100,10 @@ define(function() {if(parseInt(info.cid, 10) === parseInt(Move.currentCid, 10)) {continue;}+$('<li />').css({background: info.bgColor, color: info.color || '#fff'})- .addClass(info.disabled === '1' ? ' disabled' : '')+ .toggleClass('disabled', info.disabled).attr('data-cid', info.cid).html('<i class="fa ' + info.icon + '"></i> ' + info.name).appendTo(categoriesEl);