fix: language keys

isekai-main
Barış Soner Uşaklı 3 years ago
parent d70ce3a937
commit 350052ec50

@ -112,7 +112,7 @@
"has_no_ignored_topics": "This user hasn't ignored any topics yet.", "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_upvoted_posts": "This user hasn't upvoted any posts yet.",
"has_no_downvoted_posts": "This user hasn't downvoted 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.", "has_no_blocks": "You have blocked no users.",
"email_hidden": "Email Hidden", "email_hidden": "Email Hidden",

@ -49,7 +49,7 @@ const templateToData = {
}, },
'account/best': { 'account/best': {
type: 'posts', type: 'posts',
noItemsFoundKey: '[[user:has_no_voted_posts]]', noItemsFoundKey: '[[user:has_no_best_posts]]',
crumb: '[[global:best]]', crumb: '[[global:best]]',
getSets: async function (callerUid, userData) { getSets: async function (callerUid, userData) {
const cids = await categories.getCidsByPrivilege('categories:cid', callerUid, 'topics:read'); const cids = await categories.getCidsByPrivilege('categories:cid', callerUid, 'topics:read');
@ -67,7 +67,7 @@ const templateToData = {
}, },
'account/controversial': { 'account/controversial': {
type: 'posts', type: 'posts',
noItemsFoundKey: '[[user:has_no_voted_posts]]', noItemsFoundKey: '[[user:has_no_controversial_posts]]',
crumb: '[[global:controversial]]', crumb: '[[global:controversial]]',
getSets: async function (callerUid, userData) { getSets: async function (callerUid, userData) {
const cids = await categories.getCidsByPrivilege('categories:cid', callerUid, 'topics:read'); const cids = await categories.getCidsByPrivilege('categories:cid', callerUid, 'topics:read');

Loading…
Cancel
Save