mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
fix: language keys
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user