From ab5d9d899eb54f5195dfd8c220aa96daba852145 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 3 Aug 2021 23:20:44 +0200 Subject: Show current page in categories element Posts in a category are paginated, so display the number of the current page in square brackets within the categories <title> element. --- core/language/de.php | 5 +++++ core/language/en.php | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'core/language') 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 @@ -209,6 +209,11 @@ $LANGUAGE['title_page_overview'] = "{$LANGUAGE['page_overview']} [%d]"; $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 #=============================================================================== 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 @@ -209,6 +209,11 @@ $LANGUAGE['title_page_overview'] = "{$LANGUAGE['page_overview']} [%d]"; $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 #=============================================================================== -- cgit v1.2.3