Node.js based forum software built for the modern web
fix: #13193, add lang strings
Barış Soner Uşaklı2c830567784c
diff --git a/install/package.json b/install/package.jsonindex 15588af5c9..361f5fd644 100644--- a/install/package.json+++ b/install/package.json@@ -99,7 +99,7 @@"multiparty": "4.2.3","nconf": "0.12.1","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-emoji": "6.0.2","nodebb-plugin-emoji-android": "4.1.1",@@ -108,7 +108,7 @@"nodebb-plugin-spam-be-gone": "2.3.1","nodebb-plugin-web-push": "0.7.2","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-peace": "2.2.39","nodebb-theme-persona": "14.0.15",diff --git a/public/language/en-GB/category.json b/public/language/en-GB/category.jsonindex 7e3c6630c5..f6cea780cb 100644--- a/public/language/en-GB/category.json+++ b/public/language/en-GB/category.json@@ -1,7 +1,8 @@{"category": "Category","subcategories": "Subcategories",-+ "uncategorized": "Uncategorized",+ "uncategorized.description": "Topics that do not strictly fit in with any existing categories","new-topic-button": "New Topic","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?",diff --git a/src/categories/data.js b/src/categories/data.jsindex 2b4e029caf..8890abf670 100644--- a/src/categories/data.js+++ b/src/categories/data.js@@ -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',diff --git a/src/controllers/activitypub/topics.js b/src/controllers/activitypub/topics.jsindex 7a871a6876..fac130eb97 100644--- a/src/controllers/activitypub/topics.js+++ b/src/controllers/activitypub/topics.js@@ -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);