fix: #13193, add lang strings

This commit is contained in:
Barış Soner Uşaklı
2025-02-22 17:12:45 -05:00
parent b8c8ae0998
commit 2c83056778
4 changed files with 6 additions and 6 deletions

View File

@@ -99,7 +99,7 @@
"multiparty": "4.2.3", "multiparty": "4.2.3",
"nconf": "0.12.1", "nconf": "0.12.1",
"nodebb-plugin-2factor": "7.5.9", "nodebb-plugin-2factor": "7.5.9",
"nodebb-plugin-composer-default": "10.2.46", "nodebb-plugin-composer-default": "10.2.47",
"nodebb-plugin-dbsearch": "6.2.12", "nodebb-plugin-dbsearch": "6.2.12",
"nodebb-plugin-emoji": "6.0.2", "nodebb-plugin-emoji": "6.0.2",
"nodebb-plugin-emoji-android": "4.1.1", "nodebb-plugin-emoji-android": "4.1.1",
@@ -108,7 +108,7 @@
"nodebb-plugin-spam-be-gone": "2.3.1", "nodebb-plugin-spam-be-gone": "2.3.1",
"nodebb-plugin-web-push": "0.7.2", "nodebb-plugin-web-push": "0.7.2",
"nodebb-rewards-essentials": "1.0.1", "nodebb-rewards-essentials": "1.0.1",
"nodebb-theme-harmony": "2.0.34", "nodebb-theme-harmony": "2.0.35",
"nodebb-theme-lavender": "7.1.17", "nodebb-theme-lavender": "7.1.17",
"nodebb-theme-peace": "2.2.39", "nodebb-theme-peace": "2.2.39",
"nodebb-theme-persona": "14.0.15", "nodebb-theme-persona": "14.0.15",

View File

@@ -1,7 +1,8 @@
{ {
"category": "Category", "category": "Category",
"subcategories": "Subcategories", "subcategories": "Subcategories",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"new-topic-button": "New Topic", "new-topic-button": "New Topic",
"guest-login-post": "Log in to post", "guest-login-post": "Log in to post",
"no-topics": "<strong>There are no topics in this category.</strong><br />Why don't you try posting one?", "no-topics": "<strong>There are no topics in this category.</strong><br />Why don't you try posting one?",

View File

@@ -15,8 +15,8 @@ const intFields = [
const worldCategory = { const worldCategory = {
cid: -1, cid: -1,
name: 'Uncategorized', name: '[[category:uncategorized]]',
description: 'Topics that do not strictly fit in with any existing categories', description: '[[category:uncategorized.description]]',
icon: 'fa-globe', icon: 'fa-globe',
imageClass: 'cover', imageClass: 'cover',
bgColor: '#eee', bgColor: '#eee',

View File

@@ -66,7 +66,6 @@ controller.list = async function (req, res) {
targetUid: targetUid, targetUid: targetUid,
}; };
const data = await categories.getCategoryById(cidQuery); const data = await categories.getCategoryById(cidQuery);
data.name = '[[world:name]]';
delete data.children; delete data.children;
const tids = await getTids(cidQuery); const tids = await getTids(cidQuery);