]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Feature.php
Merge pull request #13646 from annando/page-drop
[friendica.git] / src / Content / Feature.php
index 0f3493ab292055c26ee4924f55c9221d25f94c9d..b9b9d2e0e62647e67ca0ae92c42bdf8d4a846c52 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -79,7 +79,7 @@ class Feature
         * Get a list of all available features
         *
         * The array includes the setting group, the setting name,
-        * explainations for the setting and if it's enabled or disabled
+        * explanations for the setting and if it's enabled or disabled
         * by default
         *
         * @param bool $filtered True removes any locked features
@@ -102,8 +102,9 @@ class Feature
                        // Post composition
                        'composition' => [
                                DI::l10n()->t('Post Composition Features'),
-                               ['aclautomention', DI::l10n()->t('Auto-mention Forums'), DI::l10n()->t('Add/remove mention when a forum page is selected/deselected in ACL window.'), false, DI::config()->get('feature_lock', 'aclautomention', false)],
+                               ['aclautomention', DI::l10n()->t('Auto-mention Groups'), DI::l10n()->t('Add/remove mention when a group page is selected/deselected in ACL window.'), false, DI::config()->get('feature_lock', 'aclautomention', false)],
                                ['explicit_mentions', DI::l10n()->t('Explicit Mentions'), DI::l10n()->t('Add explicit mentions to comment box for manual control over who gets mentioned in replies.'), false, DI::config()->get('feature_lock', 'explicit_mentions', false)],
+                               ['add_abstract', DI::l10n()->t('Add an abstract from ActivityPub content warnings'), DI::l10n()->t('Add an abstract when commenting on ActivityPub posts with a content warning. Abstracts are displayed as content warning on systems like Mastodon or Pleroma.'), false, DI::config()->get('feature_lock', 'add_abstract', false)],
                        ],
 
                        // Item tools
@@ -115,10 +116,16 @@ class Feature
                        // Advanced Profile Settings
                        'advanced_profile' => [
                                DI::l10n()->t('Advanced Profile Settings'),
-                               ['forumlist_profile',   DI::l10n()->t('List Forums'),             DI::l10n()->t('Show visitors public community forums at the Advanced Profile Page'), false, DI::config()->get('feature_lock', 'forumlist_profile', false)],
+                               ['forumlist_profile',   DI::l10n()->t('List Groups'),             DI::l10n()->t('Show visitors public groups at the Advanced Profile Page'), false, DI::config()->get('feature_lock', 'forumlist_profile', false)],
                                ['tagadelic',           DI::l10n()->t('Tag Cloud'),               DI::l10n()->t('Provide a personal tag cloud on your profile page'), false, DI::config()->get('feature_lock', 'tagadelic', false)],
                                ['profile_membersince', DI::l10n()->t('Display Membership Date'), DI::l10n()->t('Display membership date in profile'), false, DI::config()->get('feature_lock', 'profile_membersince', false)],
                        ],
+
+                       //Advanced Calendar Settings
+                       'advanced_calendar' => [
+                               DI::l10n()->t('Advanced Calendar Settings'),
+                               ['public_calendar',     DI::l10n()->t('Allow anonymous access to your calendar'), DI::l10n()->t('Allows anonymous visitors to consult your calendar and your public events. Contact birthday events are private to you.'), false, DI::config()->get('feature_lock', 'public_calendar', false)],
+                       ]
                ];
 
                // removed any locked features and remove the entire category if this makes it empty