diff --git a/docs/helpful-guides/first-steps.md b/docs/helpful-guides/first-steps.md new file mode 100644 index 0000000..07c39aa --- /dev/null +++ b/docs/helpful-guides/first-steps.md @@ -0,0 +1,111 @@ +First steps to use Yii2-usuario +=============================== + +After installing the extension and having configured everything, you need setup your application with the all the user related stuff, e.g. + +* creating first users, roles, permissions, ... +* assigning permissions and roles to users +* extending your controllers with access restrictions +* starting user management + +## Creating your first user + +There are several ways to do that: + +* using migrations +* using the Command line [Console Commands](../installation/console-commands.md) + +### Creating the first Administrator during a migration + +This is helpful e.g. when using you Yii2 applicatio with Docker and need to start the Docker Container with basic user settings. + +We will create an ```admin```user with a ```adminisrator``` role. + +Put this in your migration: + + class m... extends Migration + { + public function safeUp() + { + $auth = Yii::$app->authManager; + + // create a role named "administrator" + $administratorRole = $auth->createRole('administrator'); + $administratorRole->description = 'Administrator'; + $auth->add($administratorRole); + + // create permission for certain tasks + $permission = $auth->createPermission('user-management'); + $permission->description = 'User Management'; + $auth->add($permission); + + // let administrators do user management + $auth->addChild($administratorRole, $auth->getPermission('user-management')); + + // create user "admin" with password "verysecret" + $user = new \Da\User\Model\User([ + 'scenario' => 'create', + 'email' => "email@example.com", + 'username' => "admin", + 'password' => "verysecret" // >6 characters! + ]); + $user->confirmed_at = time(); + $user->save(); + + // assign role to our admin-user + $auth->assign($administratorRole, $user->id); + } + + public function safeDown() + { + $auth = Yii::$app->authManager; + + // delete permission + $auth->remove($auth->getPermission('user-management')); + + // delete admin-user and administrator role + $administratorRole = $auth->getRole("administrator"); + $user = \Da\User\Model\User::findOne(['name'=>"admin"]); + $auth->revoke($administratorRole, $user->id); + $user->delete(); + + } + +## User Management + +Having setup the ```admin``` user you can start using user management at + + http://yourapp/index.php?r=user/admin + +You should be prompted a login screen and the enter ```admin/verysecret```. + +## Working with authentication + +Usually access restrictions to controller actions care specified in +[```behaviors()```](http://stuff.cebe.cc/yii2docs/guide-security-authorization.html). + +Additionally, in your code you can directly use permission checks. This is +helpful e.g. in ```./views/layouts/main.php```. + +Examples: + + // Is current user a guest (not signed in?) + if (Yii::$app->user->isGuest) { + ... + } + + // Get roles of user + $roles = Yii::$app->authManager->getRolesByUser(Yii::$app->user->getId()); + + // Does current user have permission to do "user-management"? + if (Yii::$app->user->can("user-management")) { + ... + } + +### Recommended Reading + +It is helpful to basically understand how Yii2 does authantication. The you can get in Yii2-usuario more quickly. + +- [The Definitive Guide to Yii 2.0: Authentication](https://www.yiiframework.com/doc/guide/2.0/en/security-authentication) + + diff --git a/docs/index.md b/docs/index.md index dff4e43..3b55242 100644 --- a/docs/index.md +++ b/docs/index.md @@ -146,6 +146,11 @@ See also all the possible configuration options available: - [Available Actions](installation/available-actions.md) - [Migration guide from Dektrium tools](installation/migration-guide-from-dektrium-tools.md) +#### Step 4 - First steps to use Yii2-usuario + +Proceed with [First steps to use Yii2-usuario](helpful-guides/first-steps.md) + + Enhancing and Overriding ------------------------ diff --git a/src/User/resources/i18n/de-DU/usuario.php b/src/User/resources/i18n/de-DU/usuario.php index fd3e6ba..1d38a96 100644 --- a/src/User/resources/i18n/de-DU/usuario.php +++ b/src/User/resources/i18n/de-DU/usuario.php @@ -17,291 +17,281 @@ * NOTE: this file must be saved in UTF-8 encoding. */ return [ - '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}' => '@@@@', - 'privacy policy' => '@@@@', - '{0, date, MMM dd, YYYY HH:mm}' => '@@@@', - '(not set)' => '', - 'A confirmation message has been sent to your new email address' => '', - 'A message has been sent to your email address. It contains a confirmation link that you must click to complete registration.' => '', - 'A new confirmation link has been sent' => '', - 'A password will be generated automatically if not provided' => '', - 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', - 'Account' => '', - 'Account confirmation' => '', - 'Account details' => '', - 'Account details have been updated' => '', - 'Account settings' => '', - 'Already registered? Sign in!' => '', - 'An email with instructions to create a new password has been sent to {email} if it is associated with an {appName} account. Your existing password has not been changed.' => '', - '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 switch to this user for the rest of this Session?' => '', - 'Are you sure you want to unblock this user?' => '', - 'Are you sure you wish the user to change their password at next login?' => '', - 'Are you sure you wish to send a password recovery email to 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' => '', - 'Authentication rule class {0} can not be instantiated' => '', - 'Authorization item successfully created.' => '', - 'Authorization item successfully removed.' => '', - 'Authorization item successfully updated.' => '', - 'Authorization rule has been added.' => '', - 'Authorization rule has been removed.' => '', - 'Authorization rule has been updated.' => '', - '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' => '', - 'Bio' => '', - 'Block' => '', - 'Block status' => '', - 'Blocked at {0, date, MMMM dd, YYYY HH:mm}' => '', - 'Cancel' => '', - 'Cannot assign role "{0}" as the AuthManager is not configured on your console application.' => '', - 'Change your avatar at Gravatar.com' => '', - 'Children' => '', - 'Class' => '', - 'Close' => '', - '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' => '', - 'Create new rule' => '', - 'Created at' => '', - 'Credentials will be sent to the user by email' => '', - 'Current password' => '', - 'Current password is not valid' => '', - 'Data privacy' => '', - 'Data processing consent' => '', - 'Delete' => '', - 'Delete account' => '', - 'Delete my account' => '', - 'Delete personal data' => '', - 'Deleted by GDPR request' => '', - 'Description' => '', - 'Didn\'t receive confirmation message?' => '', - 'Disable two factor authentication' => '', - 'Disconnect' => '', - 'Don\'t have an account? Sign up!' => '', - 'Download my data' => '', - 'Email' => '', - 'Email (public)' => '', - 'Enable' => '', - 'Enable two factor authentication' => '', - 'Error occurred while changing password' => '', - 'Error occurred while confirming user' => '', - 'Error occurred while deleting user' => '', - 'Error sending registration message to "{email}". Please try again later.' => '', - 'Error sending welcome message to "{email}". Please try again later.' => '', - 'Export my data' => '', - 'Finish' => '', - 'Force password change at next login' => '', - 'Forgot password?' => '', - 'Gravatar email' => '', - 'Hello' => '', - 'Here you can download your personal data in a comma separated values format.' => '', - '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' => '', - 'Impersonate this user' => '', - '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 password' => '', - 'Invalid two factor authentication code' => '', - 'Invalid value' => '', - 'It will be deleted forever' => '', - 'Items' => '', - 'Joined on {0, date}' => '', - 'Last login IP' => '', - 'Last login time' => '', - 'Last password change' => '', - 'Location' => '', - 'Login' => '', - 'Logout' => '', - 'Manage users' => '', - 'Name' => '', - 'Networks' => '', - 'Never' => '', - 'New email' => '', - 'New password' => '', - 'New permission' => '', - 'New role' => '', - 'New rule' => '', - 'New user' => '', - 'Not blocked' => '', - 'Not found' => '', - 'Once you delete your account, there is no going back' => '', - 'Once you have deleted your data, you will not longer be able to sign in with this account.' => '', - 'Password' => '', - 'Password age' => '', - 'Password has been changed' => '', - 'Permissions' => '', - 'Please be certain' => '', - 'Please click the link below to complete your password reset' => '', - 'Please fix following errors:' => '', - 'Privacy' => '', - 'Privacy settings' => '', - '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 on this website is disabled' => '', - 'Registration time' => '', - 'Remember me next time' => '', - 'Request new confirmation message' => '', - 'Required "key" cannot be empty.' => '', - 'Required "secret" cannot be empty.' => '', - 'Reset your password' => '', - 'Role "{0}" not found. Creating it.' => '', - 'Roles' => '', - 'Rule' => '', - 'Rule class must extend "yii\\rbac\\Rule".' => '', - 'Rule class name' => '', - 'Rule name' => '', - 'Rule name {0} is already in use' => '', - 'Rule {0} does not exists' => '', - 'Rule {0} not found.' => '', - 'Rules' => '', - 'Save' => '', - 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => '', - 'Select rule...' => '', - 'Send password recovery email' => '', - 'Sign in' => '', - 'Sign up' => '', - 'Something went wrong' => '', - 'Submit' => '', - 'Switch identities is disabled.' => '', - 'Thank you for signing up on {0}' => '', - 'Thank you, registration is now complete.' => '', - 'The "recaptcha" component must be configured.' => '', - 'The confirmation link is invalid or expired. Please try requesting a new one.' => '', - 'The verification code is incorrect.' => '', - 'There is neither role nor permission with name "{0}"' => '', - 'There was an error in saving user' => '', - 'This account has already been connected to another user' => '', - 'This email address has already been taken' => '', - 'This username has already been taken' => '', - '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.' => '', - 'Time zone' => '', - 'Time zone is not valid' => '', - 'Two Factor Authentication (2FA)' => '', - 'Two factor authentication code' => '', - 'Two factor authentication has been disabled.' => '', - 'Two factor authentication protects you in case of stolen credentials' => '', - 'Two factor authentication successfully enabled.' => '', - 'Unable to confirm user. Please, try again.' => '', - 'Unable to create an account.' => '', - 'Unable to create authorization item.' => '', - 'Unable to create new authorization rule.' => '', - 'Unable to delete user. Please, try again later.' => '', - 'Unable to disable Two factor authentication.' => '', - 'Unable to remove authorization item.' => '', - 'Unable to send confirmation link' => '', - 'Unable to send recovery message to the user' => '', - 'Unable to update authorization item.' => '', - 'Unable to update authorization rule.' => '', - 'Unable to update block status.' => '', - 'Unblock' => '', - 'Unconfirmed' => '', - 'Unfortunately, you can not work with this site without giving us consent to process your data.' => '', - 'Update' => '', - 'Update assignments' => '', - 'Update permission' => '', - 'Update role' => '', - 'Update rule' => '', - 'Update user account' => '', - 'Updated at' => '', - 'User account could not be created.' => '', - 'User block status has been updated.' => '', - 'User could not be registered.' => '', - 'User has been confirmed' => '', - 'User has been created' => '', - 'User has been deleted' => '', - 'User is not found' => '', - 'User not found.' => '', - 'User will be required to change password at next login' => '', - 'Username' => '', - 'Users' => '', - 'VKontakte' => '', - 'Verification failed. Please, enter new code.' => '', - 'We couldn\'t re-send the mail to confirm your address. Please, verify is the correct email or if it has been confirmed already.' => '', - '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. You must click both links to complete your request.' => '', - 'Website' => '', - 'Welcome to {0}' => '', - 'Yandex' => '', - 'You are about to delete all your personal data from this site.' => '', - '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 consent is required to register' => '', - 'Your consent is required to work with this site' => '', - 'Your email address has been changed' => '', - 'Your password has expired, you must change it now' => '', - 'Your personal information has been removed' => '', - 'Your profile has been updated' => '', - '{0, date, MMMM dd, YYYY HH:mm}' => '', - '{0} cannot be blank.' => '', - 'A message has been sent to your email address. ' => '@@@@', - 'An email has been sent with instructions for resetting your password' => '@@@@', - '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' => '@@@@', - '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. ' => '@@@@', + 'An email with instructions to create a new password has been sent to {email} if '. + 'it is associated with an {appName} account. Your existing password has not been changed.' + => 'Eine Email mit Hinweisen, wie ein Kennwort erstellt wurde an {email} gesendet, '. + 'sofern es mit dem Konto {appName} verbunden ist. Das aktuelle Kennwort wurde nicht geändert.', + 'Are you sure you wish the user to change their password at next login?' + => 'Bist Du sicher, dass der Benutzer sein Kennwort beim nächsten Anmelden ändern soll?', + 'Back to privacy settings' => 'Zurück zu Privatsphäre-Einstellungen', + 'Data processing consent' => 'Zustimmung zur Datenverarbeitung', + 'Delete my account' => 'Mein Benutzerkonto löschen', + 'Delete personal data' => 'Persönliche Daten löschen', + 'Deleted by GDPR request' => 'Gelöscht gemäß DSGVO-Anforderung', + 'Disable two factor authentication' => 'Zwei-Faktor-Authentifizierung deaktivieren', + 'Download my data' => 'Eigene Daten herunterladen', + 'Enable two factor authentication' => 'Zwei-Faktor-Authentifizierung aktivieren', + 'Export my data' => 'Eigene Daten exportieren', + 'Force password change at next login' => 'Kennwort-Änderung beim nächsten Anmelden erzwingen', + 'Here you can download your personal data in a comma separated values format.' + => 'Hier kannst Du eigene persönliche Daten in Komma-separiertem Format herunterladen', + '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}' + => 'Ich stimme der Verarbeitung meiner persönlichen Daten und der Benutzung von Cookies zur '. + 'Vereinfachung der Benutzer dieses Services zu. Weitere Informationen stehen in unserer {privacyPolicy}', + 'Invalid password' => 'Ungültiges Kennwort', + 'Invalid two factor authentication code' => 'Ungültiger Zwei-Faktor-Authentifizierungs-Code', + 'Last login IP' => 'Letzte Anmeldung von IP', + 'Last login time' => 'Letzte Anmeldung', + 'Last password change' => 'Letzte Kennwort-Änderung', + 'Once you have deleted your data, you will not longer be able to sign in with this account.' + => 'Wenn Du die eigenen Daten gelöscht hast, kannst Du Dich mit diesem Benutzernamen nicht mehr anmelden.', + 'Password age' => 'Kennwort-Alter', + 'Privacy' => 'Privatsphäre', + 'Privacy settings' => 'Privatsphäre-Einstellungen', + 'Rule class name' => 'Regel-Klassen-Name', + 'Select rule...' => 'Regel auswählen...', + 'There was an error in saving user' => 'Fehler beim Speichern des Benutzers', + 'This will disable two factor authentication. Are you sure?' + => 'Hiermit deaktivierst Du die Zwei-Faktor-Authentifizierung. Bist Du sicher?', + 'This will remove your personal data from this site. You will no longer be able to sign in.' + => 'Hiermit löschst Du Deine persönlichen Daten von diesem Service. '. + 'Du wirst Dich dann nicht mehr anmelden können.', + 'Two Factor Authentication (2FA)' => 'Zwei-Faktor-Authentifizierung (2FA)', + 'Two factor authentication code' => 'Zwei-Faktor-Authentifizierungs-Code', + 'Two factor authentication has been disabled.' => 'Zwei-Faktor-Authentifizierung wurde deaktiviert', + 'Two factor authentication protects you in case of stolen credentials' + => 'Zwei-Faktor-Authentifizierung schützt Dich bei gestohlenen Zugangsdaten', + 'Two factor authentication successfully enabled.' => 'Zwei-Faktor-Authentifizierung wurde erfolgreich aktiviert', + 'Unable to disable Two factor authentication.' + => 'Fehler beim Deaktivieren der Zwei-Faktor-Authentifizierung', + 'User will be required to change password at next login' + => 'Der Benutzer muss bei der nächsten Aneldung sein kennwort ändern', + 'You are about to delete all your personal data from this site.' + => 'Du löschst damit alle persönlichen Daten von diesem Service', + 'Your consent is required to register' => 'Du musst Deine Zustimmung registrieren', + 'Your password has expired, you must change it now' => 'Dein Kennwort ist abgelaufen. Du musst es nun ändern', + 'Your personal information has been removed' => 'Deine persönlichen Daten wurden gelöscht', + 'privacy policy' => 'Datenschutzrichtlinie', + 'A message has been sent to your email address. ' => 'Eine Nachricht wurde an Deine E-Mail Adresse gesendet', + '(not set)' => '(nicht gesetzt)', + 'A confirmation message has been sent to your new email address' + => 'Eine Bestätigungsnachricht wurde an Deine neue E-Mail Adresse gesendet', + 'A message has been sent to your email address. It contains a confirmation link that you must '. + 'click to complete registration.' + => 'Eine Nachricht wurde an Deine E-Mail-Adresse gesendet. '. + 'Sie enthält einen Bestätigungslink den Du anklicken musst, um die Registrierung abzuschließen.', + 'A new confirmation link has been sent' => 'Ein neuer Bestätigungs-Link wurde versendet', + 'A password will be generated automatically if not provided' => 'Leer lassen, um automatisch ein Passwort zu generieren', + 'Account' => 'Konto', + 'Account confirmation' => 'Kontobestätigung', + 'Account details' => 'Kontodetails', + 'Account details have been updated' => 'Kontodetails gespeichert', + 'Account settings' => 'Kontoeinstellungen', + 'Already registered? Sign in!' => 'Bereits registriert? Zur Anmeldung!', + 'An error occurred processing your request' => 'Es ist ein Fehler aufgetreten', + 'Are you sure you want to block this user?' => 'Bist Du sicher, dass Du diesen Benutzer blockieren willst?', + 'Are you sure you want to confirm this user?' => 'Bist Du sicher, dass Du diesen Benutzer bestätigen willst?', + 'Are you sure you want to delete this user?' => 'Bist Du sicher, dass Du diesen Benutzer löschen willst?', + 'Are you sure you want to switch to this user for the rest of this Session?' => 'Bist Du sicher, dass Du zu diesem Benutzer zu wechseln willst für den Rest dieser Session?', + 'Are you sure you want to unblock this user?' => 'Bist Du sicher, dass Du diesen Benutzer wieder freischalten willst?', + 'Are you sure you wish to send a password recovery email to this user?' => 'Bist Du sicher, dass Du eine Passwortwiederherstellungs-Mail an diesen Benutzer senden möchtest?', + 'Are you sure? Deleted user can not be restored' => 'Bist Du sicher? Gelöschte Benutzer können nicht wiederhergestellt werden', + 'Are you sure? There is no going back' => 'Bist Du sicher? Es gibt kein Zurück', + 'Assignments' => 'Zuordnungen', + 'Assignments have been updated' => 'Zuordnungen wurden gespeichert', + 'Auth item with such name already exists' => 'Eine Berechtigung mit diesem Name existiert bereits', + 'Authentication rule class {0} can not be instantiated' => 'Von der Authentifizierungsregel Klasse {0} kann keine Instanz erstellt werden', + 'Authorization item successfully created.' => 'Berechtigung erfolgreich erstellt', + 'Authorization item successfully removed.' => 'Berechtigung erfolgreich gelöscht', + 'Authorization item successfully updated.' => 'Berechtigung erfolgreich gespeichert', + 'Authorization rule has been added.' => 'Berechtigungsregel wurde hinzugefügt.', + 'Authorization rule has been removed.' => 'Berechtigungsregel wurde entfernt.', + 'Authorization rule has been updated.' => 'Berechtigungsregel wurde gespeichert.', + 'Awesome, almost there. Now you need to click the confirmation link sent to your new email address.' => 'Fast geschafft. Nun musst Du nur noch den Aktivierungslink anklicken, der an Deine neue E-Mail Adresse gesendet wurde.', + 'Awesome, almost there. Now you need to click the confirmation link sent to your old email address.' => 'Fast geschafft. Nun musst Du nur noch den Aktivierungslink anklicken, der an Deine alte E-Mail Adresse gesendet wurde.', + 'Bio' => 'Bio', + 'Block' => 'Blockieren', + 'Block status' => 'Blockadestatus', + 'Blocked at {0, date, MMMM dd, YYYY HH:mm}' => 'Blockiert am {0, date, dd. MMMM YYYY, HH:mm}', + 'Cancel' => 'Abbrechen', + 'Cannot assign role "{0}" as the AuthManager is not configured on your console application.' => 'Kann die Rolle "{0}" nicht zuordnen da der AuthManager in der Console Application nicht konfiguriert ist.', + 'Change your avatar at Gravatar.com' => 'Ändere Deinen Avatar unter gravatar.com', + 'Children' => 'Unterelemente', + 'Class' => 'Klasse', + 'Close' => 'Schließen', + 'Complete password reset on {0}' => 'Passwort-Wiederherstellung auf {0} fertigstellen', + 'Confirm' => 'Bestätigen', + 'Confirm account on {0}' => 'Konto auf {0} bestätigen', + 'Confirm email change on {0}' => 'E-Mail Änderung auf {0} bestätigen', + 'Confirmation' => 'Bestätigung', + 'Confirmation status' => 'Bestätigungsstatus', + 'Confirmation time' => 'Bestätigungszeit', + 'Confirmed' => 'Bestätigt', + 'Confirmed at {0, date, MMMM dd, YYYY HH:mm}' => 'Bestätigt am {0, date, dd. MMMM YYYY, HH::mm}', + 'Connect' => 'Verbinden', + 'Continue' => 'Weiter', + 'Create' => 'Erstellen', + 'Create a user account' => 'Konto erstellen', + 'Create new permission' => 'Neue Berechtigung anlegen', + 'Create new role' => 'Neue Rolle anlegen', + 'Create new rule' => 'Neue Regel erstellen', + 'Created at' => 'Erstellt am', + 'Credentials will be sent to the user by email' => 'Die Zugangsdaten werden dem Nutzer per E-Mail gesendet', + 'Current password' => 'Aktuelles Passwort', + 'Current password is not valid' => 'Das aktuelle Passwort ist nicht korrekt', + 'Delete' => 'Löschen', + 'Delete account' => 'Konto Löschen', + 'Description' => 'Beschreibung', + 'Didn\'t receive confirmation message?' => 'Bestätigungs-Mail nicht empfangen?', + 'Disconnect' => 'Trennen', + 'Don\'t have an account? Sign up!' => 'Du hast noch kein Konto? Registrieren!', + 'Email' => 'E-Mail', + 'Email (public)' => 'E-Mail (öffentlich)', + 'Enable' => 'aktivieren', + 'Error occurred while changing password' => 'Fehler beim Ändern des Passworts', + 'Error occurred while confirming user' => 'Fehler beim Bestätigen des Benutzers', + 'Error occurred while deleting user' => 'Fehler beim Löschen des Benutzers', + 'Error sending registration message to "{email}". Please try again later.' => 'Fehler beim Senden der Registrierungsnachricht an "{email}". Bitte später noch einmal probieren.', + 'Error sending welcome message to "{email}". Please try again later.' => 'Fehler beim Senden der Willkommensnachricht an "{email}". Bitte später noch einmal probieren.', + 'Finish' => 'Fertig', + 'Forgot password?' => 'Passwort vergessen?', + 'Gravatar email' => 'Gravatar E-Mail', + 'Hello' => 'Hallo', + 'If you already registered, sign in and connect this account on settings page' => 'Wenn Du Dich bereits registriert hast, melde Dich an und verbinde dieses Konto auf der Einstellungs-Seite', + 'If you cannot click the link, please try pasting the text into your browser' => 'Wenn Du den Link nicht anklicken kannst, versuche, diesen in Deine Browser-Leiste einzufügen', + 'If you did not make this request you can ignore this email' => 'Wenn Sie diese Anfrage nicht gemacht haben, können Sie diese E-Mail ignorieren', + 'Impersonate this user' => 'Wechsle zu diesem Benutzer', + 'In order to complete your registration, please click the link below' => 'Um Deine Registrierung abzuschliessen, klicke bitte auf den Link unten', + 'In order to complete your request, please click the link below' => 'Um Deine Anfrage abzuschliessen, klicke bitte auf den Link unten', + 'In order to finish your registration, we need you to enter following fields' => 'Um Deine Registrierung abzuschliessen, musst Du noch die folgenden Felder ausfüllen', + 'Information' => 'Information', + 'Invalid login or password' => 'Falscher Login oder falsches Passwort', + 'Invalid or expired link' => 'Falscher oder abgelaufener Link', + 'Invalid value' => 'Falscher Wert', + 'It will be deleted forever' => 'Es wird dauerhaft gelöscht', + 'Items' => 'Elemente', + 'Joined on {0, date}' => 'Mitglies seit {0, date}', + 'Location' => 'Ort', + 'Login' => 'Anmelden', + 'Logout' => 'Abmelden', + 'Manage users' => 'Nutzer verwalten', + 'Name' => 'Name', + 'Networks' => 'Netzwerke', + 'Never' => 'Nie', + 'New email' => 'Neue E-Mail', + 'New password' => 'Neues Passwort', + 'New permission' => 'Neue Berechtigung', + 'New role' => 'Neue Rolle', + 'New rule' => 'Neue Regel', + 'New user' => 'Neuer Benutzer', + 'Not blocked' => 'Nicht geblockt', + 'Not found' => 'Nicht gefunden', + 'Once you delete your account, there is no going back' => 'Wenn Du Dein Konto gelöscht hast, gibt es kein zurück mehr', + 'Password' => 'Passwort', + 'Password has been changed' => 'Passwort wurde geändert', + 'Permissions' => 'Berechtigungen', + 'Please be certain' => 'Bist Du wirklich sicher?', + 'Please click the link below to complete your password reset' => 'Bitte klicke den Link unten, um Deine Passwort-Wiederherstellung abzuschließen', + 'Please fix following errors:' => 'Bitte behebe die folgenden Fehler', + 'Profile' => 'Profil', + 'Profile details' => 'Profildetails', + 'Profile details have been updated' => 'Profildetails wurden gespeichert', + 'Profile settings' => 'Profileinstellungen', + 'Recover your password' => 'Passwort wiederherstellen', + 'Recovery link is invalid or expired. Please try requesting a new one.' => 'Wiederherstellungs-Link ist falsch oder abgelaufen. Bitte fordere einen neuen an', + 'Recovery message sent' => 'Wiederherstellungs-Nachricht wurde gesendet', + 'Registration IP' => 'Registrierungs-IP', + 'Registration on this website is disabled' => 'Die Registrierung auf dieser Webseite ist deaktiviert', + 'Registration time' => 'Registrierungszeit', + 'Remember me next time' => 'Anmeldung für das nächste mal merken', + 'Request new confirmation message' => 'Neuen Wiederherstellungs-Link anfordern', + 'Required "key" cannot be empty.' => 'Erforderlicher "key" darf nicht leer sein.', + 'Required "secret" cannot be empty.' => 'Erforderliches "secret" darf nicht leer sein.', + 'Reset your password' => 'Passwort wiederherstellen', + 'Role "{0}" not found. Creating it.' => 'Rolle "{0}" nicht gefunden. Erstelle diese.', + 'Roles' => 'Rollen', + 'Rule' => 'Regel', + 'Rule class must extend "yii\\rbac\\Rule".' => 'Regelklasse muss "yii\\rbac\\Rule" erweitern.', + 'Rule name' => 'Regelname', + 'Rule name {0} is already in use' => 'Regelname {0} bereits in Benutzung', + 'Rule {0} does not exists' => 'Regel {0} existiert nicht', + 'Rule {0} not found.' => 'Regel {0} nicht gefunden.', + 'Rules' => 'Regeln', + 'Save' => 'Speichern', + 'Scan the QrCode with Google Authenticator App, then insert its temporary code on the box and submit.' => 'Scanne den Qr-Code mit der Google Authenticator App, dann füge den temporären Schlüssel in das Feld und sende es ab.', + 'Send password recovery email' => 'Sende Mail zur Passwortwiederherstellung', + 'Sign in' => 'Anmelden', + 'Sign up' => 'Registrieren', + 'Something went wrong' => 'Etwas ist schiefgelaufen', + 'Switch identities is disabled.' => 'Identitäts-Wechsel ist deaktiviert.', + 'Thank you for signing up on {0}' => 'Danke für Deine Registrierung auf {0}', + 'Thank you, registration is now complete.' => 'Danke, Deine Registrierung ist nun abgeschlossen.', + 'The "recaptcha" component must be configured.' => 'Die "recaptcha" Komponente muss konfiguriert werden.', + 'The confirmation link is invalid or expired. Please try requesting a new one.' => 'Dein Aktivierungslink ist falsch oder abgelaufen. Bitte fordere einen neuen an.', + 'The verification code is incorrect.' => 'Der Verifizierungsschlüssel ist ungültig.', + 'There is neither role nor permission with name "{0}"' => 'Es gibt weder eine Rolle noch eine Berechtigung mit dem Namen "{0}"', + 'This account has already been connected to another user' => 'Dieses Konto wurde bereits von einem anderen Benutzer verbunden', + 'This email address has already been taken' => 'Die E-Mail Adresse ist bereits vergeben', + 'This username has already been taken' => 'Dieser Benutzername ist bereits vergeben', + 'Time zone' => 'Zeitzone', + 'Time zone is not valid' => 'Zeitzone ist ungültig', + 'Unable to confirm user. Please, try again.' => 'Der Benutzer konnte nicht bestätigt werden. Bitte versuche es nochmal.', + 'Unable to create an account.' => 'Konto konnte nicht erstellt werden', + 'Unable to create authorization item.' => 'Authorization Item konnte nicht erstellt werden', + 'Unable to create new authorization rule.' => 'Es ist nicht möglich, eine neue Authentifizierungsregel zu erstellen.', + 'Unable to delete user. Please, try again later.' => 'Benutzer konnte nicht gelöscht werden.', + 'Unable to remove authorization item.' => 'Authentifizierung-Item konnte nicht gelöscht werden.', + 'Unable to send confirmation link' => 'Konnte Bestätigungslink nicht versenden', + 'Unable to send recovery message to the user' => 'Wiederherstellungsnachricht konnte nicht an den Benutzer zu gesendet werden.', + 'Unable to update authorization item.' => 'Konnte Berechtigungs-Item nicht ändern', + 'Unable to update authorization rule.' => 'Unfähig die Berechtigungsregel zu speichern.', + 'Unable to update block status.' => 'Konnte den Block-Status nicht ändern', + 'Unblock' => 'Freischalten', + 'Unconfirmed' => 'Unbestätigt', + 'Update' => 'Bearbeiten', + 'Update assignments' => 'Zuweisung ändern', + 'Update permission' => 'Berechtigung ändern', + 'Update role' => 'Rolle ändern', + 'Update rule' => 'Regel aktualisieren', + 'Update user account' => 'Konto ändern', + 'Updated at' => 'Aktualisiert am', + 'User account could not be created.' => 'Benutzerkonto konnte nicht erstellt werden.', + 'User block status has been updated.' => 'Der Status des Benutzers wurde gespeichert', + 'User could not be registered.' => 'Benutzer konnte nicht registriert werden.', + 'User has been confirmed' => 'Benutzer wurde bestätigt', + 'User has been created' => 'Benutzer wurde angelegt', + 'User has been deleted' => 'Benutzer wurde gelöscht', + 'User is not found' => 'Benutzer wurde nicht gefunden', + 'User not found.' => 'Benutzer nicht gefunden.', + 'Username' => 'Benutzername', + 'Users' => 'Benutzer', + 'VKontakte' => 'VKontakte', + 'Verification failed. Please, enter new code.' => 'Verifizierung fehlgeschlagen. Bitte einen neuen Schlüssel eingeben.', + 'We couldn\'t re-send the mail to confirm your address. Please, verify is the correct email or if it has been confirmed already.' => 'Wir konnten die Mail zur Bestätigung Deiner Adresse nicht noch einmal senden. Bitte kontrollieren, ob die E-Mail-Adresse korrekt ist oder diese bereits bestätigt wurde.', + 'We have generated a password for you' => 'Ein Passwort wurde für Dich generiert', + 'We have received a request to change the email address for your account on {0}' => 'Wir haben eine Anfrage, Deine E-Mail Adresse auf {0} zu verändern, bekommen', + 'We have received a request to reset the password for your account on {0}' => 'Wir haben eine Anfrage, Dein Passwort auf {0} wiederherzustellen, bekommen', + 'We have sent confirmation links to both old and new email addresses. You must click both links to complete your request.' => 'Wir haben Deinen Bestätigungslinks an die alte und neue E-Mail-Adresse geschickt. Du musst beide Links anklicken, um die Anfrage fertigzustellen.', + 'Website' => 'Webseite', + 'Welcome to {0}' => 'Willkommen auf {0}', + 'Yandex' => 'Yandex', + 'You can assign multiple roles or permissions to user by using the form below' => 'Du kannst mehrere Rollen oder Berechtigungen zuweisen', + 'You can connect multiple accounts to be able to log in using them' => 'Du kannst mehrere Konten verbinden und sich mit diesen anmelden', + 'You cannot remove your own account' => 'Du kannst Dein eigenes Konto nicht löschen', + 'You need to confirm your email address' => 'Du musst Dein E-Mail Adresse bestätigen', + 'Your account details have been updated' => 'Deine Kontodetails wurden gespeichert', + 'Your account has been blocked' => 'Dein Konto wurde blockiert', + 'Your account has been blocked.' => 'Dein Konto wurde blockiert.', + 'Your account has been completely deleted' => 'Dein Konto wurde komplett gelöscht', + 'Your account has been connected' => 'Dein Konto wurde verbunden', + 'Your account has been created' => 'Dein Konto wurde erstellt', + 'Your account has been created and a message with further instructions has been sent to your email' => 'Dein Konto wurde erstellt und eine Nachricht mit weiteren Anweisungen wurde an Deine E-Mail Adresse gesendet', + 'Your account on {0} has been created' => 'Ihr Konto auf {0} wurde erstellt', + 'Your confirmation token is invalid or expired' => 'Dein Bestätigungs-Token ist falsch oder abgelaufen', + 'Your email address has been changed' => 'Deine E-Mail Adresse wurde geändert', + 'Your profile has been updated' => 'Dein Profil wurde gespeichert', + '{0, date, MMM dd, YYYY HH:mm}' => '{0, date, dd. MMM YYYY, HH:mm}', + '{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, dd. MMMM YYYY, HH:mm}', + '{0} cannot be blank.' => '{0} darf nicht leer sein.', ]; diff --git a/src/User/resources/i18n/de/usuario.php b/src/User/resources/i18n/de/usuario.php index 8506d42..98aae50 100644 --- a/src/User/resources/i18n/de/usuario.php +++ b/src/User/resources/i18n/de/usuario.php @@ -18,8 +18,12 @@ */ return [ '(not set)' => '(nicht gesetzt)', - 'A confirmation message has been sent to your new email address' => 'Eine Bestätigungsnachricht wurde an Ihre neue E-Mail Adresse versandt', - 'A message has been sent to your email address. It contains a confirmation link that you must click to complete registration.' => 'Eine Nachricht wurde an Ihre E-Mail-Adresse gesendet. Sie enthält einen Bestätigungslink den Sie klicken müssen um die Registrierung abzuschließen.', + 'A confirmation message has been sent to your new email address' + => 'Eine Bestätigungsnachricht wurde an Ihre neue E-Mail Adresse versendet', + 'A message has been sent to your email address. It contains a confirmation link that you must '. + 'click to complete registration.' + => 'Eine Nachricht wurde an Ihre E-Mail-Adresse gesendet. '. + 'Sie enthält einen Bestätigungslink den Sie anklicken müssen, um die Registrierung abzuschließen.', 'A new confirmation link has been sent' => 'Ein neuer Bestätigungs-Link wurde versendet', 'A password will be generated automatically if not provided' => 'Leer lassen, um automatisch ein Passwort zu generieren', 'Account' => 'Konto', @@ -126,7 +130,7 @@ return [ 'Invalid value' => 'Falscher Wert', 'It will be deleted forever' => 'Es wird permanent gelöscht', 'Items' => 'Elemente', - 'Joined on {0, date}' => 'Mitglies seit {0, date}', + 'Joined on {0, date}' => 'Mitglied seit {0, date}', 'Last login IP' => 'Letzte Anmeldung von IP', 'Last login time' => 'Letzte Anmeldung', 'Last password change' => 'Letzte Kennwort-Änderung', @@ -152,7 +156,7 @@ return [ 'Password has been changed' => 'Passwort wurde geändert', 'Permissions' => 'Berechtigungen', 'Please be certain' => 'Sind Sie sich wirklich sicher?', - 'Please click the link below to complete your password reset' => 'Bitte klicken Sie den link unten um ihre Passwort-Wiederherstellung abzuschliessen', + 'Please click the link below to complete your password reset' => 'Bitte klicken Sie auf den Link unten um ihre Passwort-Wiederherstellung abzuschliessen', 'Please fix following errors:' => 'Bitte beheben Sie die folgenden Fehler', 'Privacy' => 'Privatsphäre', 'Privacy settings' => 'Privatsphäre-Einstellungen', @@ -261,7 +265,7 @@ return [ 'Your account has been completely deleted' => 'Ihr Konto wurde komplett gelöscht', 'Your account has been connected' => 'Ihr Konto wurde verbunden', 'Your account has been created' => 'Ihr Konto wurde erstellt', - 'Your account has been created and a message with further instructions has been sent to your email' => 'Ihr Konto wurde erstellt und eine Nachricht mit weiteren Anweisungen wurde an ihre E-Mail Adresse versandt', + 'Your account has been created and a message with further instructions has been sent to your email' => 'Ihr Konto wurde erstellt und eine Nachricht mit weiteren Anweisungen wurde an ihre E-Mail Adresse versendet', 'Your account on {0} has been created' => 'Ihr Konto auf {0} wurde erstellt', 'Your confirmation token is invalid or expired' => 'Ihr Bestätigungs-Token ist falsch oder abgelaufen', 'Your consent is required to register' => 'Sie müssen Ihre Zustimmung registrieren', @@ -273,33 +277,4 @@ return [ '{0, date, MMM dd, YYYY HH:mm}' => '{0, date, dd. MMM YYYY, HH:mm}', '{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, dd. MMMM YYYY, HH:mm}', '{0} cannot be blank.' => '{0} darf nicht leer sein.', - 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', - 'Data privacy' => '', - 'Submit' => '', - 'Unfortunately, you can not work with this site without giving us consent to process your data.' => '', - 'Your consent is required to work with this site' => '', - 'A message has been sent to your email address. ' => '@@Eine Nachricht wurde an ihre E-Mail Adresse versandt@@', - 'An email has been sent with instructions for resetting your password' => '@@Eine E-Mail mit den weiteren Schritten zur Passwort-Wiederherstellung wurde versandt@@', - 'Awesome, almost there. ' => '@@Fast geschafft. @@', - 'Class "{0}" does not exist' => '@@Klasse "{0}" existiert nicht@@', - 'Disable Two-Factor Auth' => '@@Zweifaktor-Authentifizierung deaktivieren@@', - 'Enable Two-factor auth' => '@@Zweifaktor-Authentifizierung aktivieren@@', - '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' => '@@Ungültiger Zweifaktor Schlüssel@@', - 'Last login' => '@@Letzter Login@@', - 'Registration ip' => '@@Registrierungs-IP@@', - 'Rule class can not be instantiated' => '@@@@', - 'Rule class must extend "yii\\rbac\\Rule"' => '@@@@', - 'This will disable two-factor auth. Are you sure?' => '@@Dies wird die Zweifaktor-Authentifizierung deaktivieren. Sind Sie sicher?@@', - 'Two Factor Authentication' => '@@Zweifaktor-Authentifizierung@@', - 'Two factor authentication protects you against stolen credentials' => '@@@@', - 'Two factor successfully enabled.' => '@@Zweifaktor-Authentifizierung erfolgreich aktiviert.@@', - 'Two-Factor Authentication' => '@@Zweifaktor-Authentifizierung@@', - 'Two-factor auth protects you against stolen credentials' => '@@Zweifaktor-Authentifizierung schützt Sie vor gestohlenen Zugangsdaten@@', - 'Two-factor authentication code' => '@@Zweifaktor-Authentifizierungsschlüssel@@', - 'Two-factor authorization has been disabled.' => '@@Zweifaktor-Authentifizierung wurde deaktiviert.@@', - 'Two-factor code' => '@@Zweifaktor-Schlüssel@@', - 'Unable to disable two-factor authorization.' => '@@Unfähig die Zweifaktor-Authentifizierung zu deaktivieren.@@', - 'We couldn\'t re-send the mail to confirm your address. ' => '@@Wir konnte die Bestätigungs E-Mail nicht erneut versenden@@', - 'We have sent confirmation links to both old and new email addresses. ' => '@@Wir haben Bestätigungs E-Mails an die neue und alte E-Mail Adresse versandt.@@', ];