1
0
Fork 0

Issue 12097: Notify for each new user registration

This commit is contained in:
Michael 2022-11-03 19:59:33 +00:00
commit 0f9e2b6da4
6 changed files with 317 additions and 248 deletions

View file

@ -98,6 +98,7 @@ class Site extends BaseAdmin
$enable_multi_reg = !empty($_POST['enable_multi_reg']); $enable_multi_reg = !empty($_POST['enable_multi_reg']);
$enable_openid = !empty($_POST['enable_openid']); $enable_openid = !empty($_POST['enable_openid']);
$enable_regfullname = !empty($_POST['enable_regfullname']); $enable_regfullname = !empty($_POST['enable_regfullname']);
$register_notification = !empty($_POST['register_notification']);
$community_page_style = (!empty($_POST['community_page_style']) ? intval(trim($_POST['community_page_style'])) : 0); $community_page_style = (!empty($_POST['community_page_style']) ? intval(trim($_POST['community_page_style'])) : 0);
$max_author_posts_community_page = (!empty($_POST['max_author_posts_community_page']) ? intval(trim($_POST['max_author_posts_community_page'])) : 0); $max_author_posts_community_page = (!empty($_POST['max_author_posts_community_page']) ? intval(trim($_POST['max_author_posts_community_page'])) : 0);
@ -266,6 +267,7 @@ class Site extends BaseAdmin
DI::config()->set('system', 'block_extended_register', !$enable_multi_reg); DI::config()->set('system', 'block_extended_register', !$enable_multi_reg);
DI::config()->set('system', 'no_openid' , !$enable_openid); DI::config()->set('system', 'no_openid' , !$enable_openid);
DI::config()->set('system', 'no_regfullname' , !$enable_regfullname); DI::config()->set('system', 'no_regfullname' , !$enable_regfullname);
DI::config()->set('system', 'register_notification' , $register_notification);
DI::config()->set('system', 'community_page_style' , $community_page_style); DI::config()->set('system', 'community_page_style' , $community_page_style);
DI::config()->set('system', 'max_author_posts_community_page', $max_author_posts_community_page); DI::config()->set('system', 'max_author_posts_community_page', $max_author_posts_community_page);
DI::config()->set('system', 'verifyssl' , $verifyssl); DI::config()->set('system', 'verifyssl' , $verifyssl);
@ -492,6 +494,7 @@ class Site extends BaseAdmin
'$enable_multi_reg' => ['enable_multi_reg', DI::l10n()->t('Enable multiple registrations'), !DI::config()->get('system', 'block_extended_register'), DI::l10n()->t('Enable users to register additional accounts for use as pages.')], '$enable_multi_reg' => ['enable_multi_reg', DI::l10n()->t('Enable multiple registrations'), !DI::config()->get('system', 'block_extended_register'), DI::l10n()->t('Enable users to register additional accounts for use as pages.')],
'$enable_openid' => ['enable_openid', DI::l10n()->t('Enable OpenID'), !DI::config()->get('system', 'no_openid'), DI::l10n()->t('Enable OpenID support for registration and logins.')], '$enable_openid' => ['enable_openid', DI::l10n()->t('Enable OpenID'), !DI::config()->get('system', 'no_openid'), DI::l10n()->t('Enable OpenID support for registration and logins.')],
'$enable_regfullname' => ['enable_regfullname', DI::l10n()->t('Enable Fullname check'), !DI::config()->get('system', 'no_regfullname'), DI::l10n()->t('Enable check to only allow users to register with a space between the first name and the last name in their full name.')], '$enable_regfullname' => ['enable_regfullname', DI::l10n()->t('Enable Fullname check'), !DI::config()->get('system', 'no_regfullname'), DI::l10n()->t('Enable check to only allow users to register with a space between the first name and the last name in their full name.')],
'$register_notification' => ['register_notification', DI::l10n()->t('Notify admin on new registration'), DI::config()->get('system', 'register_notification'), DI::l10n()->t('If enabled and the system is set to an open registration, a notification for each new registration is sent to the admin.')],
'$community_page_style' => ['community_page_style', DI::l10n()->t('Community pages for visitors'), DI::config()->get('system', 'community_page_style'), DI::l10n()->t('Which community pages should be available for visitors. Local users always see both pages.'), $community_page_style_choices], '$community_page_style' => ['community_page_style', DI::l10n()->t('Community pages for visitors'), DI::config()->get('system', 'community_page_style'), DI::l10n()->t('Which community pages should be available for visitors. Local users always see both pages.'), $community_page_style_choices],
'$max_author_posts_community_page' => ['max_author_posts_community_page', DI::l10n()->t('Posts per user on community page'), DI::config()->get('system', 'max_author_posts_community_page'), DI::l10n()->t('The maximum number of posts per user on the community page. (Not valid for "Global Community")')], '$max_author_posts_community_page' => ['max_author_posts_community_page', DI::l10n()->t('Posts per user on community page'), DI::config()->get('system', 'max_author_posts_community_page'), DI::l10n()->t('The maximum number of posts per user on the community page. (Not valid for "Global Community")')],
'$mail_able' => function_exists('imap_open'), '$mail_able' => function_exists('imap_open'),

View file

@ -333,6 +333,10 @@ class Register extends BaseModule
if ($res) { if ($res) {
DI::sysmsg()->addInfo(DI::l10n()->t('Registration successful. Please check your email for further instructions.')); DI::sysmsg()->addInfo(DI::l10n()->t('Registration successful. Please check your email for further instructions.'));
$this->sendNotification($user, 'SYSTEM_REGISTER_NEW');
if (DI::config()->get('system', 'register_notification')) {
$this->sendNotification($user, 'SYSTEM_REGISTER_NEW');
}
DI::baseUrl()->redirect(); DI::baseUrl()->redirect();
} else { } else {
DI::sysmsg()->addNotice( DI::sysmsg()->addNotice(
@ -343,6 +347,9 @@ class Register extends BaseModule
} }
} else { } else {
DI::sysmsg()->addInfo(DI::l10n()->t('Registration successful.')); DI::sysmsg()->addInfo(DI::l10n()->t('Registration successful.'));
if (DI::config()->get('system', 'register_notification')) {
$this->sendNotification($user, 'SYSTEM_REGISTER_NEW');
}
DI::baseUrl()->redirect(); DI::baseUrl()->redirect();
} }
} elseif (intval(DI::config()->get('config', 'register_policy')) === self::APPROVE) { } elseif (intval(DI::config()->get('config', 'register_policy')) === self::APPROVE) {
@ -367,29 +374,8 @@ class Register extends BaseModule
DI::pConfig()->set($user['uid'], 'system', 'invites_remaining', $num_invites); DI::pConfig()->set($user['uid'], 'system', 'invites_remaining', $num_invites);
} }
// send email to admins // send notification to the admin
$admins_stmt = DBA::select( $this->sendNotification($user, 'SYSTEM_REGISTER_REQUEST');
'user',
['uid', 'language', 'email'],
['email' => explode(',', str_replace(' ', '', DI::config()->get('config', 'admin_email')))]
);
// send notification to admins
while ($admin = DBA::fetch($admins_stmt)) {
DI::notify()->createFromArray([
'type' => Model\Notification\Type::SYSTEM,
'event' => 'SYSTEM_REGISTER_REQUEST',
'uid' => $admin['uid'],
'link' => DI::baseUrl()->get(true) . '/admin/users/',
'source_name' => $user['username'],
'source_mail' => $user['email'],
'source_nick' => $user['nickname'],
'source_link' => DI::baseUrl()->get(true) . '/admin/users/',
'source_photo' => User::getAvatarUrl($user, Proxy::SIZE_THUMB),
'show_in_notification_page' => false
]);
}
DBA::close($admins_stmt);
// send notification to the user, that the registration is pending // send notification to the user, that the registration is pending
Model\User::sendRegisterPendingEmail( Model\User::sendRegisterPendingEmail(
@ -405,4 +391,31 @@ class Register extends BaseModule
return; return;
} }
private function sendNotification(array $user, string $event)
{
// send email to admins
$admins_stmt = DBA::select(
'user',
['uid', 'language', 'email'],
['email' => explode(',', str_replace(' ', '', DI::config()->get('config', 'admin_email')))]
);
// send notification to admins
while ($admin = DBA::fetch($admins_stmt)) {
DI::notify()->createFromArray([
'type' => Model\Notification\Type::SYSTEM,
'event' => $event,
'uid' => $admin['uid'],
'link' => DI::baseUrl()->get(true) . '/admin/users/',
'source_name' => $user['username'],
'source_mail' => $user['email'],
'source_nick' => $user['nickname'],
'source_link' => DI::baseUrl()->get(true) . '/admin/users/',
'source_photo' => User::getAvatarUrl($user, Proxy::SIZE_THUMB),
'show_in_notification_page' => false
]);
}
DBA::close($admins_stmt);
}
} }

View file

@ -483,6 +483,27 @@ class Notify extends BaseRepository
$hsitelink = sprintf($sitelink, '<a href="' . $params['link'] . '">' . $sitename . '</a><br><br>'); $hsitelink = sprintf($sitelink, '<a href="' . $params['link'] . '">' . $sitename . '</a><br><br>');
break; break;
case 'SYSTEM_REGISTER_NEW':
$itemlink = $params['link'];
$subject = $l10n->t('[Friendica System Notify]') . ' ' . $l10n->t('new registration');
$preamble = $l10n->t('You\'ve received a new registration from \'%1$s\' at %2$s', $params['source_name'], $sitename);
$epreamble = $l10n->t('You\'ve received a [url=%1$s]new registration[/url] from %2$s.',
$itemlink,
'[url='.$params['source_link'].']'.$params['source_name'].'[/url]'
);
$body = $l10n->t("Full Name: %s\nSite Location: %s\nLogin Name: %s (%s)",
$params['source_name'],
$siteurl, $params['source_mail'],
$params['source_nick']
);
$sitelink = $l10n->t('Please visit %s to have a look at the new registration.');
$tsitelink = sprintf($sitelink, $params['link']);
$hsitelink = sprintf($sitelink, '<a href="' . $params['link'] . '">' . $sitename . '</a><br><br>');
break;
case 'SYSTEM_DB_UPDATE_FAIL': // @TODO Unused (only here) case 'SYSTEM_DB_UPDATE_FAIL': // @TODO Unused (only here)
break; break;
} }

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2022.12-dev\n" "Project-Id-Version: 2022.12-dev\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-02 11:31-0400\n" "POT-Creation-Date: 2022-11-03 19:45+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"
@ -412,7 +412,7 @@ msgstr ""
msgid "Basic" msgid "Basic"
msgstr "" msgstr ""
#: mod/events.php:518 src/Module/Admin/Site.php:437 src/Module/Contact.php:477 #: mod/events.php:518 src/Module/Admin/Site.php:439 src/Module/Contact.php:477
#: src/Module/Profile/Profile.php:248 #: src/Module/Profile/Profile.php:248
msgid "Advanced" msgid "Advanced"
msgstr "" msgstr ""
@ -1053,6 +1053,7 @@ msgid "Contact not found."
msgstr "" msgstr ""
#: mod/removeme.php:65 src/Navigation/Notifications/Repository/Notify.php:467 #: mod/removeme.php:65 src/Navigation/Notifications/Repository/Notify.php:467
#: src/Navigation/Notifications/Repository/Notify.php:488
msgid "[Friendica System Notify]" msgid "[Friendica System Notify]"
msgstr "" msgstr ""
@ -1127,7 +1128,7 @@ msgstr ""
#: mod/settings.php:205 mod/settings.php:237 mod/settings.php:268 #: mod/settings.php:205 mod/settings.php:237 mod/settings.php:268
#: mod/settings.php:352 src/Module/Admin/Addons/Index.php:69 #: mod/settings.php:352 src/Module/Admin/Addons/Index.php:69
#: src/Module/Admin/Features.php:87 src/Module/Admin/Logs/Settings.php:81 #: src/Module/Admin/Features.php:87 src/Module/Admin/Logs/Settings.php:81
#: src/Module/Admin/Site.php:432 src/Module/Admin/Themes/Index.php:113 #: src/Module/Admin/Site.php:434 src/Module/Admin/Themes/Index.php:113
#: src/Module/Admin/Tos.php:83 src/Module/Settings/Account.php:563 #: src/Module/Admin/Tos.php:83 src/Module/Settings/Account.php:563
#: src/Module/Settings/Delegation.php:169 src/Module/Settings/Display.php:200 #: src/Module/Settings/Delegation.php:169 src/Module/Settings/Display.php:200
msgid "Save Settings" msgid "Save Settings"
@ -1332,7 +1333,7 @@ msgstr ""
msgid "Friend Suggestions" msgid "Friend Suggestions"
msgstr "" msgstr ""
#: mod/tagger.php:77 src/Content/Item.php:304 src/Model/Item.php:2877 #: mod/tagger.php:77 src/Content/Item.php:304 src/Model/Item.php:2873
msgid "photo" msgid "photo"
msgstr "" msgstr ""
@ -2108,7 +2109,7 @@ msgstr ""
msgid "show more" msgid "show more"
msgstr "" msgstr ""
#: src/Content/Item.php:295 src/Model/Item.php:2875 #: src/Content/Item.php:295 src/Model/Item.php:2871
msgid "event" msgid "event"
msgstr "" msgstr ""
@ -2461,8 +2462,8 @@ msgid ""
"<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">%2$s</a> %3$s" "<a href=\"%1$s\" target=\"_blank\" rel=\"noopener noreferrer\">%2$s</a> %3$s"
msgstr "" msgstr ""
#: src/Content/Text/BBCode.php:1243 src/Model/Item.php:3476 #: src/Content/Text/BBCode.php:1243 src/Model/Item.php:3472
#: src/Model/Item.php:3482 src/Model/Item.php:3483 #: src/Model/Item.php:3478 src/Model/Item.php:3479
msgid "Link to source" msgid "Link to source"
msgstr "" msgstr ""
@ -3572,66 +3573,66 @@ msgstr ""
msgid "Edit groups" msgid "Edit groups"
msgstr "" msgstr ""
#: src/Model/Item.php:1987 #: src/Model/Item.php:1983
#, php-format #, php-format
msgid "Detected languages in this post:\\n%s" msgid "Detected languages in this post:\\n%s"
msgstr "" msgstr ""
#: src/Model/Item.php:2879 #: src/Model/Item.php:2875
msgid "activity" msgid "activity"
msgstr "" msgstr ""
#: src/Model/Item.php:2881 #: src/Model/Item.php:2877
msgid "comment" msgid "comment"
msgstr "" msgstr ""
#: src/Model/Item.php:2884 #: src/Model/Item.php:2880
msgid "post" msgid "post"
msgstr "" msgstr ""
#: src/Model/Item.php:3025 #: src/Model/Item.php:3021
#, php-format #, php-format
msgid "Content warning: %s" msgid "Content warning: %s"
msgstr "" msgstr ""
#: src/Model/Item.php:3388 #: src/Model/Item.php:3384
msgid "bytes" msgid "bytes"
msgstr "" msgstr ""
#: src/Model/Item.php:3419 #: src/Model/Item.php:3415
#, php-format #, php-format
msgid "%2$s (%3$d%%, %1$d vote)" msgid "%2$s (%3$d%%, %1$d vote)"
msgid_plural "%2$s (%3$d%%, %1$d votes)" msgid_plural "%2$s (%3$d%%, %1$d votes)"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3421 #: src/Model/Item.php:3417
#, php-format #, php-format
msgid "%2$s (%1$d vote)" msgid "%2$s (%1$d vote)"
msgid_plural "%2$s (%1$d votes)" msgid_plural "%2$s (%1$d votes)"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3426 #: src/Model/Item.php:3422
#, php-format #, php-format
msgid "%d voter. Poll end: %s" msgid "%d voter. Poll end: %s"
msgid_plural "%d voters. Poll end: %s" msgid_plural "%d voters. Poll end: %s"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3428 #: src/Model/Item.php:3424
#, php-format #, php-format
msgid "%d voter." msgid "%d voter."
msgid_plural "%d voters." msgid_plural "%d voters."
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: src/Model/Item.php:3430 #: src/Model/Item.php:3426
#, php-format #, php-format
msgid "Poll end: %s" msgid "Poll end: %s"
msgstr "" msgstr ""
#: src/Model/Item.php:3464 src/Model/Item.php:3465 #: src/Model/Item.php:3460 src/Model/Item.php:3461
msgid "View on separate page" msgid "View on separate page"
msgstr "" msgstr ""
@ -4072,7 +4073,7 @@ msgstr ""
#: src/Module/Admin/Blocklist/Server/Index.php:91 #: src/Module/Admin/Blocklist/Server/Index.php:91
#: src/Module/Admin/Federation.php:202 src/Module/Admin/Item/Delete.php:64 #: src/Module/Admin/Federation.php:202 src/Module/Admin/Item/Delete.php:64
#: src/Module/Admin/Logs/Settings.php:79 src/Module/Admin/Logs/View.php:84 #: src/Module/Admin/Logs/Settings.php:79 src/Module/Admin/Logs/View.php:84
#: src/Module/Admin/Queue.php:72 src/Module/Admin/Site.php:429 #: src/Module/Admin/Queue.php:72 src/Module/Admin/Site.php:431
#: src/Module/Admin/Storage.php:138 src/Module/Admin/Summary.php:235 #: src/Module/Admin/Storage.php:138 src/Module/Admin/Summary.php:235
#: src/Module/Admin/Themes/Details.php:90 src/Module/Admin/Themes/Index.php:111 #: src/Module/Admin/Themes/Details.php:90 src/Module/Admin/Themes/Index.php:111
#: src/Module/Admin/Tos.php:75 src/Module/Admin/Users/Active.php:136 #: src/Module/Admin/Tos.php:75 src/Module/Admin/Users/Active.php:136
@ -4938,470 +4939,479 @@ msgstr ""
msgid "Priority" msgid "Priority"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:334 src/Module/Settings/Display.php:137 #: src/Module/Admin/Site.php:336 src/Module/Settings/Display.php:137
msgid "No special theme for mobile devices" msgid "No special theme for mobile devices"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:351 src/Module/Settings/Display.php:147 #: src/Module/Admin/Site.php:353 src/Module/Settings/Display.php:147
#, php-format #, php-format
msgid "%s - (Experimental)" msgid "%s - (Experimental)"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:363 #: src/Module/Admin/Site.php:365
msgid "No community page" msgid "No community page"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:364 #: src/Module/Admin/Site.php:366
msgid "No community page for visitors" msgid "No community page for visitors"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:365 #: src/Module/Admin/Site.php:367
msgid "Public postings from users of this site" msgid "Public postings from users of this site"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:366 #: src/Module/Admin/Site.php:368
msgid "Public postings from the federated network" msgid "Public postings from the federated network"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:367 #: src/Module/Admin/Site.php:369
msgid "Public postings from local users and the federated network" msgid "Public postings from local users and the federated network"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:373 #: src/Module/Admin/Site.php:375
msgid "Multi user instance" msgid "Multi user instance"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:400 #: src/Module/Admin/Site.php:402
msgid "Closed" msgid "Closed"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:401 #: src/Module/Admin/Site.php:403
msgid "Requires approval" msgid "Requires approval"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:402 #: src/Module/Admin/Site.php:404
msgid "Open" msgid "Open"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:406 src/Module/Install.php:222 #: src/Module/Admin/Site.php:408 src/Module/Install.php:222
msgid "No SSL policy, links will track page SSL state" msgid "No SSL policy, links will track page SSL state"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:407 src/Module/Install.php:223 #: src/Module/Admin/Site.php:409 src/Module/Install.php:223
msgid "Force all links to use SSL" msgid "Force all links to use SSL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:408 src/Module/Install.php:224 #: src/Module/Admin/Site.php:410 src/Module/Install.php:224
msgid "Self-signed certificate, use SSL for local links only (discouraged)" msgid "Self-signed certificate, use SSL for local links only (discouraged)"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:412 #: src/Module/Admin/Site.php:414
msgid "Don't check" msgid "Don't check"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:413 #: src/Module/Admin/Site.php:415
msgid "check the stable version" msgid "check the stable version"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:414 #: src/Module/Admin/Site.php:416
msgid "check the development version" msgid "check the development version"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:418 #: src/Module/Admin/Site.php:420
msgid "none" msgid "none"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:419 #: src/Module/Admin/Site.php:421
msgid "Local contacts" msgid "Local contacts"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:420 #: src/Module/Admin/Site.php:422
msgid "Interactors" msgid "Interactors"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:430 src/Module/BaseAdmin.php:90 #: src/Module/Admin/Site.php:432 src/Module/BaseAdmin.php:90
msgid "Site" msgid "Site"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:431 #: src/Module/Admin/Site.php:433
msgid "General Information" msgid "General Information"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:433 #: src/Module/Admin/Site.php:435
msgid "Republish users to directory" msgid "Republish users to directory"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:434 src/Module/Register.php:152 #: src/Module/Admin/Site.php:436 src/Module/Register.php:152
msgid "Registration" msgid "Registration"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:435 #: src/Module/Admin/Site.php:437
msgid "File upload" msgid "File upload"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:436 #: src/Module/Admin/Site.php:438
msgid "Policies" msgid "Policies"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:438 #: src/Module/Admin/Site.php:440
msgid "Auto Discovered Contact Directory" msgid "Auto Discovered Contact Directory"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:439 #: src/Module/Admin/Site.php:441
msgid "Performance" msgid "Performance"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:440 #: src/Module/Admin/Site.php:442
msgid "Worker" msgid "Worker"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:441 #: src/Module/Admin/Site.php:443
msgid "Message Relay" msgid "Message Relay"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:442 #: src/Module/Admin/Site.php:444
msgid "" msgid ""
"Use the command \"console relay\" in the command line to add or remove " "Use the command \"console relay\" in the command line to add or remove "
"relays." "relays."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:443 #: src/Module/Admin/Site.php:445
msgid "The system is not subscribed to any relays at the moment." msgid "The system is not subscribed to any relays at the moment."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:444 #: src/Module/Admin/Site.php:446
msgid "The system is currently subscribed to the following relays:" msgid "The system is currently subscribed to the following relays:"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:446 #: src/Module/Admin/Site.php:448
msgid "Relocate Node" msgid "Relocate Node"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:447 #: src/Module/Admin/Site.php:449
msgid "" msgid ""
"Relocating your node enables you to change the DNS domain of this node and " "Relocating your node enables you to change the DNS domain of this node and "
"keep all the existing users and posts. This process takes a while and can " "keep all the existing users and posts. This process takes a while and can "
"only be started from the relocate console command like this:" "only be started from the relocate console command like this:"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:448 #: src/Module/Admin/Site.php:450
msgid "(Friendica directory)# bin/console relocate https://newdomain.com" msgid "(Friendica directory)# bin/console relocate https://newdomain.com"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:452 #: src/Module/Admin/Site.php:454
msgid "Site name" msgid "Site name"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:453 #: src/Module/Admin/Site.php:455
msgid "Sender Email" msgid "Sender Email"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:453 #: src/Module/Admin/Site.php:455
msgid "" msgid ""
"The email address your server shall use to send notification emails from." "The email address your server shall use to send notification emails from."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:454 #: src/Module/Admin/Site.php:456
msgid "Name of the system actor" msgid "Name of the system actor"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:454 #: src/Module/Admin/Site.php:456
msgid "" msgid ""
"Name of the internal system account that is used to perform ActivityPub " "Name of the internal system account that is used to perform ActivityPub "
"requests. This must be an unused username. If set, this can't be changed " "requests. This must be an unused username. If set, this can't be changed "
"again." "again."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:455 #: src/Module/Admin/Site.php:457
msgid "Banner/Logo" msgid "Banner/Logo"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:456 #: src/Module/Admin/Site.php:458
msgid "Email Banner/Logo" msgid "Email Banner/Logo"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:457 #: src/Module/Admin/Site.php:459
msgid "Shortcut icon" msgid "Shortcut icon"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:457 #: src/Module/Admin/Site.php:459
msgid "Link to an icon that will be used for browsers." msgid "Link to an icon that will be used for browsers."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:458 #: src/Module/Admin/Site.php:460
msgid "Touch icon" msgid "Touch icon"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:458 #: src/Module/Admin/Site.php:460
msgid "Link to an icon that will be used for tablets and mobiles." msgid "Link to an icon that will be used for tablets and mobiles."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:459 #: src/Module/Admin/Site.php:461
msgid "Additional Info" msgid "Additional Info"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:459 #: src/Module/Admin/Site.php:461
#, php-format #, php-format
msgid "" msgid ""
"For public servers: you can add additional information here that will be " "For public servers: you can add additional information here that will be "
"listed at %s/servers." "listed at %s/servers."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:460 #: src/Module/Admin/Site.php:462
msgid "System language" msgid "System language"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:461 #: src/Module/Admin/Site.php:463
msgid "System theme" msgid "System theme"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:461 #: src/Module/Admin/Site.php:463
#, php-format #, php-format
msgid "" msgid ""
"Default system theme - may be over-ridden by user profiles - <a href=\"%s\" " "Default system theme - may be over-ridden by user profiles - <a href=\"%s\" "
"id=\"cnftheme\">Change default theme settings</a>" "id=\"cnftheme\">Change default theme settings</a>"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:462 #: src/Module/Admin/Site.php:464
msgid "Mobile system theme" msgid "Mobile system theme"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:462 #: src/Module/Admin/Site.php:464
msgid "Theme for mobile devices" msgid "Theme for mobile devices"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:463 src/Module/Install.php:232 #: src/Module/Admin/Site.php:465 src/Module/Install.php:232
msgid "SSL link policy" msgid "SSL link policy"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:463 src/Module/Install.php:234 #: src/Module/Admin/Site.php:465 src/Module/Install.php:234
msgid "Determines whether generated links should be forced to use SSL" msgid "Determines whether generated links should be forced to use SSL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:464 #: src/Module/Admin/Site.php:466
msgid "Force SSL" msgid "Force SSL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:464 #: src/Module/Admin/Site.php:466
msgid "" msgid ""
"Force all Non-SSL requests to SSL - Attention: on some systems it could lead " "Force all Non-SSL requests to SSL - Attention: on some systems it could lead "
"to endless loops." "to endless loops."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:465 #: src/Module/Admin/Site.php:467
msgid "Show help entry from navigation menu" msgid "Show help entry from navigation menu"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:465 #: src/Module/Admin/Site.php:467
msgid "" msgid ""
"Displays the menu entry for the Help pages from the navigation menu. It is " "Displays the menu entry for the Help pages from the navigation menu. It is "
"always accessible by calling /help directly." "always accessible by calling /help directly."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:466 #: src/Module/Admin/Site.php:468
msgid "Single user instance" msgid "Single user instance"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:466 #: src/Module/Admin/Site.php:468
msgid "Make this instance multi-user or single-user for the named user" msgid "Make this instance multi-user or single-user for the named user"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:468 #: src/Module/Admin/Site.php:470
msgid "Maximum image size" msgid "Maximum image size"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:468 #: src/Module/Admin/Site.php:470
msgid "" msgid ""
"Maximum size in bytes of uploaded images. Default is 0, which means no " "Maximum size in bytes of uploaded images. Default is 0, which means no "
"limits." "limits."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:469 #: src/Module/Admin/Site.php:471
msgid "Maximum image length" msgid "Maximum image length"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:469 #: src/Module/Admin/Site.php:471
msgid "" msgid ""
"Maximum length in pixels of the longest side of uploaded images. Default is " "Maximum length in pixels of the longest side of uploaded images. Default is "
"-1, which means no limits." "-1, which means no limits."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:470 #: src/Module/Admin/Site.php:472
msgid "JPEG image quality" msgid "JPEG image quality"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:470 #: src/Module/Admin/Site.php:472
msgid "" msgid ""
"Uploaded JPEGS will be saved at this quality setting [0-100]. Default is " "Uploaded JPEGS will be saved at this quality setting [0-100]. Default is "
"100, which is full quality." "100, which is full quality."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:472 #: src/Module/Admin/Site.php:474
msgid "Register policy" msgid "Register policy"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:473 #: src/Module/Admin/Site.php:475
msgid "Maximum Daily Registrations" msgid "Maximum Daily Registrations"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:473 #: src/Module/Admin/Site.php:475
msgid "" msgid ""
"If registration is permitted above, this sets the maximum number of new user " "If registration is permitted above, this sets the maximum number of new user "
"registrations to accept per day. If register is set to closed, this setting " "registrations to accept per day. If register is set to closed, this setting "
"has no effect." "has no effect."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:474 #: src/Module/Admin/Site.php:476
msgid "Register text" msgid "Register text"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:474 #: src/Module/Admin/Site.php:476
msgid "" msgid ""
"Will be displayed prominently on the registration page. You can use BBCode " "Will be displayed prominently on the registration page. You can use BBCode "
"here." "here."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:475 #: src/Module/Admin/Site.php:477
msgid "Notify admin on new registration"
msgstr ""
#: src/Module/Admin/Site.php:477
msgid ""
"If enabled, a notification for each new registration is sent to the admin."
msgstr ""
#: src/Module/Admin/Site.php:478
msgid "Forbidden Nicknames" msgid "Forbidden Nicknames"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:475 #: src/Module/Admin/Site.php:478
msgid "" msgid ""
"Comma separated list of nicknames that are forbidden from registration. " "Comma separated list of nicknames that are forbidden from registration. "
"Preset is a list of role names according RFC 2142." "Preset is a list of role names according RFC 2142."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:476 #: src/Module/Admin/Site.php:479
msgid "Accounts abandoned after x days" msgid "Accounts abandoned after x days"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:476 #: src/Module/Admin/Site.php:479
msgid "" msgid ""
"Will not waste system resources polling external sites for abandonded " "Will not waste system resources polling external sites for abandonded "
"accounts. Enter 0 for no time limit." "accounts. Enter 0 for no time limit."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:477 #: src/Module/Admin/Site.php:480
msgid "Allowed friend domains" msgid "Allowed friend domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:477 #: src/Module/Admin/Site.php:480
msgid "" msgid ""
"Comma separated list of domains which are allowed to establish friendships " "Comma separated list of domains which are allowed to establish friendships "
"with this site. Wildcards are accepted. Empty to allow any domains" "with this site. Wildcards are accepted. Empty to allow any domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:478 #: src/Module/Admin/Site.php:481
msgid "Allowed email domains" msgid "Allowed email domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:478 #: src/Module/Admin/Site.php:481
msgid "" msgid ""
"Comma separated list of domains which are allowed in email addresses for " "Comma separated list of domains which are allowed in email addresses for "
"registrations to this site. Wildcards are accepted. Empty to allow any " "registrations to this site. Wildcards are accepted. Empty to allow any "
"domains" "domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:479 #: src/Module/Admin/Site.php:482
msgid "No OEmbed rich content" msgid "No OEmbed rich content"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:479 #: src/Module/Admin/Site.php:482
msgid "" msgid ""
"Don't show the rich content (e.g. embedded PDF), except from the domains " "Don't show the rich content (e.g. embedded PDF), except from the domains "
"listed below." "listed below."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:480 #: src/Module/Admin/Site.php:483
msgid "Trusted third-party domains" msgid "Trusted third-party domains"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:480 #: src/Module/Admin/Site.php:483
msgid "" msgid ""
"Comma separated list of domains from which content is allowed to be embedded " "Comma separated list of domains from which content is allowed to be embedded "
"in posts like with OEmbed. All sub-domains of the listed domains are allowed " "in posts like with OEmbed. All sub-domains of the listed domains are allowed "
"as well." "as well."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:481 #: src/Module/Admin/Site.php:484
msgid "Block public" msgid "Block public"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:481 #: src/Module/Admin/Site.php:484
msgid "" msgid ""
"Check to block public access to all otherwise public personal pages on this " "Check to block public access to all otherwise public personal pages on this "
"site unless you are currently logged in." "site unless you are currently logged in."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:482 #: src/Module/Admin/Site.php:485
msgid "Force publish" msgid "Force publish"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:482 #: src/Module/Admin/Site.php:485
msgid "" msgid ""
"Check to force all profiles on this site to be listed in the site directory." "Check to force all profiles on this site to be listed in the site directory."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:482 #: src/Module/Admin/Site.php:485
msgid "Enabling this may violate privacy laws like the GDPR" msgid "Enabling this may violate privacy laws like the GDPR"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:483 #: src/Module/Admin/Site.php:486
msgid "Global directory URL" msgid "Global directory URL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:483 #: src/Module/Admin/Site.php:486
msgid "" msgid ""
"URL to the global directory. If this is not set, the global directory is " "URL to the global directory. If this is not set, the global directory is "
"completely unavailable to the application." "completely unavailable to the application."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:484 #: src/Module/Admin/Site.php:487
msgid "Private posts by default for new users" msgid "Private posts by default for new users"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:484 #: src/Module/Admin/Site.php:487
msgid "" msgid ""
"Set default post permissions for all new members to the default privacy " "Set default post permissions for all new members to the default privacy "
"group rather than public." "group rather than public."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:485 #: src/Module/Admin/Site.php:488
msgid "Don't include post content in email notifications" msgid "Don't include post content in email notifications"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:485 #: src/Module/Admin/Site.php:488
msgid "" msgid ""
"Don't include the content of a post/comment/private message/etc. in the " "Don't include the content of a post/comment/private message/etc. in the "
"email notifications that are sent out from this site, as a privacy measure." "email notifications that are sent out from this site, as a privacy measure."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:486 #: src/Module/Admin/Site.php:489
msgid "Disallow public access to addons listed in the apps menu." msgid "Disallow public access to addons listed in the apps menu."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:486 #: src/Module/Admin/Site.php:489
msgid "" msgid ""
"Checking this box will restrict addons listed in the apps menu to members " "Checking this box will restrict addons listed in the apps menu to members "
"only." "only."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:487 #: src/Module/Admin/Site.php:490
msgid "Don't embed private images in posts" msgid "Don't embed private images in posts"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:487 #: src/Module/Admin/Site.php:490
msgid "" msgid ""
"Don't replace locally-hosted private photos in posts with an embedded copy " "Don't replace locally-hosted private photos in posts with an embedded copy "
"of the image. This means that contacts who receive posts containing private " "of the image. This means that contacts who receive posts containing private "
"photos will have to authenticate and load each image, which may take a while." "photos will have to authenticate and load each image, which may take a while."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:488 #: src/Module/Admin/Site.php:491
msgid "Explicit Content" msgid "Explicit Content"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:488 #: src/Module/Admin/Site.php:491
msgid "" msgid ""
"Set this to announce that your node is used mostly for explicit content that " "Set this to announce that your node is used mostly for explicit content that "
"might not be suited for minors. This information will be published in the " "might not be suited for minors. This information will be published in the "
@ -5410,257 +5420,257 @@ msgid ""
"will be shown at the user registration page." "will be shown at the user registration page."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:489 #: src/Module/Admin/Site.php:492
msgid "Proxify external content" msgid "Proxify external content"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:489 #: src/Module/Admin/Site.php:492
msgid "" msgid ""
"Route external content via the proxy functionality. This is used for example " "Route external content via the proxy functionality. This is used for example "
"for some OEmbed accesses and in some other rare cases." "for some OEmbed accesses and in some other rare cases."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:490 #: src/Module/Admin/Site.php:493
msgid "Cache contact avatars" msgid "Cache contact avatars"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:490 #: src/Module/Admin/Site.php:493
msgid "" msgid ""
"Locally store the avatar pictures of the contacts. This uses a lot of " "Locally store the avatar pictures of the contacts. This uses a lot of "
"storage space but it increases the performance." "storage space but it increases the performance."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:491 #: src/Module/Admin/Site.php:494
msgid "Allow Users to set remote_self" msgid "Allow Users to set remote_self"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:491 #: src/Module/Admin/Site.php:494
msgid "" msgid ""
"With checking this, every user is allowed to mark every contact as a " "With checking this, every user is allowed to mark every contact as a "
"remote_self in the repair contact dialog. Setting this flag on a contact " "remote_self in the repair contact dialog. Setting this flag on a contact "
"causes mirroring every posting of that contact in the users stream." "causes mirroring every posting of that contact in the users stream."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:492 #: src/Module/Admin/Site.php:495
msgid "Enable multiple registrations" msgid "Enable multiple registrations"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:492 #: src/Module/Admin/Site.php:495
msgid "Enable users to register additional accounts for use as pages." msgid "Enable users to register additional accounts for use as pages."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:493 #: src/Module/Admin/Site.php:496
msgid "Enable OpenID" msgid "Enable OpenID"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:493 #: src/Module/Admin/Site.php:496
msgid "Enable OpenID support for registration and logins." msgid "Enable OpenID support for registration and logins."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:494 #: src/Module/Admin/Site.php:497
msgid "Enable Fullname check" msgid "Enable Fullname check"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:494 #: src/Module/Admin/Site.php:497
msgid "" msgid ""
"Enable check to only allow users to register with a space between the first " "Enable check to only allow users to register with a space between the first "
"name and the last name in their full name." "name and the last name in their full name."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:495 #: src/Module/Admin/Site.php:498
msgid "Community pages for visitors" msgid "Community pages for visitors"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:495 #: src/Module/Admin/Site.php:498
msgid "" msgid ""
"Which community pages should be available for visitors. Local users always " "Which community pages should be available for visitors. Local users always "
"see both pages." "see both pages."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:496 #: src/Module/Admin/Site.php:499
msgid "Posts per user on community page" msgid "Posts per user on community page"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:496 #: src/Module/Admin/Site.php:499
msgid "" msgid ""
"The maximum number of posts per user on the community page. (Not valid for " "The maximum number of posts per user on the community page. (Not valid for "
"\"Global Community\")" "\"Global Community\")"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:498 #: src/Module/Admin/Site.php:501
msgid "Enable Mail support" msgid "Enable Mail support"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:498 #: src/Module/Admin/Site.php:501
msgid "" msgid ""
"Enable built-in mail support to poll IMAP folders and to reply via mail." "Enable built-in mail support to poll IMAP folders and to reply via mail."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:499 #: src/Module/Admin/Site.php:502
msgid "" msgid ""
"Mail support can't be enabled because the PHP IMAP module is not installed." "Mail support can't be enabled because the PHP IMAP module is not installed."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:500 #: src/Module/Admin/Site.php:503
msgid "Enable OStatus support" msgid "Enable OStatus support"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:500 #: src/Module/Admin/Site.php:503
msgid "" msgid ""
"Enable built-in OStatus (StatusNet, GNU Social etc.) compatibility. All " "Enable built-in OStatus (StatusNet, GNU Social etc.) compatibility. All "
"communications in OStatus are public." "communications in OStatus are public."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:502 #: src/Module/Admin/Site.php:505
msgid "" msgid ""
"Diaspora support can't be enabled because Friendica was installed into a sub " "Diaspora support can't be enabled because Friendica was installed into a sub "
"directory." "directory."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:503 #: src/Module/Admin/Site.php:506
msgid "Enable Diaspora support" msgid "Enable Diaspora support"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:503 #: src/Module/Admin/Site.php:506
msgid "" msgid ""
"Enable built-in Diaspora network compatibility for communicating with " "Enable built-in Diaspora network compatibility for communicating with "
"diaspora servers." "diaspora servers."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:504 #: src/Module/Admin/Site.php:507
msgid "Verify SSL" msgid "Verify SSL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:504 #: src/Module/Admin/Site.php:507
msgid "" msgid ""
"If you wish, you can turn on strict certificate checking. This will mean you " "If you wish, you can turn on strict certificate checking. This will mean you "
"cannot connect (at all) to self-signed SSL sites." "cannot connect (at all) to self-signed SSL sites."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:505 #: src/Module/Admin/Site.php:508
msgid "Proxy user" msgid "Proxy user"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:505 #: src/Module/Admin/Site.php:508
msgid "User name for the proxy server." msgid "User name for the proxy server."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:506 #: src/Module/Admin/Site.php:509
msgid "Proxy URL" msgid "Proxy URL"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:506 #: src/Module/Admin/Site.php:509
msgid "" msgid ""
"If you want to use a proxy server that Friendica should use to connect to " "If you want to use a proxy server that Friendica should use to connect to "
"the network, put the URL of the proxy here." "the network, put the URL of the proxy here."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:507 #: src/Module/Admin/Site.php:510
msgid "Network timeout" msgid "Network timeout"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:507 #: src/Module/Admin/Site.php:510
msgid "Value is in seconds. Set to 0 for unlimited (not recommended)." msgid "Value is in seconds. Set to 0 for unlimited (not recommended)."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:508 #: src/Module/Admin/Site.php:511
msgid "Maximum Load Average" msgid "Maximum Load Average"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:508 #: src/Module/Admin/Site.php:511
#, php-format #, php-format
msgid "" msgid ""
"Maximum system load before delivery and poll processes are deferred - " "Maximum system load before delivery and poll processes are deferred - "
"default %d." "default %d."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:509 #: src/Module/Admin/Site.php:512
msgid "Minimal Memory" msgid "Minimal Memory"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:509 #: src/Module/Admin/Site.php:512
msgid "" msgid ""
"Minimal free memory in MB for the worker. Needs access to /proc/meminfo - " "Minimal free memory in MB for the worker. Needs access to /proc/meminfo - "
"default 0 (deactivated)." "default 0 (deactivated)."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:510 #: src/Module/Admin/Site.php:513
msgid "Periodically optimize tables" msgid "Periodically optimize tables"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:510 #: src/Module/Admin/Site.php:513
msgid "Periodically optimize tables like the cache and the workerqueue" msgid "Periodically optimize tables like the cache and the workerqueue"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:512 #: src/Module/Admin/Site.php:515
msgid "Discover followers/followings from contacts" msgid "Discover followers/followings from contacts"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:512 #: src/Module/Admin/Site.php:515
msgid "" msgid ""
"If enabled, contacts are checked for their followers and following contacts." "If enabled, contacts are checked for their followers and following contacts."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:513 #: src/Module/Admin/Site.php:516
msgid "None - deactivated" msgid "None - deactivated"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:514 #: src/Module/Admin/Site.php:517
msgid "" msgid ""
"Local contacts - contacts of our local contacts are discovered for their " "Local contacts - contacts of our local contacts are discovered for their "
"followers/followings." "followers/followings."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:515 #: src/Module/Admin/Site.php:518
msgid "" msgid ""
"Interactors - contacts of our local contacts and contacts who interacted on " "Interactors - contacts of our local contacts and contacts who interacted on "
"locally visible postings are discovered for their followers/followings." "locally visible postings are discovered for their followers/followings."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:517 #: src/Module/Admin/Site.php:520
msgid "Synchronize the contacts with the directory server" msgid "Synchronize the contacts with the directory server"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:517 #: src/Module/Admin/Site.php:520
msgid "" msgid ""
"if enabled, the system will check periodically for new contacts on the " "if enabled, the system will check periodically for new contacts on the "
"defined directory server." "defined directory server."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:519 #: src/Module/Admin/Site.php:522
msgid "Days between requery" msgid "Days between requery"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:519 #: src/Module/Admin/Site.php:522
msgid "Number of days after which a server is requeried for his contacts." msgid "Number of days after which a server is requeried for his contacts."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:520 #: src/Module/Admin/Site.php:523
msgid "Discover contacts from other servers" msgid "Discover contacts from other servers"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:520 #: src/Module/Admin/Site.php:523
msgid "" msgid ""
"Periodically query other servers for contacts. The system queries Friendica, " "Periodically query other servers for contacts. The system queries Friendica, "
"Mastodon and Hubzilla servers." "Mastodon and Hubzilla servers."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:521 #: src/Module/Admin/Site.php:524
msgid "Search the local directory" msgid "Search the local directory"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:521 #: src/Module/Admin/Site.php:524
msgid "" msgid ""
"Search the local directory instead of the global directory. When searching " "Search the local directory instead of the global directory. When searching "
"locally, every search will be executed on the global directory in the " "locally, every search will be executed on the global directory in the "
"background. This improves the search results when the search is repeated." "background. This improves the search results when the search is repeated."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:523 #: src/Module/Admin/Site.php:526
msgid "Publish server information" msgid "Publish server information"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:523 #: src/Module/Admin/Site.php:526
msgid "" msgid ""
"If enabled, general server and usage data will be published. The data " "If enabled, general server and usage data will be published. The data "
"contains the name and version of the server, number of users with public " "contains the name and version of the server, number of users with public "
@ -5668,50 +5678,50 @@ msgid ""
"href=\"http://the-federation.info/\">the-federation.info</a> for details." "href=\"http://the-federation.info/\">the-federation.info</a> for details."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:525 #: src/Module/Admin/Site.php:528
msgid "Check upstream version" msgid "Check upstream version"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:525 #: src/Module/Admin/Site.php:528
msgid "" msgid ""
"Enables checking for new Friendica versions at github. If there is a new " "Enables checking for new Friendica versions at github. If there is a new "
"version, you will be informed in the admin panel overview." "version, you will be informed in the admin panel overview."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:526 #: src/Module/Admin/Site.php:529
msgid "Suppress Tags" msgid "Suppress Tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:526 #: src/Module/Admin/Site.php:529
msgid "Suppress showing a list of hashtags at the end of the posting." msgid "Suppress showing a list of hashtags at the end of the posting."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:527 #: src/Module/Admin/Site.php:530
msgid "Clean database" msgid "Clean database"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:527 #: src/Module/Admin/Site.php:530
msgid "" msgid ""
"Remove old remote items, orphaned database records and old content from some " "Remove old remote items, orphaned database records and old content from some "
"other helper tables." "other helper tables."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:528 #: src/Module/Admin/Site.php:531
msgid "Lifespan of remote items" msgid "Lifespan of remote items"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:528 #: src/Module/Admin/Site.php:531
msgid "" msgid ""
"When the database cleanup is enabled, this defines the days after which " "When the database cleanup is enabled, this defines the days after which "
"remote items will be deleted. Own items, and marked or filed items are " "remote items will be deleted. Own items, and marked or filed items are "
"always kept. 0 disables this behaviour." "always kept. 0 disables this behaviour."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:529 #: src/Module/Admin/Site.php:532
msgid "Lifespan of unclaimed items" msgid "Lifespan of unclaimed items"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:529 #: src/Module/Admin/Site.php:532
msgid "" msgid ""
"When the database cleanup is enabled, this defines the days after which " "When the database cleanup is enabled, this defines the days after which "
"unclaimed remote items (mostly content from the relay) will be deleted. " "unclaimed remote items (mostly content from the relay) will be deleted. "
@ -5719,144 +5729,144 @@ msgid ""
"items if set to 0." "items if set to 0."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:530 #: src/Module/Admin/Site.php:533
msgid "Lifespan of raw conversation data" msgid "Lifespan of raw conversation data"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:530 #: src/Module/Admin/Site.php:533
msgid "" msgid ""
"The conversation data is used for ActivityPub and OStatus, as well as for " "The conversation data is used for ActivityPub and OStatus, as well as for "
"debug purposes. It should be safe to remove it after 14 days, default is 90 " "debug purposes. It should be safe to remove it after 14 days, default is 90 "
"days." "days."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:531 #: src/Module/Admin/Site.php:534
msgid "Maximum numbers of comments per post" msgid "Maximum numbers of comments per post"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:531 #: src/Module/Admin/Site.php:534
msgid "How much comments should be shown for each post? Default value is 100." msgid "How much comments should be shown for each post? Default value is 100."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:532 #: src/Module/Admin/Site.php:535
msgid "Maximum numbers of comments per post on the display page" msgid "Maximum numbers of comments per post on the display page"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:532 #: src/Module/Admin/Site.php:535
msgid "" msgid ""
"How many comments should be shown on the single view for each post? Default " "How many comments should be shown on the single view for each post? Default "
"value is 1000." "value is 1000."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:533 #: src/Module/Admin/Site.php:536
msgid "Temp path" msgid "Temp path"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:533 #: src/Module/Admin/Site.php:536
msgid "" msgid ""
"If you have a restricted system where the webserver can't access the system " "If you have a restricted system where the webserver can't access the system "
"temp path, enter another path here." "temp path, enter another path here."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:534 #: src/Module/Admin/Site.php:537
msgid "Only search in tags" msgid "Only search in tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:534 #: src/Module/Admin/Site.php:537
msgid "On large systems the text search can slow down the system extremely." msgid "On large systems the text search can slow down the system extremely."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:535 #: src/Module/Admin/Site.php:538
msgid "Generate counts per contact group when calculating network count" msgid "Generate counts per contact group when calculating network count"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:535 #: src/Module/Admin/Site.php:538
msgid "" msgid ""
"On systems with users that heavily use contact groups the query can be very " "On systems with users that heavily use contact groups the query can be very "
"expensive." "expensive."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:537 #: src/Module/Admin/Site.php:540
msgid "Maximum number of parallel workers" msgid "Maximum number of parallel workers"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:537 #: src/Module/Admin/Site.php:540
#, php-format #, php-format
msgid "" msgid ""
"On shared hosters set this to %d. On larger systems, values of %d are great. " "On shared hosters set this to %d. On larger systems, values of %d are great. "
"Default value is %d." "Default value is %d."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:538 #: src/Module/Admin/Site.php:541
msgid "Enable fastlane" msgid "Enable fastlane"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:538 #: src/Module/Admin/Site.php:541
msgid "" msgid ""
"When enabed, the fastlane mechanism starts an additional worker if processes " "When enabed, the fastlane mechanism starts an additional worker if processes "
"with higher priority are blocked by processes of lower priority." "with higher priority are blocked by processes of lower priority."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:540 #: src/Module/Admin/Site.php:543
msgid "Direct relay transfer" msgid "Direct relay transfer"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:540 #: src/Module/Admin/Site.php:543
msgid "" msgid ""
"Enables the direct transfer to other servers without using the relay servers" "Enables the direct transfer to other servers without using the relay servers"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:541 #: src/Module/Admin/Site.php:544
msgid "Relay scope" msgid "Relay scope"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:541 #: src/Module/Admin/Site.php:544
msgid "" msgid ""
"Can be \"all\" or \"tags\". \"all\" means that every public post should be " "Can be \"all\" or \"tags\". \"all\" means that every public post should be "
"received. \"tags\" means that only posts with selected tags should be " "received. \"tags\" means that only posts with selected tags should be "
"received." "received."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:541 src/Module/Contact/Profile.php:274 #: src/Module/Admin/Site.php:544 src/Module/Contact/Profile.php:274
#: src/Module/Settings/TwoFactor/Index.php:125 #: src/Module/Settings/TwoFactor/Index.php:125
msgid "Disabled" msgid "Disabled"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:541 #: src/Module/Admin/Site.php:544
msgid "all" msgid "all"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:541 #: src/Module/Admin/Site.php:544
msgid "tags" msgid "tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:542 #: src/Module/Admin/Site.php:545
msgid "Server tags" msgid "Server tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:542 #: src/Module/Admin/Site.php:545
msgid "Comma separated list of tags for the \"tags\" subscription." msgid "Comma separated list of tags for the \"tags\" subscription."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:543 #: src/Module/Admin/Site.php:546
msgid "Deny Server tags" msgid "Deny Server tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:543 #: src/Module/Admin/Site.php:546
msgid "Comma separated list of tags that are rejected." msgid "Comma separated list of tags that are rejected."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:544 #: src/Module/Admin/Site.php:547
msgid "Allow user tags" msgid "Allow user tags"
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:544 #: src/Module/Admin/Site.php:547
msgid "" msgid ""
"If enabled, the tags from the saved searches will used for the \"tags\" " "If enabled, the tags from the saved searches will used for the \"tags\" "
"subscription in addition to the \"relay_server_tags\"." "subscription in addition to the \"relay_server_tags\"."
msgstr "" msgstr ""
#: src/Module/Admin/Site.php:547 #: src/Module/Admin/Site.php:550
msgid "Start Relocation" msgid "Start Relocation"
msgstr "" msgstr ""
@ -8541,26 +8551,26 @@ msgid ""
"Registration successful. Please check your email for further instructions." "Registration successful. Please check your email for further instructions."
msgstr "" msgstr ""
#: src/Module/Register.php:339 #: src/Module/Register.php:343
#, php-format #, php-format
msgid "" msgid ""
"Failed to send email message. Here your accout details:<br> login: %s<br> " "Failed to send email message. Here your accout details:<br> login: %s<br> "
"password: %s<br><br>You can change your password after login." "password: %s<br><br>You can change your password after login."
msgstr "" msgstr ""
#: src/Module/Register.php:345 #: src/Module/Register.php:349
msgid "Registration successful." msgid "Registration successful."
msgstr "" msgstr ""
#: src/Module/Register.php:350 src/Module/Register.php:357 #: src/Module/Register.php:357 src/Module/Register.php:364
msgid "Your registration can not be processed." msgid "Your registration can not be processed."
msgstr "" msgstr ""
#: src/Module/Register.php:356 #: src/Module/Register.php:363
msgid "You have to leave a request note for the admin." msgid "You have to leave a request note for the admin."
msgstr "" msgstr ""
#: src/Module/Register.php:402 #: src/Module/Register.php:388
msgid "Your registration is pending approval by the site owner." msgid "Your registration is pending approval by the site owner."
msgstr "" msgstr ""
@ -10491,7 +10501,7 @@ msgid "%1$s commented on your thread %2$s"
msgstr "" msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:225 #: src/Navigation/Notifications/Repository/Notify.php:225
#: src/Navigation/Notifications/Repository/Notify.php:721 #: src/Navigation/Notifications/Repository/Notify.php:742
msgid "[Friendica:Notify]" msgid "[Friendica:Notify]"
msgstr "" msgstr ""
@ -10535,7 +10545,7 @@ msgid "%1$s commented on their %2$s %3$s"
msgstr "" msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:337 #: src/Navigation/Notifications/Repository/Notify.php:337
#: src/Navigation/Notifications/Repository/Notify.php:755 #: src/Navigation/Notifications/Repository/Notify.php:776
#, php-format #, php-format
msgid "%1$s Comment to conversation #%2$d by %3$s" msgid "%1$s Comment to conversation #%2$d by %3$s"
msgstr "" msgstr ""
@ -10547,7 +10557,7 @@ msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:343 #: src/Navigation/Notifications/Repository/Notify.php:343
#: src/Navigation/Notifications/Repository/Notify.php:358 #: src/Navigation/Notifications/Repository/Notify.php:358
#: src/Navigation/Notifications/Repository/Notify.php:770 #: src/Navigation/Notifications/Repository/Notify.php:791
#, php-format #, php-format
msgid "Please visit %s to view and/or reply to the conversation." msgid "Please visit %s to view and/or reply to the conversation."
msgstr "" msgstr ""
@ -10708,6 +10718,7 @@ msgid "You've received a [url=%1$s]registration request[/url] from %2$s."
msgstr "" msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:475 #: src/Navigation/Notifications/Repository/Notify.php:475
#: src/Navigation/Notifications/Repository/Notify.php:496
#, php-format #, php-format
msgid "" msgid ""
"Full Name:\t%s\n" "Full Name:\t%s\n"
@ -10720,12 +10731,31 @@ msgstr ""
msgid "Please visit %s to approve or reject the request." msgid "Please visit %s to approve or reject the request."
msgstr "" msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:749 #: src/Navigation/Notifications/Repository/Notify.php:488
msgid "new registration"
msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:490
#, php-format
msgid "You've received a new registration from '%1$s' at %2$s"
msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:491
#, php-format
msgid "You've received a [url=%1$s]new registration[/url] from %2$s."
msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:502
#, php-format
msgid "Please visit %s to have a look at the new registration."
msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:770
#, php-format #, php-format
msgid "%s %s tagged you" msgid "%s %s tagged you"
msgstr "" msgstr ""
#: src/Navigation/Notifications/Repository/Notify.php:752 #: src/Navigation/Notifications/Repository/Notify.php:773
#, php-format #, php-format
msgid "%s %s shared a new post" msgid "%s %s shared a new post"
msgstr "" msgstr ""

View file

@ -37,6 +37,7 @@
{{include file="field_checkbox.tpl" field=$enable_multi_reg}} {{include file="field_checkbox.tpl" field=$enable_multi_reg}}
{{include file="field_checkbox.tpl" field=$enable_openid}} {{include file="field_checkbox.tpl" field=$enable_openid}}
{{include file="field_checkbox.tpl" field=$enable_regfullname}} {{include file="field_checkbox.tpl" field=$enable_regfullname}}
{{include file="field_checkbox.tpl" field=$register_notification}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div> <div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
<h2>{{$upload}}</h2> <h2>{{$upload}}</h2>

View file

@ -77,6 +77,7 @@
{{include file="field_checkbox.tpl" field=$enable_multi_reg}} {{include file="field_checkbox.tpl" field=$enable_multi_reg}}
{{include file="field_checkbox.tpl" field=$enable_openid}} {{include file="field_checkbox.tpl" field=$enable_openid}}
{{include file="field_checkbox.tpl" field=$enable_regfullname}} {{include file="field_checkbox.tpl" field=$enable_regfullname}}
{{include file="field_checkbox.tpl" field=$register_notification}}
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/> <input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>