This commit is contained in:
Daniel Winzen 2023-09-12 20:02:12 +02:00
parent be717d646d
commit 1238f003d6
No known key found for this signature in database
GPG key ID: 222FCC3F35C41077
2 changed files with 3 additions and 3 deletions

View file

@ -293,7 +293,7 @@ function check_email_valid( string $email, string &$msg = '' ): bool
{ {
$validator = new EmailValidator(); $validator = new EmailValidator();
if ( ! $validator->isValid( $email, new NoRFCWarningsValidation() ) ) { if ( ! $validator->isValid( $email, new NoRFCWarningsValidation() ) ) {
$msg .= '<div class="red" role="alert">'.htmlspecialchars(_('Invalid email address.)').'</div>'; $msg .= '<div class="red" role="alert">'.htmlspecialchars(_('Invalid email address.')).'</div>';
return false; return false;
} }
return true; return true;

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-12 19:48+0200\n" "POT-Creation-Date: 2023-09-12 20:01+0200\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"
@ -54,7 +54,7 @@ msgid "You are not allowed to manage this domain."
msgstr "" msgstr ""
#: common_config.php:296 #: common_config.php:296
msgid "Invalid email address.)" msgid "Invalid email address."
msgstr "" msgstr ""
#: setup.php:8 #: setup.php:8