From df71168ab76531b399829ebad3f363b563f135ad Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 19 Jan 2022 09:41:16 +0000 Subject: fix channel app naming and translation and cleanup apps with an db update --- Zotlabs/Lib/Apps.php | 4 ++-- Zotlabs/Module/Channel.php | 2 +- Zotlabs/Update/_1251.php | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 Zotlabs/Update/_1251.php (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 6ce052b06..a6b5c192c 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -70,7 +70,7 @@ class Apps { 'Contact Roles', 'Network', 'Files', - 'Channel Home', + 'Channel', 'Photos', 'Calendar', 'Directory', @@ -344,7 +344,7 @@ class Apps { 'Files' => t('Files'), 'Webpages' => t('Webpages'), 'Wiki' => t('Wiki'), - 'Channel Home' => t('Channel Home'), + 'Channel' => t('Channel'), 'View Profile' => t('View Profile'), 'Photos' => t('Photos'), 'Calendar' => t('Calendar'), diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index 1bf69dc4c..aebc70c15 100644 --- a/Zotlabs/Module/Channel.php +++ b/Zotlabs/Module/Channel.php @@ -224,7 +224,7 @@ class Channel extends Controller { if (!$update) { - nav_set_selected(t('Channel')); + nav_set_selected('Channel'); // search terms header if ($search) { diff --git a/Zotlabs/Update/_1251.php b/Zotlabs/Update/_1251.php new file mode 100644 index 000000000..ee72075d1 --- /dev/null +++ b/Zotlabs/Update/_1251.php @@ -0,0 +1,23 @@ +