Node.js based forum software built for the modern web
fix: language keys
Barış Soner Uşaklı350052ec50fb
diff --git a/public/language/en-GB/user.json b/public/language/en-GB/user.jsonindex ae12d79fb5..20f47a6d95 100644--- a/public/language/en-GB/user.json+++ b/public/language/en-GB/user.json@@ -112,7 +112,7 @@"has_no_ignored_topics": "This user hasn't ignored any topics yet.","has_no_upvoted_posts": "This user hasn't upvoted any posts yet.","has_no_downvoted_posts": "This user hasn't downvoted any posts yet.",- "has_no_voted_posts": "This user has no voted posts",+ "has_no_controversial_posts": "This user does not have any downvoted posts yet.","has_no_blocks": "You have blocked no users.","email_hidden": "Email Hidden",diff --git a/src/controllers/accounts/posts.js b/src/controllers/accounts/posts.jsindex 1a81e1bcef..a43a70ccd4 100644--- a/src/controllers/accounts/posts.js+++ b/src/controllers/accounts/posts.js@@ -49,7 +49,7 @@ const templateToData = {},'account/best': {type: 'posts',- noItemsFoundKey: '[[user:has_no_voted_posts]]',+ noItemsFoundKey: '[[user:has_no_best_posts]]',crumb: '[[global:best]]',getSets: async function (callerUid, userData) {const cids = await categories.getCidsByPrivilege('categories:cid', callerUid, 'topics:read');@@ -67,7 +67,7 @@ const templateToData = {},'account/controversial': {type: 'posts',- noItemsFoundKey: '[[user:has_no_voted_posts]]',+ noItemsFoundKey: '[[user:has_no_controversial_posts]]',crumb: '[[global:controversial]]',getSets: async function (callerUid, userData) {const cids = await categories.getCidsByPrivilege('categories:cid', callerUid, 'topics:read');