From 1000df09ff6ff5ab58bae016bcee0c877d28b066 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 21 Apr 2014 15:15:38 -0400 Subject: [PATCH] replaced hardcoded english string --- public/language/en_GB/topic.json | 2 ++ src/topics/posts.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/language/en_GB/topic.json b/public/language/en_GB/topic.json index 4b12428c86..7669a23fe0 100644 --- a/public/language/en_GB/topic.json +++ b/public/language/en_GB/topic.json @@ -6,6 +6,8 @@ "no_topics_found": "No topics found!", "no_posts_found": "No posts found!", + "post_is_deleted": "This post is deleted!", + "profile": "Profile", "posted_by": "Posted by %1", "chat": "Chat", diff --git a/src/topics/posts.js b/src/topics/posts.js index f75c9bff3a..6d59daf763 100644 --- a/src/topics/posts.js +++ b/src/topics/posts.js @@ -70,7 +70,7 @@ module.exports = function(Topics) { postData[i].display_move_tools = results.privileges[i].move; if(postData[i].deleted && !results.privileges[i].view_deleted) { - postData[i].content = 'This post is deleted!'; + postData[i].content = '[[topic:post_is_deleted]]'; } }