mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-16 23:00:51 +03:00
Исправлены текстовки
This commit is contained in:
parent
9b94f218e3
commit
f53ae7dc6d
|
@ -1101,7 +1101,7 @@ class ActionProfile extends Action {
|
|||
'oChangemail' => $oChangemail,
|
||||
));
|
||||
|
||||
$this->Viewer_Assign('sText',$this->Lang_Get('settings_profile_mail_change_to_notice'));
|
||||
$this->Viewer_Assign('sText',$this->Lang_Get('user.settings.account.fields.email.notices.change_to_notice'));
|
||||
$this->SetTemplate('actions/ActionSettings/account.change_email_confirm.tpl');
|
||||
}
|
||||
/**
|
||||
|
@ -1131,7 +1131,7 @@ class ActionProfile extends Action {
|
|||
$this->Subscribe_ChangeSubscribeMail($oChangemail->getMailFrom(),$oChangemail->getMailTo(),$oUser->getId());
|
||||
}
|
||||
|
||||
$this->Viewer_Assign('sText',$this->Lang_Get('settings_profile_mail_change_ok',array('mail'=>htmlspecialchars($oChangemail->getMailTo()))));
|
||||
$this->Viewer_Assign('sText',$this->Lang_Get('user.settings.account.fields.email.notices.change_ok',array('mail'=>htmlspecialchars($oChangemail->getMailTo()))));
|
||||
$this->SetTemplate('actions/ActionSettings/account.change_email_confirm.tpl');
|
||||
}
|
||||
/**
|
||||
|
|
|
@ -269,11 +269,11 @@ class ActionSettings extends Action {
|
|||
*/
|
||||
if (func_check(getRequestStr('mail'),'mail')) {
|
||||
if ($oUserMail=$this->User_GetUserByMail(getRequestStr('mail')) and $oUserMail->getId()!=$this->oUserCurrent->getId()) {
|
||||
$this->Message_AddError($this->Lang_Get('settings_profile_mail_error_used'),$this->Lang_Get('error'));
|
||||
$this->Message_AddError($this->Lang_Get('user.settings.account.fields.email.notices.error_used'),$this->Lang_Get('error'));
|
||||
$bError=true;
|
||||
}
|
||||
} else {
|
||||
$this->Message_AddError($this->Lang_Get('settings_profile_mail_error'),$this->Lang_Get('error'));
|
||||
$this->Message_AddError($this->Lang_Get('user.settings.account.fields.email.notices.error'),$this->Lang_Get('error'));
|
||||
$bError=true;
|
||||
}
|
||||
/**
|
||||
|
@ -286,15 +286,15 @@ class ActionSettings extends Action {
|
|||
$this->oUserCurrent->setPassword(func_encrypt(getRequestStr('password')));
|
||||
} else {
|
||||
$bError=true;
|
||||
$this->Message_AddError($this->Lang_Get('settings_profile_password_current_error'),$this->Lang_Get('error'));
|
||||
$this->Message_AddError($this->Lang_Get('user.settings.account.fields.password.notices.error'),$this->Lang_Get('error'));
|
||||
}
|
||||
} else {
|
||||
$bError=true;
|
||||
$this->Message_AddError($this->Lang_Get('settings_profile_password_confirm_error'),$this->Lang_Get('error'));
|
||||
$this->Message_AddError($this->Lang_Get('user.settings.account.fields.password_confirm.notices.error'),$this->Lang_Get('error'));
|
||||
}
|
||||
} else {
|
||||
$bError=true;
|
||||
$this->Message_AddError($this->Lang_Get('settings_profile_password_new_error'),$this->Lang_Get('error'));
|
||||
$this->Message_AddError($this->Lang_Get('user.settings.account.fields.password_new.notices.error'),$this->Lang_Get('error'));
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
@ -317,9 +317,9 @@ class ActionSettings extends Action {
|
|||
if (getRequestStr('mail') and getRequestStr('mail')!=$this->oUserCurrent->getMail()) {
|
||||
if ($oChangemail=$this->User_MakeUserChangemail($this->oUserCurrent,getRequestStr('mail'))) {
|
||||
if ($oChangemail->getMailFrom()) {
|
||||
$this->Message_AddNotice($this->Lang_Get('settings_profile_mail_change_from_notice'));
|
||||
$this->Message_AddNotice($this->Lang_Get('user.settings.account.fields.email.notices.change_from_notice'));
|
||||
} else {
|
||||
$this->Message_AddNotice($this->Lang_Get('settings_profile_mail_change_to_notice'));
|
||||
$this->Message_AddNotice($this->Lang_Get('user.settings.account.fields.email.notices.change_to_notice'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1430,29 +1430,30 @@ return array(
|
|||
'label' => 'E-mail',
|
||||
'note' => 'Ваш реальный почтовый адрес, на него будут приходить уведомления',
|
||||
'notices' => array(
|
||||
'settings_profile_mail_error' => 'Неверный формат e-mail',
|
||||
'settings_profile_mail_error_used' => 'Этот емайл уже занят',
|
||||
'settings_profile_mail_change_from_notice' => 'На вашу старую почту отправлено подтверждение для смены емайла',
|
||||
'settings_profile_mail_change_to_notice' => 'Спасибо! <br/> На ваш новый емайл адрес отправлено подтверждение для смены старого емайла.',
|
||||
'settings_profile_mail_change_ok' => 'Ваш емайл изменен на <b>%%mail%%</b>',
|
||||
'error' => 'Неверный формат e-mail',
|
||||
'error_used' => 'Этот емайл уже занят',
|
||||
'change_from_notice' => 'На вашу старую почту отправлено подтверждение для смены емайла',
|
||||
'change_to_notice' => 'Спасибо! <br/> На ваш новый емайл адрес отправлено подтверждение для смены старого емайла.',
|
||||
'change_ok' => 'Ваш емайл изменен на <b>%%mail%%</b>',
|
||||
)
|
||||
),
|
||||
'password' => array(
|
||||
'label' => '___auth.labels.password___',
|
||||
'notices' => array(
|
||||
'settings_profile_password_current' => 'Текущий пароль',
|
||||
'settings_profile_password_current_error' => 'Неверный текущий пароль',
|
||||
'settings_profile_password_new' => 'Новый пароль',
|
||||
'settings_profile_password_new_error' => 'Неверный пароль, допустим от 5 символов',
|
||||
'settings_profile_password_confirm' => 'Еще раз новый пароль',
|
||||
'settings_profile_password_confirm_error' => 'Пароли не совпадают',
|
||||
'error' => 'Неверный текущий пароль',
|
||||
)
|
||||
),
|
||||
'password_new' => array(
|
||||
'label' => 'Новый пароль',
|
||||
'notices' => array(
|
||||
'error' => 'Неверный пароль, допустим от 5 символов',
|
||||
)
|
||||
),
|
||||
'password_confirm' => array(
|
||||
'label' => '___auth.registration.form.fields.password_confirm.label___',
|
||||
'notices' => array(
|
||||
'confirm_error' => 'Пароли не совпадают',
|
||||
)
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue