Missing translatable strings #276

This commit is contained in:
Lorenzo Milesi
2018-10-22 18:13:16 +02:00
parent b74af3c25b
commit 3d9fd62aa0
30 changed files with 104 additions and 41 deletions

View File

@ -21,6 +21,7 @@
- Fix #252: Delete check for unexpected property `allowPasswordRecovery` for resend email by admin (bscheshirwork) - Fix #252: Delete check for unexpected property `allowPasswordRecovery` for resend email by admin (bscheshirwork)
- Fix #254: Rename `GDPR` properties to `lowerCamelCase` style (bscheshirwork) - Fix #254: Rename `GDPR` properties to `lowerCamelCase` style (bscheshirwork)
- Fix #258: Rename `GDPR` delete action to `lowerCamelCase`/`dash` style (bscheshirwork) - Fix #258: Rename `GDPR` delete action to `lowerCamelCase`/`dash` style (bscheshirwork)
- Fix #276: Fix missing translatable strings
## 1.1.4 - February 19, 2018 ## 1.1.4 - February 19, 2018
- Enh: Check enableEmailConfirmation on registration (faenir) - Enh: Check enableEmailConfirmation on registration (faenir)

View File

@ -15,6 +15,7 @@ use Da\User\Traits\AuthManagerAwareTrait;
use Da\User\Validator\RbacRuleNameValidator; use Da\User\Validator\RbacRuleNameValidator;
use Da\User\Validator\RbacRuleValidator; use Da\User\Validator\RbacRuleValidator;
use yii\base\Model; use yii\base\Model;
use Yii;
class Rule extends Model class Rule extends Model
{ {
@ -57,4 +58,15 @@ class Rule extends Model
[['className'], RbacRuleValidator::class], [['className'], RbacRuleValidator::class],
]; ];
} }
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'name' => Yii::t('usuario', 'Name'),
'className' => Yii::t('usuario', 'Rule class name'),
];
}
} }

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -39,6 +39,8 @@ return [
'Password age' => '', 'Password age' => '',
'Privacy' => '', 'Privacy' => '',
'Privacy settings' => '', 'Privacy settings' => '',
'Rule class name' => '',
'Select rule...' => '',
'There was an error in saving user' => '', 'There was an error in saving user' => '',
'This will disable two factor authentication. Are you sure?' => '', 'This will disable two factor authentication. Are you sure?' => '',
'This will remove your personal data from this site. You will no longer be able to sign in.' => '', 'This will remove your personal data from this site. You will no longer be able to sign in.' => '',

View File

@ -17,6 +17,8 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMM dd, YYYY HH:mm}' => '',
'Two factor authentication protects you against stolen credentials' => '@@La autenticación de dos factores le protege del robo de credenciales@@', 'Two factor authentication protects you against stolen credentials' => '@@La autenticación de dos factores le protege del robo de credenciales@@',

View File

@ -19,6 +19,8 @@
return [ return [
'Authentication rule class {0} can not be instantiated' => '', 'Authentication rule class {0} can not be instantiated' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Select rule...' => '',
'VKontakte' => '', 'VKontakte' => '',
'Yandex' => '', 'Yandex' => '',
'{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMM dd, YYYY HH:mm}' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -17,6 +17,8 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'A message has been sent to your email address. ' => '@@Üzenet érkezett az e-mail címedre.@@', 'A message has been sent to your email address. ' => '@@Üzenet érkezett az e-mail címedre.@@',
'Awesome, almost there. ' => '@@Hurrá, majdnem kész.@@', 'Awesome, almost there. ' => '@@Hurrá, majdnem kész.@@',

View File

@ -17,6 +17,8 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMM dd, YYYY HH:mm}' => '',
'Two factor authentication protects you against stolen credentials' => '@@L\'autenticazione a due fattori può proteggerti dal furto di credenziali@@', 'Two factor authentication protects you against stolen credentials' => '@@L\'autenticazione a due fattori può proteggerti dal furto di credenziali@@',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -17,6 +17,8 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'A message has been sent to your email address. ' => '@@Een bericht werd naar jouw emailadres verzonden@@', 'A message has been sent to your email address. ' => '@@Een bericht werd naar jouw emailadres verzonden@@',
'Awesome, almost there. ' => '@@Super, bijna klaar.@@', 'Awesome, almost there. ' => '@@Super, bijna klaar.@@',

View File

@ -17,6 +17,8 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'Disable Two-Factor Auth' => '@@Wyłącz uwierzytelnianie dwuetapowe@@', 'Disable Two-Factor Auth' => '@@Wyłącz uwierzytelnianie dwuetapowe@@',
'Enable Two-factor auth' => '@@Włącz uwierzytelnianie dwuetapowe@@', 'Enable Two-factor auth' => '@@Włącz uwierzytelnianie dwuetapowe@@',

View File

@ -17,6 +17,8 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'A message has been sent to your email address. ' => '@@Uma mensagem foi enviada para o seu endereço de e-mail.@@', 'A message has been sent to your email address. ' => '@@Uma mensagem foi enviada para o seu endereço de e-mail.@@',
'Awesome, almost there. ' => '@@Incrível, quase lá.@@', 'Awesome, almost there. ' => '@@Incrível, quase lá.@@',

View File

@ -17,7 +17,46 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Awesome, almost there. Now you need to click the confirmation link sent to your new email address.' => '',
'Awesome, almost there. Now you need to click the confirmation link sent to your old email address.' => '',
'Children' => '',
'Class' => '',
'Email' => '',
'Gravatar email' => '',
'Items' => '',
'Password' => '',
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'VKontakte' => '',
'Website' => '',
'Yandex' => '',
'{0, date, MMMM dd, YYYY HH:mm}' => '',
'A message has been sent to your email address. ' => '@@@@',
'Awesome, almost there. ' => '@@@@',
'Class "{0}" does not exist' => '@@@@',
'Disable Two-Factor Auth' => '@@@@',
'Enable Two-factor auth' => '@@@@',
'I aggree processing of my personal data and the use of cookies
to facilitate the operation of this site. For more information read our {privacyPolicy}' => '@@@@',
'I aggree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '@@@@',
'Invalid two-factor code' => '@@@@',
'Last login' => '@@@@',
'Registration ip' => '@@@@',
'Rule class can not be instantiated' => '@@@@',
'Rule class must extend "yii\\rbac\\Rule"' => '@@@@',
'This will disable two-factor auth. Are you sure?' => '@@@@',
'Two Factor Authentication' => '@@@@',
'Two factor authentication protects you against stolen credentials' => '@@Autenticação de dois passos protege-o do roubo de credenciais de acesso@@',
'Two factor successfully enabled.' => '@@@@',
'Two-Factor Authentication' => '@@@@',
'Two-factor auth protects you against stolen credentials' => '@@@@',
'Two-factor authentication code' => '@@@@',
'Two-factor authorization has been disabled.' => '@@@@',
'Two-factor code' => '@@@@',
'Unable to disable two-factor authorization.' => '@@@@',
'We couldn\'t re-send the mail to confirm your address. ' => '@@@@',
'We have sent confirmation links to both old and new email addresses. ' => '@@@@',
'(not set)' => '(não selecionado)', '(not set)' => '(não selecionado)',
'A confirmation message has been sent to your new email address' => 'Foi enviada uma mensagem de confirmação para o seu endereço de email', 'A confirmation message has been sent to your new email address' => 'Foi enviada uma mensagem de confirmação para o seu endereço de email',
'A message has been sent to your email address. It contains a confirmation link that you must click to complete registration.' => 'Foi enviada uma mensagem para o seu endereço de email com o link de confirmação para completar o seu registo.', 'A message has been sent to your email address. It contains a confirmation link that you must click to complete registration.' => 'Foi enviada uma mensagem para o seu endereço de email com o link de confirmação para completar o seu registo.',
@ -50,8 +89,6 @@ return [
'Authorization rule has been added.' => 'Regra de autorização foi adicionada', 'Authorization rule has been added.' => 'Regra de autorização foi adicionada',
'Authorization rule has been removed.' => 'Regra de autorização foi removida', 'Authorization rule has been removed.' => 'Regra de autorização foi removida',
'Authorization rule has been updated.' => 'Regra de autorização foi atualizada', 'Authorization rule has been updated.' => 'Regra de autorização foi atualizada',
'Awesome, almost there. Now you need to click the confirmation link sent to your new email address.' => '',
'Awesome, almost there. Now you need to click the confirmation link sent to your old email address.' => '',
'Back to privacy settings' => 'Voltar para opções de privacidade', 'Back to privacy settings' => 'Voltar para opções de privacidade',
'Bio' => 'Biografia', 'Bio' => 'Biografia',
'Block' => 'Bloquear', 'Block' => 'Bloquear',
@ -60,8 +97,6 @@ return [
'Cancel' => 'Cancelar', 'Cancel' => 'Cancelar',
'Cannot assign role "{0}" as the AuthManager is not configured on your console application.' => 'Não é possível atribuir o cargo "{0}" uma vez que o AuthManager não está configurado na sua aplicação da consola.', 'Cannot assign role "{0}" as the AuthManager is not configured on your console application.' => 'Não é possível atribuir o cargo "{0}" uma vez que o AuthManager não está configurado na sua aplicação da consola.',
'Change your avatar at Gravatar.com' => 'Altere o seu avatar em Gravatar.com', 'Change your avatar at Gravatar.com' => 'Altere o seu avatar em Gravatar.com',
'Children' => '',
'Class' => '',
'Close' => 'Fechar', 'Close' => 'Fechar',
'Complete password reset on {0}' => 'Concluir o restauro de password em {0}', 'Complete password reset on {0}' => 'Concluir o restauro de password em {0}',
'Confirm' => 'Confirmar', 'Confirm' => 'Confirmar',
@ -95,7 +130,6 @@ return [
'Disconnect' => 'Desligar', 'Disconnect' => 'Desligar',
'Don\'t have an account? Sign up!' => 'Não tem conta? Registe-se!', 'Don\'t have an account? Sign up!' => 'Não tem conta? Registe-se!',
'Download my data' => 'Descarregar os meus dados', 'Download my data' => 'Descarregar os meus dados',
'Email' => '',
'Email (public)' => 'Email (público)', 'Email (public)' => 'Email (público)',
'Enable' => 'Ativar', 'Enable' => 'Ativar',
'Enable two factor authentication' => 'Ativar autenticação de dois passos', 'Enable two factor authentication' => 'Ativar autenticação de dois passos',
@ -108,7 +142,6 @@ return [
'Finish' => 'Concluir', 'Finish' => 'Concluir',
'Force password change at next login' => 'Forçar alteração de password no próximo login', 'Force password change at next login' => 'Forçar alteração de password no próximo login',
'Forgot password?' => 'Esqueceu a sua senha?', 'Forgot password?' => 'Esqueceu a sua senha?',
'Gravatar email' => '',
'Hello' => 'Olá', 'Hello' => 'Olá',
'Here you can download your personal data in a comma separated values format.' => 'Aqui pode descarregar os seus dados pessoais num ficheiro separado por virgulas.', 'Here you can download your personal data in a comma separated values format.' => 'Aqui pode descarregar os seus dados pessoais num ficheiro separado por virgulas.',
'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => 'Eu aceito o processamento dos meus dados pessoais e o uso de cookies para facilitar as operações neste site. Para mais informações leia a nossa {privacyPolicy}', 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => 'Eu aceito o processamento dos meus dados pessoais e o uso de cookies para facilitar as operações neste site. Para mais informações leia a nossa {privacyPolicy}',
@ -126,7 +159,6 @@ return [
'Invalid two factor authentication code' => 'Autenticação de dois passos inválida', 'Invalid two factor authentication code' => 'Autenticação de dois passos inválida',
'Invalid value' => 'Valor inválido', 'Invalid value' => 'Valor inválido',
'It will be deleted forever' => 'Será eliminado definitivamente', 'It will be deleted forever' => 'Será eliminado definitivamente',
'Items' => '',
'Joined on {0, date}' => 'Aderiu em {0, date}', 'Joined on {0, date}' => 'Aderiu em {0, date}',
'Last login IP' => 'IP do último login', 'Last login IP' => 'IP do último login',
'Last login time' => 'Último login', 'Last login time' => 'Último login',
@ -148,7 +180,6 @@ return [
'Not found' => 'Não encontrado', 'Not found' => 'Não encontrado',
'Once you delete your account, there is no going back' => 'Após eliminar a sua conta, não será possível recuperá-la.', 'Once you delete your account, there is no going back' => 'Após eliminar a sua conta, não será possível recuperá-la.',
'Once you have deleted your data, you will not longer be able to sign in with this account.' => 'Após eliminar os seus dados, não poderá mais entrar com esta conta.', 'Once you have deleted your data, you will not longer be able to sign in with this account.' => 'Após eliminar os seus dados, não poderá mais entrar com esta conta.',
'Password' => '',
'Password age' => 'Idade da password', 'Password age' => 'Idade da password',
'Password has been changed' => 'A password foi alterada', 'Password has been changed' => 'A password foi alterada',
'Permissions' => 'Permissões', 'Permissions' => 'Permissões',
@ -238,16 +269,13 @@ return [
'User will be required to change password at next login' => 'O utilizador necessitará de alterar a password no próximo login', 'User will be required to change password at next login' => 'O utilizador necessitará de alterar a password no próximo login',
'Username' => 'Utilizador', 'Username' => 'Utilizador',
'Users' => 'Utilizadores', 'Users' => 'Utilizadores',
'VKontakte' => '',
'Verification failed. Please, enter new code.' => 'Verificação falhou. Por favor insira novo código.', 'Verification failed. Please, enter new code.' => 'Verificação falhou. Por favor insira novo código.',
'We couldn\'t re-send the mail to confirm your address. Please, verify is the correct email or if it has been confirmed already.' => 'Não foi possível reenviar o email de confirmação para o seu endereço. Por favor, verifique se é o email correto ou se já foi confirmado.', 'We couldn\'t re-send the mail to confirm your address. Please, verify is the correct email or if it has been confirmed already.' => 'Não foi possível reenviar o email de confirmação para o seu endereço. Por favor, verifique se é o email correto ou se já foi confirmado.',
'We have generated a password for you' => 'Gerámos uma nova password para si', 'We have generated a password for you' => 'Gerámos uma nova password para si',
'We have received a request to change the email address for your account on {0}' => 'Recebemos um pedido para alterar o endereço de email para a sua conta em {0}', 'We have received a request to change the email address for your account on {0}' => 'Recebemos um pedido para alterar o endereço de email para a sua conta em {0}',
'We have received a request to reset the password for your account on {0}' => 'Recebemos um pedido para restaura a password da sua conta em {0}', 'We have received a request to reset the password for your account on {0}' => 'Recebemos um pedido para restaura a password da sua conta em {0}',
'We have sent confirmation links to both old and new email addresses. You must click both links to complete your request.' => 'Enviámos links de confirmação para ambas as contas de email, antiga e nova. Deve seguir as instruções em ambos os emails para concluir o pedido.', 'We have sent confirmation links to both old and new email addresses. You must click both links to complete your request.' => 'Enviámos links de confirmação para ambas as contas de email, antiga e nova. Deve seguir as instruções em ambos os emails para concluir o pedido.',
'Website' => '',
'Welcome to {0}' => 'Bem-vindo a {0}', 'Welcome to {0}' => 'Bem-vindo a {0}',
'Yandex' => '',
'You are about to delete all your personal data from this site.' => 'Está prestes a apagar todos os seus dados pessoais deste site.', 'You are about to delete all your personal data from this site.' => 'Está prestes a apagar todos os seus dados pessoais deste site.',
'You can assign multiple roles or permissions to user by using the form below' => 'Pode atribuir vários cargos ou permissões ao utilizador através do formulário abaixo', 'You can assign multiple roles or permissions to user by using the form below' => 'Pode atribuir vários cargos ou permissões ao utilizador através do formulário abaixo',
'You can connect multiple accounts to be able to log in using them' => 'Pode ligar múltiplas contas de forma a poder entrar através delas', 'You can connect multiple accounts to be able to log in using them' => 'Pode ligar múltiplas contas de forma a poder entrar através delas',
@ -268,32 +296,6 @@ return [
'Your personal information has been removed' => 'Os seus dados pessoais foram removidos', 'Your personal information has been removed' => 'Os seus dados pessoais foram removidos',
'Your profile has been updated' => 'O seu perfil foi atualziado', 'Your profile has been updated' => 'O seu perfil foi atualziado',
'privacy policy' => 'politica de privacidade', 'privacy policy' => 'politica de privacidade',
'{0, date, MMMM dd, YYYY HH:mm}' => '',
'{0} cannot be blank.' => '{0} não pode ficar vazio.',
'A message has been sent to your email address. ' => '@@@@',
'Awesome, almost there. ' => '@@@@',
'Class "{0}" does not exist' => '@@@@',
'Disable Two-Factor Auth' => '@@@@',
'Enable Two-factor auth' => '@@@@',
'I aggree processing of my personal data and the use of cookies
to facilitate the operation of this site. For more information read our {privacyPolicy}' => '@@@@',
'I aggree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '@@@@',
'Invalid two-factor code' => '@@@@',
'Last login' => '@@@@',
'Registration ip' => '@@@@',
'Rule class can not be instantiated' => '@@@@',
'Rule class must extend "yii\\rbac\\Rule"' => '@@@@',
'This will disable two-factor auth. Are you sure?' => '@@@@',
'Two Factor Authentication' => '@@@@',
'Two factor authentication protects you against stolen credentials' => '@@Autenticação de dois passos protege-o do roubo de credenciais de acesso@@',
'Two factor successfully enabled.' => '@@@@',
'Two-Factor Authentication' => '@@@@',
'Two-factor auth protects you against stolen credentials' => '@@@@',
'Two-factor authentication code' => '@@@@',
'Two-factor authorization has been disabled.' => '@@@@',
'Two-factor code' => '@@@@',
'Unable to disable two-factor authorization.' => '@@@@',
'We couldn\'t re-send the mail to confirm your address. ' => '@@@@',
'We have sent confirmation links to both old and new email addresses. ' => '@@@@',
'{0, date, MMM dd, YYYY HH:mm}' => '@@@@', '{0, date, MMM dd, YYYY HH:mm}' => '@@@@',
'{0} cannot be blank.' => '{0} não pode ficar vazio.',
]; ];

View File

@ -17,6 +17,8 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'A message has been sent to your email address. ' => '@@A fost trimis un mesaj la adresa dvs. de e-mail.@@', 'A message has been sent to your email address. ' => '@@A fost trimis un mesaj la adresa dvs. de e-mail.@@',
'Awesome, almost there. ' => '@@Minunat, aproape gata.@@', 'Awesome, almost there. ' => '@@Minunat, aproape gata.@@',

View File

@ -17,6 +17,8 @@
* NOTE: this file must be saved in UTF-8 encoding. * NOTE: this file must be saved in UTF-8 encoding.
*/ */
return [ return [
'Rule class name' => '',
'Select rule...' => '',
'Two factor authentication protects you in case of stolen credentials' => '', 'Two factor authentication protects you in case of stolen credentials' => '',
'A message has been sent to your email address. ' => '@@Сообщение было отправлено на вашу электронную почту@@', 'A message has been sent to your email address. ' => '@@Сообщение было отправлено на вашу электронную почту@@',
'Awesome, almost there. ' => '@@Замечательно, почти готово!@@', 'Awesome, almost there. ' => '@@Замечательно, почти готово!@@',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -175,6 +175,7 @@ return [
'Roles' => '', 'Roles' => '',
'Rule' => '', 'Rule' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '', 'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule class name' => '',
'Rule name' => '', 'Rule name' => '',
'Rule name {0} is already in use' => '', 'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '', 'Rule {0} does not exists' => '',
@ -182,6 +183,7 @@ return [
'Rules' => '', 'Rules' => '',
'Save' => '', 'Save' => '',
'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '',
'Select rule...' => '',
'Send password recovery email' => '', 'Send password recovery email' => '',
'Sign in' => '', 'Sign in' => '',
'Sign up' => '', 'Sign up' => '',

View File

@ -36,7 +36,7 @@ use yii\widgets\ActiveForm;
<?= $form->field($model, 'rule')->widget(SelectizeDropDownList::class, [ <?= $form->field($model, 'rule')->widget(SelectizeDropDownList::class, [
'items' => ArrayHelper::map(Yii::$app->getAuthManager()->getRules(), 'name', 'name'), 'items' => ArrayHelper::map(Yii::$app->getAuthManager()->getRules(), 'name', 'name'),
'options' => [ 'options' => [
'prompt' => 'Select rule...' 'prompt' => Yii::t('usuario', 'Select rule...'),
] ]
]) ?> ]) ?>

View File

@ -10,7 +10,7 @@
*/ */
/** /**
* @var \Da\User\Model\Role $model * @var \Da\User\Model\Rule $model
* @var $this yii\web\View * @var $this yii\web\View
* @var $unassignedItems string[] * @var $unassignedItems string[]
*/ */

View File

@ -10,7 +10,7 @@
*/ */
/** /**
* @var \Da\User\Model\Role $model * @var \Da\User\Model\Rule $model
* @var $this yii\web\View * @var $this yii\web\View
* @var $unassignedItems string[] * @var $unassignedItems string[]
*/ */