Channels are now added to the settings menu

This commit is contained in:
Michael 2023-09-21 06:49:07 +00:00
parent c9f74cc55f
commit 073da9735d
2 changed files with 18 additions and 11 deletions

View file

@ -121,6 +121,13 @@ class BaseSettings extends BaseModule
'accesskey' => 'i', 'accesskey' => 'i',
]; ];
$tabs[] = [
'label' => $this->t('Channels'),
'url' => 'settings/channels',
'selected' => static::class == Settings\Display::class ? 'active' : '',
'accesskey' => '',
];
$tabs[] = [ $tabs[] = [
'label' => $this->t('Social Networks'), 'label' => $this->t('Social Networks'),
'url' => 'settings/connectors', 'url' => 'settings/connectors',

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2023.09-dev\n" "Project-Id-Version: 2023.09-dev\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-20 21:42+0000\n" "POT-Creation-Date: 2023-09-21 06:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -2103,7 +2103,7 @@ msgid "Manage other pages"
msgstr "" msgstr ""
#: src/Content/Nav.php:327 src/Module/Admin/Addons/Details.php:114 #: src/Content/Nav.php:327 src/Module/Admin/Addons/Details.php:114
#: src/Module/Admin/Themes/Details.php:93 src/Module/BaseSettings.php:175 #: src/Module/Admin/Themes/Details.php:93 src/Module/BaseSettings.php:182
#: src/Module/Welcome.php:52 view/theme/frio/theme.php:242 #: src/Module/Welcome.php:52 view/theme/frio/theme.php:242
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
@ -2366,8 +2366,8 @@ msgstr ""
msgid "All" msgid "All"
msgstr "" msgstr ""
#: src/Content/Widget.php:577 src/Module/Settings/Channels.php:140 #: src/Content/Widget.php:577 src/Module/BaseSettings.php:125
#: src/Module/Settings/Display.php:266 #: src/Module/Settings/Channels.php:140 src/Module/Settings/Display.php:266
msgid "Channels" msgid "Channels"
msgstr "" msgstr ""
@ -3900,7 +3900,7 @@ msgid "Administration"
msgstr "" msgstr ""
#: src/Module/Admin/Addons/Details.php:112 src/Module/Admin/Addons/Index.php:68 #: src/Module/Admin/Addons/Details.php:112 src/Module/Admin/Addons/Index.php:68
#: src/Module/BaseAdmin.php:92 src/Module/BaseSettings.php:132 #: src/Module/BaseAdmin.php:92 src/Module/BaseSettings.php:139
msgid "Addons" msgid "Addons"
msgstr "" msgstr ""
@ -5768,27 +5768,27 @@ msgstr ""
msgid "Display" msgid "Display"
msgstr "" msgstr ""
#: src/Module/BaseSettings.php:125 src/Module/Settings/Connectors.php:204 #: src/Module/BaseSettings.php:132 src/Module/Settings/Connectors.php:204
msgid "Social Networks" msgid "Social Networks"
msgstr "" msgstr ""
#: src/Module/BaseSettings.php:139 src/Module/Settings/Delegation.php:172 #: src/Module/BaseSettings.php:146 src/Module/Settings/Delegation.php:172
msgid "Manage Accounts" msgid "Manage Accounts"
msgstr "" msgstr ""
#: src/Module/BaseSettings.php:146 #: src/Module/BaseSettings.php:153
msgid "Connected apps" msgid "Connected apps"
msgstr "" msgstr ""
#: src/Module/BaseSettings.php:153 #: src/Module/BaseSettings.php:160
msgid "Remote servers" msgid "Remote servers"
msgstr "" msgstr ""
#: src/Module/BaseSettings.php:160 src/Module/Settings/UserExport.php:98 #: src/Module/BaseSettings.php:167 src/Module/Settings/UserExport.php:98
msgid "Export personal data" msgid "Export personal data"
msgstr "" msgstr ""
#: src/Module/BaseSettings.php:167 #: src/Module/BaseSettings.php:174
msgid "Remove account" msgid "Remove account"
msgstr "" msgstr ""