aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/include/category/main.php3
-rw-r--r--core/language/de.php5
-rw-r--r--core/language/en.php5
3 files changed, 12 insertions, 1 deletions
diff --git a/core/include/category/main.php b/core/include/category/main.php
index 46ffa75..0fcece3 100644
--- a/core/include/category/main.php
+++ b/core/include/category/main.php
@@ -126,7 +126,8 @@ $MainTemplate->set('CATEGORY', $category_data);
$MainTemplate->set('CATEGORIES', $category_list ?? []);
$MainTemplate->set('HTML', $CategoryTemplate);
$MainTemplate->set('HEAD', [
- 'NAME' => $category_data['ATTR']['NAME'],
+ 'NAME' => Application::getLanguage()->text('title_category',
+ [$category_data['ATTR']['NAME'], $currentSite]),
'DESC' => description($category_data['BODY']['HTML'](),
Application::get('CATEGORY.DESCRIPTION_SIZE')),
'PERM' => $category_data['URL'],
diff --git a/core/language/de.php b/core/language/de.php
index 3424e1a..59a622c 100644
--- a/core/language/de.php
+++ b/core/language/de.php
@@ -210,6 +210,11 @@ $LANGUAGE['title_post_overview'] = "{$LANGUAGE['post_overview']} [%d]";
$LANGUAGE['title_user_overview'] = "{$LANGUAGE['user_overview']} [%d]";
#===============================================================================
+# Category title
+#===============================================================================
+$LANGUAGE['title_category'] = '%s [%d]';
+
+#===============================================================================
# Search titles
#===============================================================================
$LANGUAGE['title_search_request'] = 'Volltextsuche';
diff --git a/core/language/en.php b/core/language/en.php
index 84e448f..63d1762 100644
--- a/core/language/en.php
+++ b/core/language/en.php
@@ -210,6 +210,11 @@ $LANGUAGE['title_post_overview'] = "{$LANGUAGE['post_overview']} [%d]";
$LANGUAGE['title_user_overview'] = "{$LANGUAGE['user_overview']} [%d]";
#===============================================================================
+# Category title
+#===============================================================================
+$LANGUAGE['title_category'] = '%s [%d]';
+
+#===============================================================================
# Search titles
#===============================================================================
$LANGUAGE['title_search_request'] = 'Fulltext search';