From 662d2b31a1977f2ba9c43b1a980662c383d86a11 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 1 Feb 2018 06:11:56 +0000 Subject: [PATCH] Better title for the different communities --- doc/Accesskeys.md | 5 +++++ mod/community.php | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/Accesskeys.md b/doc/Accesskeys.md index b9e5f5430..550a00e5a 100644 --- a/doc/Accesskeys.md +++ b/doc/Accesskeys.md @@ -15,6 +15,11 @@ General * f: notifications * u: user menu (in themes "vier" and "quattro") +/community +-------- +* l: Local community +* g: Global community + /profile -------- * m: Status Messages and Posts diff --git a/mod/community.php b/mod/community.php index 29fcd4479..06c15d008 100644 --- a/mod/community.php +++ b/mod/community.php @@ -72,7 +72,7 @@ function community_content(App $a, $update = 0) if ((local_user() || in_array($page_style, [CP_USERS_AND_GLOBAL, CP_USERS_ON_SERVER])) && empty(Config::get('system', 'singleuser'))) { $tabs[] = [ - 'label' => L10n::t('Community'), + 'label' => L10n::t('Local Community'), 'url' => 'community/local', 'sel' => $content == 'local' ? 'active' : '', 'title' => L10n::t('Posts from local users on this server'), @@ -83,10 +83,10 @@ function community_content(App $a, $update = 0) if (local_user() || in_array($page_style, [CP_USERS_AND_GLOBAL, CP_GLOBAL_COMMUNITY])) { $tabs[] = [ - 'label' => L10n::t('Global Timeline'), + 'label' => L10n::t('Global Community'), 'url' => 'community/global', 'sel' => $content == 'global' ? 'active' : '', - 'title' => L10n::t('Posts from users of the federated network'), + 'title' => L10n::t('Posts from users of the whole federated network'), 'id' => 'community-global-tab', 'accesskey' => 'g' ];