mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-12 01:27:38 +01:00
replaced hardcoded english string
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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]]';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user