X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FWelcome.php;h=02008a4a8673a9ae8319d86792dc5b4b9422f0ca;hb=8894b482dc9487c3e5dd6372f3d27b0775596e73;hp=3e757e7cf51d1720e321fe2f7440ac3e2e0abaed;hpb=5dfee31108fc92a7abca5f99b8fdf1b34aec5dd5;p=friendica.git diff --git a/src/Module/Welcome.php b/src/Module/Welcome.php index 3e757e7cf5..02008a4a86 100644 --- a/src/Module/Welcome.php +++ b/src/Module/Welcome.php @@ -1,9 +1,27 @@ . + * + */ namespace Friendica\Module; use Friendica\BaseModule; -use Friendica\Core\L10n; use Friendica\Core\Renderer; use Friendica\DI; @@ -12,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(); @@ -42,7 +60,7 @@ class Welcome extends BaseModule '$profiles_link' => DI::l10n()->t('Edit Your Profile'), '$profiles_txt' => DI::l10n()->t('Edit your default 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,