Add missing auth translations and update components to use i18n keys
- Added new translation keys to de/auth.js: - resetPassword section (title, button, success, invalidToken, error, emailSent, emailError) - errors section (fillAllFields, invalidEmail, passwordsNotMatch, passwordsNotMatchShort, enterEmail, loginFailed, registerFailed, googleLoginFailed, emailExists) - success section (registerComplete) - newPassword, backToHome keys - Updated ResetPassword.js to use translation keys instead of hardcoded German strings - Updated LoginComponent.js to use translation keys instead of hardcoded German strings - translate-i18n.js generated translations for other languages
This commit is contained in:
@@ -5,14 +5,16 @@ export default {
|
||||
"profile": "Profile", // Profil
|
||||
"email": "Email", // E-Mail
|
||||
"password": "Password", // Passwort
|
||||
"newPassword": "New password", // Neues Passwort
|
||||
"confirmPassword": "Confirm password", // Passwort bestätigen
|
||||
"forgotPassword": "Forgot password?", // Passwort vergessen?
|
||||
"loginWithGoogle": "Sign in with Google", // Mit Google anmelden
|
||||
"or": "OR", // ODER
|
||||
"privacyAccept": "By clicking \"Sign in with Google\" I accept the", // Mit dem Click auf "Mit Google anmelden" akzeptiere ich die
|
||||
"privacyPolicy": "Privacy Policy", // Datenschutzbestimmungen
|
||||
"privacyAccept": "By clicking on \"Sign in with Google\" I accept the", // Mit dem Click auf "Mit Google anmelden" akzeptiere ich die
|
||||
"privacyPolicy": "Privacy policy", // Datenschutzbestimmungen
|
||||
"passwordMinLength": "The password must be at least 8 characters long", // Das Passwort muss mindestens 8 Zeichen lang sein
|
||||
"newPasswordMinLength": "The new password must be at least 8 characters long", // Das neue Passwort muss mindestens 8 Zeichen lang sein
|
||||
"backToHome": "Back to homepage", // Zurück zur Startseite
|
||||
"menu": {
|
||||
"profile": "Profile", // Profil
|
||||
"myProfile": "My profile", // Mein Profil
|
||||
@@ -21,5 +23,28 @@ export default {
|
||||
"settings": "Settings", // Einstellungen
|
||||
"adminDashboard": "Admin Dashboard", // Admin Dashboard
|
||||
"adminUsers": "Admin Users" // Admin Users
|
||||
},
|
||||
"resetPassword": {
|
||||
"title": "Reset password", // Passwort zurücksetzen
|
||||
"button": "Reset password", // Passwort zurücksetzen
|
||||
"success": "Your password has been reset successfully! You will be redirected to login shortly...", // Ihr Passwort wurde erfolgreich zurückgesetzt! Sie werden in Kürze zur Anmeldung weitergeleitet...
|
||||
"invalidToken": "No valid token found. Please use the link from your email.", // Kein gültiger Token gefunden. Bitte verwenden Sie den Link aus Ihrer E-Mail.
|
||||
"error": "Error resetting password", // Fehler beim Zurücksetzen des Passworts
|
||||
"emailSent": "A link to reset your password has been sent to your email address.", // Ein Link zum Zurücksetzen des Passworts wurde an Ihre E-Mail-Adresse gesendet.
|
||||
"emailError": "Error sending email" // Fehler beim Senden der E-Mail
|
||||
},
|
||||
"errors": {
|
||||
"fillAllFields": "Please fill in all fields", // Bitte füllen Sie alle Felder aus
|
||||
"invalidEmail": "Please enter a valid email address", // Bitte geben Sie eine gültige E-Mail-Adresse ein
|
||||
"passwordsNotMatch": "The passwords do not match", // Die Passwörter stimmen nicht überein
|
||||
"passwordsNotMatchShort": "Passwords do not match", // Passwörter stimmen nicht überein
|
||||
"enterEmail": "Please enter your email address", // Bitte geben Sie Ihre E-Mail-Adresse ein
|
||||
"loginFailed": "Login failed", // Anmeldung fehlgeschlagen
|
||||
"registerFailed": "Registration failed", // Registrierung fehlgeschlagen
|
||||
"googleLoginFailed": "Google login failed", // Google-Anmeldung fehlgeschlagen
|
||||
"emailExists": "A user with this email address already exists. Please use another email address or log in." // Ein Benutzer mit dieser E-Mail-Adresse existiert bereits. Bitte verwenden Sie eine andere E-Mail-Adresse oder melden Sie sich an.
|
||||
},
|
||||
"success": {
|
||||
"registerComplete": "Registration successful. You can now log in." // Registrierung erfolgreich. Sie können sich jetzt anmelden.
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user