mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 14:16:25 +02:00
fix: #13193, add lang strings
This commit is contained in:
@@ -15,8 +15,8 @@ const intFields = [
|
||||
|
||||
const worldCategory = {
|
||||
cid: -1,
|
||||
name: 'Uncategorized',
|
||||
description: 'Topics that do not strictly fit in with any existing categories',
|
||||
name: '[[category:uncategorized]]',
|
||||
description: '[[category:uncategorized.description]]',
|
||||
icon: 'fa-globe',
|
||||
imageClass: 'cover',
|
||||
bgColor: '#eee',
|
||||
|
||||
@@ -66,7 +66,6 @@ controller.list = async function (req, res) {
|
||||
targetUid: targetUid,
|
||||
};
|
||||
const data = await categories.getCategoryById(cidQuery);
|
||||
data.name = '[[world:name]]';
|
||||
delete data.children;
|
||||
|
||||
const tids = await getTids(cidQuery);
|
||||
|
||||
Reference in New Issue
Block a user