fix localization
This commit is contained in:
		
							parent
							
								
									fa7ddadb24
								
							
						
					
					
						commit
						e6ef6ac019
					
				|  | @ -5,7 +5,7 @@ COUNTRY_CODE="7" | ||||||
| 
 | 
 | ||||||
| USER="smsd" | USER="smsd" | ||||||
| GROUP="smsd" | GROUP="smsd" | ||||||
| SPOOLDIR="/var/spool/sms/outgoing/" | SPOOLDIR="/srv/data/sms/outgoing/" | ||||||
| 
 | 
 | ||||||
| if [ -z "$*" ]; then | if [ -z "$*" ]; then | ||||||
|     echo "Usage: ./sendsms.sh \"phone number\" \"message\"" |     echo "Usage: ./sendsms.sh \"phone number\" \"message\"" | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ $labels['phone']                    = 'Phone'; | ||||||
| $labels['altemail']                 = 'Alternate E-mail'; | $labels['altemail']                 = 'Alternate E-mail'; | ||||||
| $labels['newpassword']              = 'New password'; | $labels['newpassword']              = 'New password'; | ||||||
| $labels['newpassword_confirm']      = 'Confirmation'; | $labels['newpassword_confirm']      = 'Confirmation'; | ||||||
| $labels['code']                     = 'Confirmation code for recovery password'; | $labels['code']                     = 'Confirmation code'; | ||||||
| $labels['question']                 = 'Secret question'; | $labels['question']                 = 'Secret question'; | ||||||
| $labels['answer']                   = 'Answer to a secret question'; | $labels['answer']                   = 'Answer to a secret question'; | ||||||
| $labels['answer_confirm']           = 'Confirmation'; | $labels['answer_confirm']           = 'Confirmation'; | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ $labels['phone']                    = 'Телефон'; | ||||||
| $labels['altemail']                 = 'Альтернативный E-mail'; | $labels['altemail']                 = 'Альтернативный E-mail'; | ||||||
| $labels['newpassword']              = 'Новый пароль'; | $labels['newpassword']              = 'Новый пароль'; | ||||||
| $labels['newpassword_confirm']      = 'Подтверждение'; | $labels['newpassword_confirm']      = 'Подтверждение'; | ||||||
| $labels['code']                     = 'Код для восстановления пароля'; | $labels['code']                     = 'Код подтверждения'; | ||||||
| $labels['question']                 = 'Секретный вопрос'; | $labels['question']                 = 'Секретный вопрос'; | ||||||
| $labels['answer']                   = 'Ответ на секретный вопрос'; | $labels['answer']                   = 'Ответ на секретный вопрос'; | ||||||
| $labels['answer_confirm']           = 'Подтверждение'; | $labels['answer_confirm']           = 'Подтверждение'; | ||||||
|  |  | ||||||
|  | @ -140,6 +140,11 @@ class password_recovery extends rcube_plugin { | ||||||
|     // Creating form for new password
 |     // Creating form for new password
 | ||||||
|     private function new_password_form() { |     private function new_password_form() { | ||||||
|         $this->rc->output->add_label( |         $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.recovery_password', | ||||||
|             'password_recovery.renew_code', |             'password_recovery.renew_code', | ||||||
|             'password_recovery.count_send_code_maximum', |             'password_recovery.count_send_code_maximum', | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue