From 32e6ca597a5ecb578f7129b8253c8bac4247afd4 Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Tue, 15 Jul 2025 12:49:26 +0200 Subject: [PATCH] Update mobile app extra locales (#1006) --- apps/mobile-app/i18n/locales/de.json | 78 +++++++++++++--------------- apps/mobile-app/i18n/locales/es.json | 78 +++++++++++++--------------- apps/mobile-app/i18n/locales/fr.json | 78 +++++++++++++--------------- apps/mobile-app/i18n/locales/uk.json | 78 +++++++++++++--------------- 4 files changed, 140 insertions(+), 172 deletions(-) diff --git a/apps/mobile-app/i18n/locales/de.json b/apps/mobile-app/i18n/locales/de.json index 1274c2a46..944389dde 100644 --- a/apps/mobile-app/i18n/locales/de.json +++ b/apps/mobile-app/i18n/locales/de.json @@ -3,7 +3,6 @@ "cancel": "Cancel", "delete": "Delete", "save": "Save", - "edit": "Edit", "yes": "Yes", "no": "No", "ok": "OK", @@ -11,13 +10,8 @@ "loading": "Loading...", "error": "Error", "success": "Success", - "required": "Required", - "optional": "Optional", "never": "Never", - "untitled": "Untitled", - "copy": "Copy", - "copied": "Copied", - "version": "Version" + "copied": "Copied" }, "auth": { "login": "Log in", @@ -43,12 +37,12 @@ "biometricPrompt": "Would you like to use {{biometric}} to unlock your vault?", "tryBiometricAgain": "Try {{biometric}} Again", "authCodeNote": "Note: if you don't have access to your authenticator device, you can reset your 2FA with a recovery code by logging in via the website.", - "noAccountYet": "No account yet?", "errors": { "credentialsRequired": "Username and password are required", "invalidAuthCode": "Please enter a valid 6-digit authentication code", "incorrectPassword": "Incorrect password. Please try again.", - "enterPassword": "Please enter your password" + "enterPassword": "Please enter your password", + "serverError": "Could not reach AliasVault server. Please try again later or contact support if the problem persists." }, "confirmLogout": "Are you sure you want to logout? You need to login again with your master password to access your vault." }, @@ -58,7 +52,6 @@ "editCredential": "Edit Credential", "deleteCredential": "Delete Credential", "deleteConfirm": "Are you sure you want to delete this credential? This action cannot be undone.", - "credentialOptions": "Credential Options", "service": "Service", "serviceName": "Service Name", "serviceUrl": "Service URL", @@ -86,8 +79,6 @@ "noEmailsYet": "No emails received yet.", "offlineEmailsMessage": "You are offline. Please connect to the internet to load your emails.", "emailLoadError": "An error occurred while loading emails. Please try again later.", - "emailClaimError": "The current chosen email address is already in use. Please change the email address by editing this credential.", - "emailSyncError": "An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.", "emailUnexpectedError": "An unexpected error occurred while loading emails. Please try again later.", "password": "Password", "deletingCredential": "Deleting credential...", @@ -101,19 +92,6 @@ "switchBackToBrowser": "Switch back to your browser to continue.", "twoFactorAuth": "Two-factor authentication", "totpCode": "TOTP Code", - "actions": { - "copyUsername": "Copy Username", - "copyEmail": "Copy Email", - "copyPassword": "Copy Password" - }, - "toasts": { - "usernameCopied": "Username copied to clipboard", - "emailCopied": "Email copied to clipboard", - "passwordCopied": "Password copied to clipboard", - "credentialUpdated": "Credential updated successfully", - "credentialCreated": "Credential created successfully", - "credentialDeleted": "Credential deleted successfully" - }, "errors": { "loadFailed": "Failed to load credential", "generateUsernameFailed": "Failed to generate username", @@ -141,12 +119,9 @@ "8hours": "8 hours" }, "language": "Language", - "systemLanguage": "System Language", "languageSystemMessage": "To change the app language, configure the preferred language for AliasVault in your device settings.", "openSettings": "Open Settings", - "unableToOpenSettings": "Unable to open device settings. Please manually navigate to the app settings and change the language.", "vaultUnlockSettings": { - "title": "Vault Unlock Method", "description": "Choose how you want to unlock your vault.", "biometricEnabled": "{{biometric}} is now successfully enabled", "biometricNotAvailable": "{{biometric}} Not Available", @@ -158,11 +133,9 @@ "keystoreAndroid": "Android Keystore" }, "autoLockSettings": { - "title": "Auto-lock Timeout", "description": "Choose how long the app can stay in the background before requiring re-authentication. You'll need to use Face ID or enter your password to unlock the vault again." }, "identityGeneratorSettings": { - "title": "Identity Generator", "description": "Configure the default language and gender preference for generating new identities.", "languageSection": "Language", "languageDescription": "Set the language that will be used when generating new identities.", @@ -257,19 +230,7 @@ "navigation": { "credentials": "Credentials", "emails": "Emails", - "settings": "Settings", - "notFound": "This page doesn't exist.", - "oops": "Oops!", - "goBack": "Go back to the home page" - }, - "validation": { - "serviceNameRequired": "Service name is required", - "invalidUrl": "Invalid URL format", - "invalidDate": "Date must be in YYYY-MM-DD format", - "invalidEmail": "Invalid email format" - }, - "offline": { - "banner": "You are offline. Some features may not be available." + "settings": "Settings" }, "emails": { "title": "Email Details", @@ -290,5 +251,36 @@ "decryptFailed": "Failed to decrypt attachment", "downloadFailed": "Failed to download attachment" } + }, + "apiErrors": { + "CLAIM_DOES_NOT_MATCH_USER": "The current chosen email address is already in use. Please change the email address by editing this credential.", + "CLAIM_DOES_NOT_EXIST": "An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.", + "UNKNOWN_ERROR": "An unknown error occurred. Please try again.", + "ACCOUNT_LOCKED": "Account temporarily locked due to too many failed attempts. Please try again later.", + "ACCOUNT_BLOCKED": "Your account has been disabled. If you believe this is a mistake, please contact support.", + "USER_NOT_FOUND": "Invalid username or password. Please try again.", + "INVALID_AUTHENTICATOR_CODE": "Invalid authenticator code. Please try again.", + "INVALID_RECOVERY_CODE": "Invalid recovery code. Please try again.", + "REFRESH_TOKEN_REQUIRED": "Refresh token is required.", + "USER_NOT_FOUND_IN_TOKEN": "User not found in token.", + "USER_NOT_FOUND_IN_DATABASE": "User not found in database.", + "INVALID_REFRESH_TOKEN": "Invalid refresh token.", + "REFRESH_TOKEN_REVOKED_SUCCESSFULLY": "Refresh token revoked successfully.", + "PUBLIC_REGISTRATION_DISABLED": "New account registration is currently disabled on this server. Please contact the administrator.", + "USERNAME_REQUIRED": "Username is required.", + "USERNAME_ALREADY_IN_USE": "Username is already in use.", + "USERNAME_AVAILABLE": "Username is available.", + "USERNAME_MISMATCH": "Username does not match the current user.", + "PASSWORD_MISMATCH": "The provided password does not match your current password.", + "ACCOUNT_SUCCESSFULLY_DELETED": "Account successfully deleted.", + "USERNAME_EMPTY_OR_WHITESPACE": "Username cannot be empty or whitespace.", + "USERNAME_TOO_SHORT": "Username too short: must be at least 3 characters long.", + "USERNAME_TOO_LONG": "Username too long: cannot be longer than 40 characters.", + "USERNAME_ADMIN_NOT_ALLOWED": "Username 'admin' is not allowed.", + "USERNAME_INVALID_EMAIL": "Invalid email address.", + "USERNAME_INVALID_CHARACTERS": "Username is invalid, can only contain letters or digits.", + "VAULT_NOT_UP_TO_DATE": "Your vault is not up-to-date. Please synchronize your vault and try again.", + "INTERNAL_SERVER_ERROR": "Internal server error.", + "VAULT_ERROR": "The local vault is not up-to-date. Please synchronize your vault by refreshing the page and try again." } } \ No newline at end of file diff --git a/apps/mobile-app/i18n/locales/es.json b/apps/mobile-app/i18n/locales/es.json index 1274c2a46..944389dde 100644 --- a/apps/mobile-app/i18n/locales/es.json +++ b/apps/mobile-app/i18n/locales/es.json @@ -3,7 +3,6 @@ "cancel": "Cancel", "delete": "Delete", "save": "Save", - "edit": "Edit", "yes": "Yes", "no": "No", "ok": "OK", @@ -11,13 +10,8 @@ "loading": "Loading...", "error": "Error", "success": "Success", - "required": "Required", - "optional": "Optional", "never": "Never", - "untitled": "Untitled", - "copy": "Copy", - "copied": "Copied", - "version": "Version" + "copied": "Copied" }, "auth": { "login": "Log in", @@ -43,12 +37,12 @@ "biometricPrompt": "Would you like to use {{biometric}} to unlock your vault?", "tryBiometricAgain": "Try {{biometric}} Again", "authCodeNote": "Note: if you don't have access to your authenticator device, you can reset your 2FA with a recovery code by logging in via the website.", - "noAccountYet": "No account yet?", "errors": { "credentialsRequired": "Username and password are required", "invalidAuthCode": "Please enter a valid 6-digit authentication code", "incorrectPassword": "Incorrect password. Please try again.", - "enterPassword": "Please enter your password" + "enterPassword": "Please enter your password", + "serverError": "Could not reach AliasVault server. Please try again later or contact support if the problem persists." }, "confirmLogout": "Are you sure you want to logout? You need to login again with your master password to access your vault." }, @@ -58,7 +52,6 @@ "editCredential": "Edit Credential", "deleteCredential": "Delete Credential", "deleteConfirm": "Are you sure you want to delete this credential? This action cannot be undone.", - "credentialOptions": "Credential Options", "service": "Service", "serviceName": "Service Name", "serviceUrl": "Service URL", @@ -86,8 +79,6 @@ "noEmailsYet": "No emails received yet.", "offlineEmailsMessage": "You are offline. Please connect to the internet to load your emails.", "emailLoadError": "An error occurred while loading emails. Please try again later.", - "emailClaimError": "The current chosen email address is already in use. Please change the email address by editing this credential.", - "emailSyncError": "An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.", "emailUnexpectedError": "An unexpected error occurred while loading emails. Please try again later.", "password": "Password", "deletingCredential": "Deleting credential...", @@ -101,19 +92,6 @@ "switchBackToBrowser": "Switch back to your browser to continue.", "twoFactorAuth": "Two-factor authentication", "totpCode": "TOTP Code", - "actions": { - "copyUsername": "Copy Username", - "copyEmail": "Copy Email", - "copyPassword": "Copy Password" - }, - "toasts": { - "usernameCopied": "Username copied to clipboard", - "emailCopied": "Email copied to clipboard", - "passwordCopied": "Password copied to clipboard", - "credentialUpdated": "Credential updated successfully", - "credentialCreated": "Credential created successfully", - "credentialDeleted": "Credential deleted successfully" - }, "errors": { "loadFailed": "Failed to load credential", "generateUsernameFailed": "Failed to generate username", @@ -141,12 +119,9 @@ "8hours": "8 hours" }, "language": "Language", - "systemLanguage": "System Language", "languageSystemMessage": "To change the app language, configure the preferred language for AliasVault in your device settings.", "openSettings": "Open Settings", - "unableToOpenSettings": "Unable to open device settings. Please manually navigate to the app settings and change the language.", "vaultUnlockSettings": { - "title": "Vault Unlock Method", "description": "Choose how you want to unlock your vault.", "biometricEnabled": "{{biometric}} is now successfully enabled", "biometricNotAvailable": "{{biometric}} Not Available", @@ -158,11 +133,9 @@ "keystoreAndroid": "Android Keystore" }, "autoLockSettings": { - "title": "Auto-lock Timeout", "description": "Choose how long the app can stay in the background before requiring re-authentication. You'll need to use Face ID or enter your password to unlock the vault again." }, "identityGeneratorSettings": { - "title": "Identity Generator", "description": "Configure the default language and gender preference for generating new identities.", "languageSection": "Language", "languageDescription": "Set the language that will be used when generating new identities.", @@ -257,19 +230,7 @@ "navigation": { "credentials": "Credentials", "emails": "Emails", - "settings": "Settings", - "notFound": "This page doesn't exist.", - "oops": "Oops!", - "goBack": "Go back to the home page" - }, - "validation": { - "serviceNameRequired": "Service name is required", - "invalidUrl": "Invalid URL format", - "invalidDate": "Date must be in YYYY-MM-DD format", - "invalidEmail": "Invalid email format" - }, - "offline": { - "banner": "You are offline. Some features may not be available." + "settings": "Settings" }, "emails": { "title": "Email Details", @@ -290,5 +251,36 @@ "decryptFailed": "Failed to decrypt attachment", "downloadFailed": "Failed to download attachment" } + }, + "apiErrors": { + "CLAIM_DOES_NOT_MATCH_USER": "The current chosen email address is already in use. Please change the email address by editing this credential.", + "CLAIM_DOES_NOT_EXIST": "An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.", + "UNKNOWN_ERROR": "An unknown error occurred. Please try again.", + "ACCOUNT_LOCKED": "Account temporarily locked due to too many failed attempts. Please try again later.", + "ACCOUNT_BLOCKED": "Your account has been disabled. If you believe this is a mistake, please contact support.", + "USER_NOT_FOUND": "Invalid username or password. Please try again.", + "INVALID_AUTHENTICATOR_CODE": "Invalid authenticator code. Please try again.", + "INVALID_RECOVERY_CODE": "Invalid recovery code. Please try again.", + "REFRESH_TOKEN_REQUIRED": "Refresh token is required.", + "USER_NOT_FOUND_IN_TOKEN": "User not found in token.", + "USER_NOT_FOUND_IN_DATABASE": "User not found in database.", + "INVALID_REFRESH_TOKEN": "Invalid refresh token.", + "REFRESH_TOKEN_REVOKED_SUCCESSFULLY": "Refresh token revoked successfully.", + "PUBLIC_REGISTRATION_DISABLED": "New account registration is currently disabled on this server. Please contact the administrator.", + "USERNAME_REQUIRED": "Username is required.", + "USERNAME_ALREADY_IN_USE": "Username is already in use.", + "USERNAME_AVAILABLE": "Username is available.", + "USERNAME_MISMATCH": "Username does not match the current user.", + "PASSWORD_MISMATCH": "The provided password does not match your current password.", + "ACCOUNT_SUCCESSFULLY_DELETED": "Account successfully deleted.", + "USERNAME_EMPTY_OR_WHITESPACE": "Username cannot be empty or whitespace.", + "USERNAME_TOO_SHORT": "Username too short: must be at least 3 characters long.", + "USERNAME_TOO_LONG": "Username too long: cannot be longer than 40 characters.", + "USERNAME_ADMIN_NOT_ALLOWED": "Username 'admin' is not allowed.", + "USERNAME_INVALID_EMAIL": "Invalid email address.", + "USERNAME_INVALID_CHARACTERS": "Username is invalid, can only contain letters or digits.", + "VAULT_NOT_UP_TO_DATE": "Your vault is not up-to-date. Please synchronize your vault and try again.", + "INTERNAL_SERVER_ERROR": "Internal server error.", + "VAULT_ERROR": "The local vault is not up-to-date. Please synchronize your vault by refreshing the page and try again." } } \ No newline at end of file diff --git a/apps/mobile-app/i18n/locales/fr.json b/apps/mobile-app/i18n/locales/fr.json index 1274c2a46..944389dde 100644 --- a/apps/mobile-app/i18n/locales/fr.json +++ b/apps/mobile-app/i18n/locales/fr.json @@ -3,7 +3,6 @@ "cancel": "Cancel", "delete": "Delete", "save": "Save", - "edit": "Edit", "yes": "Yes", "no": "No", "ok": "OK", @@ -11,13 +10,8 @@ "loading": "Loading...", "error": "Error", "success": "Success", - "required": "Required", - "optional": "Optional", "never": "Never", - "untitled": "Untitled", - "copy": "Copy", - "copied": "Copied", - "version": "Version" + "copied": "Copied" }, "auth": { "login": "Log in", @@ -43,12 +37,12 @@ "biometricPrompt": "Would you like to use {{biometric}} to unlock your vault?", "tryBiometricAgain": "Try {{biometric}} Again", "authCodeNote": "Note: if you don't have access to your authenticator device, you can reset your 2FA with a recovery code by logging in via the website.", - "noAccountYet": "No account yet?", "errors": { "credentialsRequired": "Username and password are required", "invalidAuthCode": "Please enter a valid 6-digit authentication code", "incorrectPassword": "Incorrect password. Please try again.", - "enterPassword": "Please enter your password" + "enterPassword": "Please enter your password", + "serverError": "Could not reach AliasVault server. Please try again later or contact support if the problem persists." }, "confirmLogout": "Are you sure you want to logout? You need to login again with your master password to access your vault." }, @@ -58,7 +52,6 @@ "editCredential": "Edit Credential", "deleteCredential": "Delete Credential", "deleteConfirm": "Are you sure you want to delete this credential? This action cannot be undone.", - "credentialOptions": "Credential Options", "service": "Service", "serviceName": "Service Name", "serviceUrl": "Service URL", @@ -86,8 +79,6 @@ "noEmailsYet": "No emails received yet.", "offlineEmailsMessage": "You are offline. Please connect to the internet to load your emails.", "emailLoadError": "An error occurred while loading emails. Please try again later.", - "emailClaimError": "The current chosen email address is already in use. Please change the email address by editing this credential.", - "emailSyncError": "An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.", "emailUnexpectedError": "An unexpected error occurred while loading emails. Please try again later.", "password": "Password", "deletingCredential": "Deleting credential...", @@ -101,19 +92,6 @@ "switchBackToBrowser": "Switch back to your browser to continue.", "twoFactorAuth": "Two-factor authentication", "totpCode": "TOTP Code", - "actions": { - "copyUsername": "Copy Username", - "copyEmail": "Copy Email", - "copyPassword": "Copy Password" - }, - "toasts": { - "usernameCopied": "Username copied to clipboard", - "emailCopied": "Email copied to clipboard", - "passwordCopied": "Password copied to clipboard", - "credentialUpdated": "Credential updated successfully", - "credentialCreated": "Credential created successfully", - "credentialDeleted": "Credential deleted successfully" - }, "errors": { "loadFailed": "Failed to load credential", "generateUsernameFailed": "Failed to generate username", @@ -141,12 +119,9 @@ "8hours": "8 hours" }, "language": "Language", - "systemLanguage": "System Language", "languageSystemMessage": "To change the app language, configure the preferred language for AliasVault in your device settings.", "openSettings": "Open Settings", - "unableToOpenSettings": "Unable to open device settings. Please manually navigate to the app settings and change the language.", "vaultUnlockSettings": { - "title": "Vault Unlock Method", "description": "Choose how you want to unlock your vault.", "biometricEnabled": "{{biometric}} is now successfully enabled", "biometricNotAvailable": "{{biometric}} Not Available", @@ -158,11 +133,9 @@ "keystoreAndroid": "Android Keystore" }, "autoLockSettings": { - "title": "Auto-lock Timeout", "description": "Choose how long the app can stay in the background before requiring re-authentication. You'll need to use Face ID or enter your password to unlock the vault again." }, "identityGeneratorSettings": { - "title": "Identity Generator", "description": "Configure the default language and gender preference for generating new identities.", "languageSection": "Language", "languageDescription": "Set the language that will be used when generating new identities.", @@ -257,19 +230,7 @@ "navigation": { "credentials": "Credentials", "emails": "Emails", - "settings": "Settings", - "notFound": "This page doesn't exist.", - "oops": "Oops!", - "goBack": "Go back to the home page" - }, - "validation": { - "serviceNameRequired": "Service name is required", - "invalidUrl": "Invalid URL format", - "invalidDate": "Date must be in YYYY-MM-DD format", - "invalidEmail": "Invalid email format" - }, - "offline": { - "banner": "You are offline. Some features may not be available." + "settings": "Settings" }, "emails": { "title": "Email Details", @@ -290,5 +251,36 @@ "decryptFailed": "Failed to decrypt attachment", "downloadFailed": "Failed to download attachment" } + }, + "apiErrors": { + "CLAIM_DOES_NOT_MATCH_USER": "The current chosen email address is already in use. Please change the email address by editing this credential.", + "CLAIM_DOES_NOT_EXIST": "An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.", + "UNKNOWN_ERROR": "An unknown error occurred. Please try again.", + "ACCOUNT_LOCKED": "Account temporarily locked due to too many failed attempts. Please try again later.", + "ACCOUNT_BLOCKED": "Your account has been disabled. If you believe this is a mistake, please contact support.", + "USER_NOT_FOUND": "Invalid username or password. Please try again.", + "INVALID_AUTHENTICATOR_CODE": "Invalid authenticator code. Please try again.", + "INVALID_RECOVERY_CODE": "Invalid recovery code. Please try again.", + "REFRESH_TOKEN_REQUIRED": "Refresh token is required.", + "USER_NOT_FOUND_IN_TOKEN": "User not found in token.", + "USER_NOT_FOUND_IN_DATABASE": "User not found in database.", + "INVALID_REFRESH_TOKEN": "Invalid refresh token.", + "REFRESH_TOKEN_REVOKED_SUCCESSFULLY": "Refresh token revoked successfully.", + "PUBLIC_REGISTRATION_DISABLED": "New account registration is currently disabled on this server. Please contact the administrator.", + "USERNAME_REQUIRED": "Username is required.", + "USERNAME_ALREADY_IN_USE": "Username is already in use.", + "USERNAME_AVAILABLE": "Username is available.", + "USERNAME_MISMATCH": "Username does not match the current user.", + "PASSWORD_MISMATCH": "The provided password does not match your current password.", + "ACCOUNT_SUCCESSFULLY_DELETED": "Account successfully deleted.", + "USERNAME_EMPTY_OR_WHITESPACE": "Username cannot be empty or whitespace.", + "USERNAME_TOO_SHORT": "Username too short: must be at least 3 characters long.", + "USERNAME_TOO_LONG": "Username too long: cannot be longer than 40 characters.", + "USERNAME_ADMIN_NOT_ALLOWED": "Username 'admin' is not allowed.", + "USERNAME_INVALID_EMAIL": "Invalid email address.", + "USERNAME_INVALID_CHARACTERS": "Username is invalid, can only contain letters or digits.", + "VAULT_NOT_UP_TO_DATE": "Your vault is not up-to-date. Please synchronize your vault and try again.", + "INTERNAL_SERVER_ERROR": "Internal server error.", + "VAULT_ERROR": "The local vault is not up-to-date. Please synchronize your vault by refreshing the page and try again." } } \ No newline at end of file diff --git a/apps/mobile-app/i18n/locales/uk.json b/apps/mobile-app/i18n/locales/uk.json index 1274c2a46..944389dde 100644 --- a/apps/mobile-app/i18n/locales/uk.json +++ b/apps/mobile-app/i18n/locales/uk.json @@ -3,7 +3,6 @@ "cancel": "Cancel", "delete": "Delete", "save": "Save", - "edit": "Edit", "yes": "Yes", "no": "No", "ok": "OK", @@ -11,13 +10,8 @@ "loading": "Loading...", "error": "Error", "success": "Success", - "required": "Required", - "optional": "Optional", "never": "Never", - "untitled": "Untitled", - "copy": "Copy", - "copied": "Copied", - "version": "Version" + "copied": "Copied" }, "auth": { "login": "Log in", @@ -43,12 +37,12 @@ "biometricPrompt": "Would you like to use {{biometric}} to unlock your vault?", "tryBiometricAgain": "Try {{biometric}} Again", "authCodeNote": "Note: if you don't have access to your authenticator device, you can reset your 2FA with a recovery code by logging in via the website.", - "noAccountYet": "No account yet?", "errors": { "credentialsRequired": "Username and password are required", "invalidAuthCode": "Please enter a valid 6-digit authentication code", "incorrectPassword": "Incorrect password. Please try again.", - "enterPassword": "Please enter your password" + "enterPassword": "Please enter your password", + "serverError": "Could not reach AliasVault server. Please try again later or contact support if the problem persists." }, "confirmLogout": "Are you sure you want to logout? You need to login again with your master password to access your vault." }, @@ -58,7 +52,6 @@ "editCredential": "Edit Credential", "deleteCredential": "Delete Credential", "deleteConfirm": "Are you sure you want to delete this credential? This action cannot be undone.", - "credentialOptions": "Credential Options", "service": "Service", "serviceName": "Service Name", "serviceUrl": "Service URL", @@ -86,8 +79,6 @@ "noEmailsYet": "No emails received yet.", "offlineEmailsMessage": "You are offline. Please connect to the internet to load your emails.", "emailLoadError": "An error occurred while loading emails. Please try again later.", - "emailClaimError": "The current chosen email address is already in use. Please change the email address by editing this credential.", - "emailSyncError": "An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.", "emailUnexpectedError": "An unexpected error occurred while loading emails. Please try again later.", "password": "Password", "deletingCredential": "Deleting credential...", @@ -101,19 +92,6 @@ "switchBackToBrowser": "Switch back to your browser to continue.", "twoFactorAuth": "Two-factor authentication", "totpCode": "TOTP Code", - "actions": { - "copyUsername": "Copy Username", - "copyEmail": "Copy Email", - "copyPassword": "Copy Password" - }, - "toasts": { - "usernameCopied": "Username copied to clipboard", - "emailCopied": "Email copied to clipboard", - "passwordCopied": "Password copied to clipboard", - "credentialUpdated": "Credential updated successfully", - "credentialCreated": "Credential created successfully", - "credentialDeleted": "Credential deleted successfully" - }, "errors": { "loadFailed": "Failed to load credential", "generateUsernameFailed": "Failed to generate username", @@ -141,12 +119,9 @@ "8hours": "8 hours" }, "language": "Language", - "systemLanguage": "System Language", "languageSystemMessage": "To change the app language, configure the preferred language for AliasVault in your device settings.", "openSettings": "Open Settings", - "unableToOpenSettings": "Unable to open device settings. Please manually navigate to the app settings and change the language.", "vaultUnlockSettings": { - "title": "Vault Unlock Method", "description": "Choose how you want to unlock your vault.", "biometricEnabled": "{{biometric}} is now successfully enabled", "biometricNotAvailable": "{{biometric}} Not Available", @@ -158,11 +133,9 @@ "keystoreAndroid": "Android Keystore" }, "autoLockSettings": { - "title": "Auto-lock Timeout", "description": "Choose how long the app can stay in the background before requiring re-authentication. You'll need to use Face ID or enter your password to unlock the vault again." }, "identityGeneratorSettings": { - "title": "Identity Generator", "description": "Configure the default language and gender preference for generating new identities.", "languageSection": "Language", "languageDescription": "Set the language that will be used when generating new identities.", @@ -257,19 +230,7 @@ "navigation": { "credentials": "Credentials", "emails": "Emails", - "settings": "Settings", - "notFound": "This page doesn't exist.", - "oops": "Oops!", - "goBack": "Go back to the home page" - }, - "validation": { - "serviceNameRequired": "Service name is required", - "invalidUrl": "Invalid URL format", - "invalidDate": "Date must be in YYYY-MM-DD format", - "invalidEmail": "Invalid email format" - }, - "offline": { - "banner": "You are offline. Some features may not be available." + "settings": "Settings" }, "emails": { "title": "Email Details", @@ -290,5 +251,36 @@ "decryptFailed": "Failed to decrypt attachment", "downloadFailed": "Failed to download attachment" } + }, + "apiErrors": { + "CLAIM_DOES_NOT_MATCH_USER": "The current chosen email address is already in use. Please change the email address by editing this credential.", + "CLAIM_DOES_NOT_EXIST": "An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.", + "UNKNOWN_ERROR": "An unknown error occurred. Please try again.", + "ACCOUNT_LOCKED": "Account temporarily locked due to too many failed attempts. Please try again later.", + "ACCOUNT_BLOCKED": "Your account has been disabled. If you believe this is a mistake, please contact support.", + "USER_NOT_FOUND": "Invalid username or password. Please try again.", + "INVALID_AUTHENTICATOR_CODE": "Invalid authenticator code. Please try again.", + "INVALID_RECOVERY_CODE": "Invalid recovery code. Please try again.", + "REFRESH_TOKEN_REQUIRED": "Refresh token is required.", + "USER_NOT_FOUND_IN_TOKEN": "User not found in token.", + "USER_NOT_FOUND_IN_DATABASE": "User not found in database.", + "INVALID_REFRESH_TOKEN": "Invalid refresh token.", + "REFRESH_TOKEN_REVOKED_SUCCESSFULLY": "Refresh token revoked successfully.", + "PUBLIC_REGISTRATION_DISABLED": "New account registration is currently disabled on this server. Please contact the administrator.", + "USERNAME_REQUIRED": "Username is required.", + "USERNAME_ALREADY_IN_USE": "Username is already in use.", + "USERNAME_AVAILABLE": "Username is available.", + "USERNAME_MISMATCH": "Username does not match the current user.", + "PASSWORD_MISMATCH": "The provided password does not match your current password.", + "ACCOUNT_SUCCESSFULLY_DELETED": "Account successfully deleted.", + "USERNAME_EMPTY_OR_WHITESPACE": "Username cannot be empty or whitespace.", + "USERNAME_TOO_SHORT": "Username too short: must be at least 3 characters long.", + "USERNAME_TOO_LONG": "Username too long: cannot be longer than 40 characters.", + "USERNAME_ADMIN_NOT_ALLOWED": "Username 'admin' is not allowed.", + "USERNAME_INVALID_EMAIL": "Invalid email address.", + "USERNAME_INVALID_CHARACTERS": "Username is invalid, can only contain letters or digits.", + "VAULT_NOT_UP_TO_DATE": "Your vault is not up-to-date. Please synchronize your vault and try again.", + "INTERNAL_SERVER_ERROR": "Internal server error.", + "VAULT_ERROR": "The local vault is not up-to-date. Please synchronize your vault by refreshing the page and try again." } } \ No newline at end of file