testing translation

This commit is contained in:
resurtm
2017-01-11 22:46:21 +06:00
parent 1cb60f0740
commit 66ded8cc22
2 changed files with 222 additions and 23 deletions

View File

@ -13,30 +13,30 @@ return [
'sourcePath' => __DIR__ . '/../../../User', 'sourcePath' => __DIR__ . '/../../../User',
'messagePath' => __DIR__, 'messagePath' => __DIR__,
'languages' => [ 'languages' => [
'ca', // 'ca',
'da', // 'da',
'de', // 'de',
'de-DU', // 'de-DU',
'es', // 'es',
'fa-IR', // 'fa-IR',
'fi', // 'fi',
'fr', // 'fr',
'hr', // 'hr',
'hu', // 'hu',
'it', // 'it',
'kk', // 'kk',
'lt', // 'lt',
'nl', // 'nl',
'pl', // 'pl',
'pt-BR', // 'pt-BR',
'pt-PT', // 'pt-PT',
'ro', // 'ro',
'ru', 'ru',
'th', // 'th',
'tr_TR', // 'tr_TR',
'uk', // 'uk',
'vi', // 'vi',
'zh-CN', // 'zh-CN',
], ],
'translator' => 'Yii::t', 'translator' => 'Yii::t',
'sort' => false, 'sort' => false,

View File

@ -0,0 +1,199 @@
<?php
/**
* 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 [
'(not set)' => '(неустановлено)',
'A confirmation message has been sent to your new email address' => '',
'A message has been sent to your email address. ' => '',
'A new confirmation link has been sent' => '',
'A password will be generated automatically if not provided' => '',
'Account' => 'Аккаунт',
'Account confirmation' => 'Подтверждение аккаунта',
'Account details' => 'Детали аккаунта',
'Account details have been updated' => '',
'Account settings' => 'Настройки аккаунта',
'Already registered? Sign in!' => '',
'An email has been sent with instructions for resetting your password' => '',
'An error occurred processing your request' => '',
'Are you sure you want to block this user?' => '',
'Are you sure you want to confirm this user?' => '',
'Are you sure you want to delete this user?' => '',
'Are you sure you want to unblock this user?' => '',
'Are you sure? Deleted user can not be restored' => '',
'Are you sure? There is no going back' => '',
'Assignments' => '',
'Assignments have been updated' => '',
'Auth item with such name already exists' => '',
'Authorization item successfully created.' => '',
'Authorization item successfully removed.' => '',
'Authorization item successfully updated.' => '',
'Awesome, almost there. ' => '',
'Bio' => '',
'Block' => '',
'Block status' => '',
'Blocked at {0, date, MMMM dd, YYYY HH:mm}' => '',
'Change your avatar at Gravatar.com' => '',
'Children' => '',
'Class "{0}" does not exist' => '',
'Complete password reset on {0}' => '',
'Confirm' => '',
'Confirm account on {0}' => '',
'Confirm email change on {0}' => '',
'Confirmation' => '',
'Confirmation status' => '',
'Confirmation time' => '',
'Confirmed' => '',
'Confirmed at {0, date, MMMM dd, YYYY HH:mm}' => '',
'Connect' => '',
'Continue' => '',
'Create' => '',
'Create a user account' => '',
'Create new permission' => '',
'Create new role' => '',
'Credentials will be sent to the user by email' => '',
'Current password' => '',
'Current password is not valid' => '',
'Delete' => '',
'Delete account' => '',
'Description' => '',
'Didn\'t receive confirmation message?' => '',
'Disconnect' => '',
'Don\'t have an account? Sign up!' => '',
'Email' => '',
'Email (public)' => '',
'Error occurred while changing password' => '',
'Error occurred while confirming user' => '',
'Error occurred while deleting user' => '',
'Finish' => '',
'Forgot password?' => '',
'Gravatar email' => '',
'Hello' => '',
'If you already registered, sign in and connect this account on settings page' => '',
'If you cannot click the link, please try pasting the text into your browser' => '',
'If you did not make this request you can ignore this email' => '',
'In order to complete your registration, please click the link below' => '',
'In order to complete your request, please click the link below' => '',
'In order to finish your registration, we need you to enter following fields' => '',
'Information' => '',
'Invalid login or password' => '',
'Invalid or expired link' => '',
'Invalid value' => '',
'It will be deleted forever' => '',
'Items' => '',
'Joined on {0, date}' => '',
'Location' => '',
'Login' => '',
'Logout' => '',
'Manage users' => '',
'Name' => '',
'Networks' => '',
'New email' => '',
'New password' => '',
'New permission' => '',
'New role' => '',
'New user' => '',
'Not blocked' => '',
'Not found' => '',
'Once you delete your account, there is no going back' => '',
'Password' => '',
'Password has been changed' => '',
'Permissions' => '',
'Please be certain' => '',
'Please click the link below to complete your password reset' => '',
'Please fix following errors:' => '',
'Profile' => '',
'Profile details' => '',
'Profile details have been updated' => '',
'Profile settings' => '',
'Recover your password' => '',
'Recovery link is invalid or expired. Please try requesting a new one.' => '',
'Recovery message sent' => '',
'Registration IP' => '',
'Registration ip' => '',
'Registration on this website is disabled' => '',
'Registration time' => '',
'Remember me next time' => '',
'Request new confirmation message' => '',
'Reset your password' => '',
'Roles' => '',
'Rule' => '',
'Rule class can not be instantiated' => '',
'Rule class must extend "yii
bacRule"' => '',
'Rule name' => '',
'Save' => '',
'Sign in' => '',
'Sign up' => '',
'Something went wrong' => '',
'Thank you for signing up on {0}' => '',
'Thank you, registration is now complete.' => '',
'The confirmation link is invalid or expired. Please try requesting a new one.' => '',
'There is neither role nor permission with name "{0}"' => '',
'This account has already been connected to another user' => '',
'This email address has already been taken' => '',
'This username has already been taken' => '',
'Time zone' => '',
'Time zone is not valid' => '',
'Unable to confirm user. Please, try again.' => '',
'Unable to create an account.' => '',
'Unable to create authorization item.' => '',
'Unable to delete user. Please, try again later.' => '',
'Unable to remove authorization item.' => '',
'Unable to send confirmation link' => '',
'Unable to update authorization item.' => '',
'Unable to update block status.' => '',
'Unblock' => '',
'Unconfirmed' => '',
'Update' => 'Обновить',
'Update assignments' => '',
'Update permission' => '',
'Update role' => 'Обновить роли',
'Update user account' => '',
'User block status has been updated.' => '',
'User has been confirmed' => '',
'User has been created' => '',
'User has been deleted' => '',
'User is not found' => 'Пользователь не найден',
'Username' => 'Имя пользователя',
'Users' => 'Пользователи',
'VKontakte' => 'ВКонтакте',
'We couldn\'t re-send the mail to confirm your address. ' => '',
'We have generated a password for you' => '',
'We have received a request to change the email address for your account on {0}' => '',
'We have received a request to reset the password for your account on {0}' => '',
'We have sent confirmation links to both old and new email addresses. ' => '',
'Website' => '',
'Welcome to {0}' => '',
'Yandex' => 'Яндекс',
'You can assign multiple roles or permissions to user by using the form below' => '',
'You can connect multiple accounts to be able to log in using them' => '',
'You cannot remove your own account' => '',
'You need to confirm your email address' => '',
'Your account details have been updated' => '',
'Your account has been blocked' => '',
'Your account has been blocked.' => '',
'Your account has been completely deleted' => '',
'Your account has been connected' => '',
'Your account has been created' => '',
'Your account has been created and a message with further instructions has been sent to your email' => '',
'Your account on {0} has been created' => '',
'Your confirmation token is invalid or expired' => '',
'Your email address has been changed' => 'Ваш почтовый адрес был обновлён',
'Your profile has been updated' => 'Ваш профиль был обновлён',
'{0, date, MMMM dd, YYYY HH:mm}' => '',
];