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 b9e5f5430a..550a00e5a9 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 29fcd44794..06c15d0083 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' ];