]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Welcome.php
Merge pull request #13238 from annando/issue-13221
[friendica.git] / src / Module / Welcome.php
index 7f102c13d3de8b511c8e5b67e7c7e7f9f09ad2fc..ad35f31e89b81f8f8aab5f88bbd9d9adc692f8d1 100644 (file)
@@ -1,4 +1,23 @@
 <?php
+/**
+ * @copyright Copyright (C) 2010-2023, the Friendica project
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
 
 namespace Friendica\Module;
 
@@ -11,7 +30,7 @@ use Friendica\DI;
  */
 class Welcome extends BaseModule
 {
-       public static function content(array $parameters = [])
+       protected function content(array $request = []): string
        {
                $config = DI::config();
 
@@ -41,7 +60,7 @@ class Welcome extends BaseModule
                        '$profiles_link'          => DI::l10n()->t('Edit Your Profile'),
                        '$profiles_txt'           => DI::l10n()->t('Edit your <strong>default</strong> profile to your liking. Review the settings for hiding your list of friends and hiding the profile from unknown visitors.'),
                        '$profiles_keywords_link' => DI::l10n()->t('Profile Keywords'),
-                       '$profiles_keywords_txt'  => DI::l10n()->t('Set some public keywords for your default profile which describe your interests. We may be able to find other people with similar interests and suggest friendships.'),
+                       '$profiles_keywords_txt'  => DI::l10n()->t('Set some public keywords for your profile which describe your interests. We may be able to find other people with similar interests and suggest friendships.'),
 
                        '$connecting'       => DI::l10n()->t('Connecting'),
                        '$mail_disabled'    => $mail_disabled,
@@ -54,9 +73,9 @@ class Welcome extends BaseModule
                        '$finding_link'     => DI::l10n()->t('Finding New People'),
                        '$finding_txt'      => DI::l10n()->t('On the side panel of the Contacts page are several tools to find new friends. We can match people by interest, look up people by name or interest, and provide suggestions based on network relationships. On a brand new site, friend suggestions will usually begin to be populated within 24 hours.'),
 
-                       '$groups'             => DI::l10n()->t('Groups'),
-                       '$group_contact_link' => DI::l10n()->t('Group Your Contacts'),
-                       '$group_contact_txt'  => DI::l10n()->t('Once you have made some friends, organize them into private conversation groups from the sidebar of your Contacts page and then you can interact with each group privately on your Network page.'),
+                       '$circles'             => DI::l10n()->t('Circles'),
+                       '$circle_contact_link' => DI::l10n()->t('Add Your Contacts To Circle'),
+                       '$circle_contact_txt'  => DI::l10n()->t('Once you have made some friends, organize them into private conversation circles from the sidebar of your Contacts page and then you can interact with each circle privately on your Network page.'),
                        '$newuser_private'    => $newuser_private,
                        '$private_link'       => DI::l10n()->t('Why Aren\'t My Posts Public?'),
                        '$private_txt'        => DI::l10n()->t('Friendica respects your privacy. By default, your posts will only show up to people you\'ve added as friends. For more information, see the help section from the link above.'),