fix localization

This commit is contained in:
alf 2022-01-10 12:13:54 +03:00
parent fa7ddadb24
commit e6ef6ac019
4 changed files with 8 additions and 3 deletions

View File

@ -5,7 +5,7 @@ COUNTRY_CODE="7"
USER="smsd"
GROUP="smsd"
SPOOLDIR="/var/spool/sms/outgoing/"
SPOOLDIR="/srv/data/sms/outgoing/"
if [ -z "$*" ]; then
echo "Usage: ./sendsms.sh \"phone number\" \"message\""

View File

@ -6,7 +6,7 @@ $labels['phone'] = 'Phone';
$labels['altemail'] = 'Alternate E-mail';
$labels['newpassword'] = 'New password';
$labels['newpassword_confirm'] = 'Confirmation';
$labels['code'] = 'Confirmation code for recovery password';
$labels['code'] = 'Confirmation code';
$labels['question'] = 'Secret question';
$labels['answer'] = 'Answer to a secret question';
$labels['answer_confirm'] = 'Confirmation';

View File

@ -6,7 +6,7 @@ $labels['phone'] = 'Телефон';
$labels['altemail'] = 'Альтернативный E-mail';
$labels['newpassword'] = 'Новый пароль';
$labels['newpassword_confirm'] = 'Подтверждение';
$labels['code'] = 'Код для восстановления пароля';
$labels['code'] = 'Код подтверждения';
$labels['question'] = 'Секретный вопрос';
$labels['answer'] = 'Ответ на секретный вопрос';
$labels['answer_confirm'] = 'Подтверждение';

View File

@ -140,6 +140,11 @@ class password_recovery extends rcube_plugin {
// Creating form for new password
private function new_password_form() {
$this->rc->output->add_label(
'password_recovery.newpassword',
'password_recovery.newpassword_confirm',
'password_recovery.question',
'password_recovery.answer',
'password_recovery.code',
'password_recovery.recovery_password',
'password_recovery.renew_code',
'password_recovery.count_send_code_maximum',