diff --git a/src/translation/en.json b/src/translation/en.json index 89e7f0f33..efa403697 100644 --- a/src/translation/en.json +++ b/src/translation/en.json @@ -30,9 +30,28 @@ "primaryEmail": "Primary email", "passwordRecoveryEmail": "Password recovery email", "language": "Language", - "changePassword": "Change Password", - "disable2FA": "Disable 2FA", - "enable2FA": "Enable 2FA", + "changePassword": { + "title": "Change your password", + "currentPassword": "Current password", + "newPassword": "New password", + "newPasswordRepeat": "Repeat new password", + "errorPasswordRequired": "A password is required", + "errorPasswordsDontMatch": "Passwords don't match", + "errorPasswordInvalid": "Password must be at least 8 and at most 265 characters" + }, + "disable2FA": { + "title": "Disable Two-Factor Authentication", + "password": "Password", + "disable": "Disable" + }, + "enable2FA": { + "title": "Enable Two-Factor Authentication", + "description": "Your Cloudron Administrator has required all members to enable two-factor authentication. You will be unable to access the dashboard until you enable 2FA.", + "authenticatorAppDescription": "Use Google Authenticator (Android, iOS), FreeOTP authenticator (Android, iOS) or a similar TOTP app to scan the secret.", + "token": "Token", + "enable": "Enable", + "setup2FA": "Setup Two-Factor" + }, "appPasswords": { "title": "App Passwords", "app": "App", @@ -55,6 +74,39 @@ "title": "Login Tokens", "description": "You have {{ webadminTokens.length }} active web token(s) and {{ cliTokens.length }} CLI token(s).", "logoutAll": "Logout From All" + }, + "changeEmail": { + "title": "Change primary email address", + "errorEmailInvalid": "The Email address is not valid", + "errorEmailRequired": "A valid email address is required" + }, + "changeFallbackEmail": { + "title": "Change password recovery email address", + "errorEmailRequired": "A valid email address is required", + "errorEmailInvalid": "The Email address is not valid" + }, + "changeDisplayName": { + "title": "Change your display name", + "label": "Display name", + "errorNameInvalid": "This display name is not valid", + "errorDisplayNameRequired": "A valid display name is required" + }, + "createAppPassword": { + "title": "Create App Password", + "name": "Password Name", + "errorNameRequired": "A name is required", + "app": "App", + "description": "Use the following password to authenticate against the app:", + "copyNow": "Please copy the password now. It won't be shown again for security purposes.", + "generatePassword": "Generate Password" + }, + "createApiToken": { + "title": "Create API Token", + "name": "API Token Name", + "errorNameRequired": "A name is required", + "description": "New API token:", + "copyNow": "Please copy the API token now. It won't be shown again for security purposes.", + "generateToken": "Generate API Token" } }, "backups": { diff --git a/src/views/profile.html b/src/views/profile.html index d9828b56e..3dde9ed69 100644 --- a/src/views/profile.html +++ b/src/views/profile.html @@ -38,13 +38,13 @@