mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 19:08:53 +00:00
[ticket/10896] Move EMAIL_INVALID_EMAIL to common, replace EMAIL_INVALID
PHPBB3-10896
This commit is contained in:
parent
293b65e3ef
commit
5aec7600a6
3 changed files with 2 additions and 3 deletions
|
@ -452,7 +452,7 @@ function validate_config_vars($config_vars, &$cfg_array, &$error)
|
|||
case 'email':
|
||||
if (!preg_match('/^' . get_preg_expression('email') . '$/i', $cfg_array[$config_name]))
|
||||
{
|
||||
$error[] = $user->lang['EMAIL_INVALID'];
|
||||
$error[] = $user->lang['EMAIL_INVALID_EMAIL'];
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ $lang = array_merge($lang, array(
|
|||
'EDIT_POST' => 'Edit post',
|
||||
'EMAIL' => 'E-mail', // Short form for EMAIL_ADDRESS
|
||||
'EMAIL_ADDRESS' => 'E-mail address',
|
||||
'EMAIL_INVALID' => 'The email address you entered is invalid.',
|
||||
'EMAIL_INVALID_EMAIL' => 'The e-mail address you entered is invalid.',
|
||||
'EMAIL_SMTP_ERROR_RESPONSE' => 'Ran into problems sending e-mail at <strong>Line %1$s</strong>. Response: %2$s.',
|
||||
'EMPTY_SUBJECT' => 'You must specify a subject when posting a new topic.',
|
||||
'EMPTY_MESSAGE_SUBJECT' => 'You must specify a subject when composing a new message.',
|
||||
|
|
|
@ -176,7 +176,6 @@ $lang = array_merge($lang, array(
|
|||
|
||||
'EDIT_DRAFT_EXPLAIN' => 'Here you are able to edit your draft. Drafts do not contain attachment and poll information.',
|
||||
'EMAIL_BANNED_EMAIL' => 'The e-mail address you entered is not allowed to be used.',
|
||||
'EMAIL_INVALID_EMAIL' => 'The e-mail address you entered is invalid.',
|
||||
'EMAIL_REMIND' => 'This must be the e-mail address associated with your account. If you have not changed this via your user control panel then it is the e-mail address you registered your account with.',
|
||||
'EMAIL_TAKEN_EMAIL' => 'The entered e-mail address is already in use.',
|
||||
'EMPTY_DRAFT' => 'You must enter a message to submit your changes.',
|
||||
|
|
Loading…
Add table
Reference in a new issue