Node.js based forum software built for the modern web
moved newlines from language file to core
barisusakli41ed52a41433
diff --git a/public/language/en_GB/modules.json b/public/language/en_GB/modules.jsonindex fdaf14dd5b..9bf107bec6 100644--- a/public/language/en_GB/modules.json+++ b/public/language/en_GB/modules.json@@ -13,7 +13,7 @@"chat.pop-out": "Pop out chat","chat.maximize": "Maximize",- "composer.user_said_in": "%1 said in %2:\n",- "composer.user_said": "%1 said:\n",+ "composer.user_said_in": "%1 said in %2:",+ "composer.user_said": "%1 said:","composer.discard": "Are you sure you wish to discard this post?"}\ No newline at end of filediff --git a/public/src/forum/topic/postTools.js b/public/src/forum/topic/postTools.jsindex b71263bc75..5fe564c3db 100644--- a/public/src/forum/topic/postTools.js+++ b/public/src/forum/topic/postTools.js@@ -150,7 +150,7 @@ define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(comif($('.composer').length) {composer.addQuote(tid, ajaxify.variables.get('topic_slug'), getData(button, 'data-index'), pid, topicName, username, quoted);} else {- composer.newReply(tid, pid, topicName, '[[modules:composer.user_said, ' + username + ']]' + quoted);+ composer.newReply(tid, pid, topicName, '[[modules:composer.user_said, ' + username + ']]\n' + quoted);}});}diff --git a/public/src/modules/composer.js b/public/src/modules/composer.jsindex 478c7738dc..1ca81906de 100644--- a/public/src/modules/composer.js+++ b/public/src/modules/composer.js@@ -119,7 +119,7 @@ define('composer', dependencies, function(taskbar, controls, uploads, formattingvar uuid = composer.active;if (uuid === undefined) {- composer.newReply(tid, pid, title, '[[modules:composer.user_said, ' + username + ']]' + text);+ composer.newReply(tid, pid, title, '[[modules:composer.user_said, ' + username + ']]\n' + text);return;}var postContainer = $('#cmp-uuid-' + uuid);@@ -127,9 +127,9 @@ define('composer', dependencies, function(taskbar, controls, uploads, formattingvar prevText = bodyEl.val();if (parseInt(tid, 10) !== parseInt(composer.posts[uuid].tid, 10)) {var link = '[' + title + '](/topic/' + topicSlug + '/' + (parseInt(postIndex, 10) + 1) + ')';- translator.translate('[[modules:composer.user_said_in, ' + username + ', ' + link + ']]', onTranslated);+ translator.translate('[[modules:composer.user_said_in, ' + username + ', ' + link + ']]\n', onTranslated);} else {- translator.translate('[[modules:composer.user_said, ' + username + ']]', onTranslated);+ translator.translate('[[modules:composer.user_said, ' + username + ']]\n', onTranslated);}function onTranslated(translated) {