-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
64 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
return [ | ||
'languages' => ['ru'], | ||
'sourcePath' => dirname(__DIR__), | ||
'messagePath' => dirname(__DIR__) . '/messages', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,44 @@ | ||
<?php | ||
|
||
/* | ||
* Yii2 module providing multi-factor authentication | ||
* | ||
* @link https://github.com/hiqdev/yii2-mfa | ||
* @package yii2-mfa | ||
* @license BSD-3-Clause | ||
* @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/) | ||
/** | ||
* Message translations. | ||
* | ||
* This file is automatically generated by 'yii message/extract' command. | ||
* It contains the localizable messages extracted from source code. | ||
* You may modify this file by translating the extracted messages. | ||
* | ||
* Each array element represents the translation (value) of a message (key). | ||
* If the value is empty, the message is considered as not translated. | ||
* Messages that no longer need translation will have their translations | ||
* enclosed between a pair of '@@' marks. | ||
* | ||
* Message string can be used with plural forms format. Check i18n section | ||
* of the guide for details. | ||
* | ||
* NOTE: this file must be saved in UTF-8 encoding. | ||
*/ | ||
|
||
return []; | ||
return [ | ||
'Add this IP to the list of allowed IPs' => 'Добавить этот IP в список разрешённых', | ||
'Allow IP {ip} for {org}' => 'Разрешить IP {ip} для {org}', | ||
'Authentication code' => 'Проверочный код', | ||
'Check your email for further instructions.' => 'Проверьте вашу электронную почту для получения дальнейших инструкций.', | ||
'Enable two-factor authentication' => 'Включить двухфакторную аутентификацию', | ||
'Enter the six-digit code from your app' => 'Введите шестизначный код из вашего приложения', | ||
'Follow the link below to allow the IP address {ip}:' => 'Перейдите по ссылке ниже чтобы разрешить IP-адрес {ip}:', | ||
'Hello {name}' => 'Здравствуйте {name}', | ||
'If you can\'t use a QR-code {link}' => 'Если вы не можете использовать QR-код', | ||
'Not allowed IP' => 'Неразрешённый IP', | ||
'Now you are allowed to login from {ip}.' => 'Теперь Вам разрешён логин с {ip}', | ||
'Scan the image below with the two-factor authentication app on your mobile device.' => 'Сканируйте изображение ниже с помощью приложения двухфакторной аутентификации на вашем мобильном устройстве', | ||
'Scan this QR-code with your app' => 'Сканируйте этот QR-код вашим приложением', | ||
'Sorry, we are unable to add allowed IP for the user.' => 'Извините, мы не можем разрешить IP этому пользователю.', | ||
'Sorry, we have failed to enable two-factor authentication.' => 'Извините, не удалось включить двухфакторную аутентификацию.', | ||
'Two-factor authentication' => 'Двухфакторная аутентификация', | ||
'Two-factor authentication is already enabled. Disable first.' => 'Двухфакторная аутентификация уже включена. Сначала выключите.', | ||
'Two-factor authentication successfully disabled.' => 'Двухфакторная аутентификация успешно выключена.', | ||
'Two-factor authentication successfully enabled.' => 'Двухфакторная аутентификация успешно включена.', | ||
'Use your two-factor authentication app to find the authentication code for:' => 'Воспользуйтесь вашим приложением двухфакторной аутентификации чтобы получить проверочный код для:', | ||
'Verify' => 'Проверить', | ||
'Wrong verification code. Please verify your secret and try again.' => 'Неправильный проверочный код. Пожалуйста, проверьте ваш секретный код и попробуйте снова.', | ||
'You are not allowed to login from this IP' => 'Вам не разрешен доступ с этого IP', | ||
'enter this text code instead' => 'введите этот код', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters