Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Simplify translations (#1187)
Leendert de Borst4f91ae7f1c57
diff --git a/apps/browser-extension/src/entrypoints/popup/pages/Upgrade.tsx b/apps/browser-extension/src/entrypoints/popup/pages/Upgrade.tsxindex c12003369..580da055b 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/Upgrade.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/Upgrade.tsx@@ -239,7 +239,7 @@ const Upgrade: React.FC = () => {title={t('upgrade.alerts.selfHostedServer')}message={t('upgrade.alerts.selfHostedWarning')}confirmText={t('upgrade.alerts.continueUpgrade')}- cancelText={t('upgrade.alerts.cancel')}+ cancelText={t('common.cancel')}/>{/* Version info modal */}diff --git a/apps/mobile-app/app/(tabs)/credentials/autofill-credential-created.tsx b/apps/mobile-app/app/(tabs)/credentials/autofill-credential-created.tsxindex 79c3feb0c..e22796b77 100644--- a/apps/mobile-app/app/(tabs)/credentials/autofill-credential-created.tsx+++ b/apps/mobile-app/app/(tabs)/credentials/autofill-credential-created.tsx@@ -88,7 +88,7 @@ export default function AutofillCredentialCreatedScreen() : React.ReactNode {pressRetentionOffset={100}hitSlop={100}>- <ThemedText style={{ color: colors.primary }}>{t('common.cancel')}</ThemedText>+ <ThemedText style={{ color: colors.primary }}>{t('common.close')}</ThemedText></RobustPressable>});}, [navigation, colors.primary, styles.headerRightButton, handleStayInApp, t]);diff --git a/apps/mobile-app/app/(tabs)/credentials/index.tsx b/apps/mobile-app/app/(tabs)/credentials/index.tsxindex 82f3b1d8a..2721612aa 100644--- a/apps/mobile-app/app/(tabs)/credentials/index.tsx+++ b/apps/mobile-app/app/(tabs)/credentials/index.tsx@@ -173,7 +173,7 @@ export default function CredentialsScreen() : React.ReactNode {setIsLoadingCredentials(false);// Show modal with error message- Alert.alert(t('credentials.errors.generic'), error);+ Alert.alert(t('common.error'), error);// Logout userawait webApi.logout(error);diff --git a/apps/mobile-app/app/(tabs)/emails/[id].tsx b/apps/mobile-app/app/(tabs)/emails/[id].tsxindex 8954c58be..b6afa6c65 100644--- a/apps/mobile-app/app/(tabs)/emails/[id].tsx+++ b/apps/mobile-app/app/(tabs)/emails/[id].tsx@@ -75,7 +75,7 @@ export default function EmailDetailsScreen() : React.ReactNode {setHtmlView(false);}} catch (err) {- setError(err instanceof Error ? err.message : t('emails.errors.generic'));+ setError(err instanceof Error ? err.message : t('common.error'));} finally {setIsLoading(false);}diff --git a/apps/mobile-app/app/(tabs)/emails/index.tsx b/apps/mobile-app/app/(tabs)/emails/index.tsxindex ab7d78d91..5cc218699 100644--- a/apps/mobile-app/app/(tabs)/emails/index.tsx+++ b/apps/mobile-app/app/(tabs)/emails/index.tsx@@ -91,7 +91,7 @@ export default function EmailsScreen() : React.ReactNode {setIsLoading(false);}} catch (err) {- setError(err instanceof Error ? err.message : t('emails.errors.generic'));+ setError(err instanceof Error ? err.message : t('common.error'));}}, [dbContext?.sqliteClient, webApi, setIsLoading, authContext.isOffline, t]);diff --git a/apps/mobile-app/app/initialize.tsx b/apps/mobile-app/app/initialize.tsxindex 095b2bc0d..0f435a4f2 100644--- a/apps/mobile-app/app/initialize.tsx+++ b/apps/mobile-app/app/initialize.tsx@@ -144,7 +144,7 @@ export default function Initialize() : React.ReactNode {*/onError: async (error: string) => {// Show modal with error message- Alert.alert(t('app.alerts.error'), error);+ Alert.alert(t('common.error'), error);// The logout user and navigate to the login screen.await webApi.logout(error);diff --git a/apps/mobile-app/app/upgrade.tsx b/apps/mobile-app/app/upgrade.tsxindex 59332a7db..fe2e1332c 100644--- a/apps/mobile-app/app/upgrade.tsx+++ b/apps/mobile-app/app/upgrade.tsx@@ -68,7 +68,7 @@ export default function UpgradeScreen() : React.ReactNode {*/const handleUpgrade = async (): Promise<void> => {if (!sqliteClient || !currentVersion || !latestVersion) {- Alert.alert(t('upgrade.alerts.error'), t('upgrade.alerts.unableToGetVersionInfo'));+ Alert.alert(t('common.error'), t('upgrade.alerts.unableToGetVersionInfo'));return;}@@ -78,7 +78,7 @@ export default function UpgradeScreen() : React.ReactNode {t('upgrade.alerts.selfHostedServer'),t('upgrade.alerts.selfHostedWarning'),[- { text: t('upgrade.alerts.cancel'), style: 'cancel' },+ { text: t('common.cancel'), style: 'cancel' },{text: t('upgrade.alerts.continueUpgrade'),style: 'default',@@ -101,7 +101,7 @@ export default function UpgradeScreen() : React.ReactNode {*/const performUpgrade = async (): Promise<void> => {if (!sqliteClient || !currentVersion || !latestVersion) {- Alert.alert(t('upgrade.alerts.error'), t('upgrade.alerts.unableToGetVersionInfo'));+ Alert.alert(t('common.error'), t('upgrade.alerts.unableToGetVersionInfo'));return;}@@ -229,7 +229,7 @@ export default function UpgradeScreen() : React.ReactNode {t('upgrade.whatsNew'),`${t('upgrade.whatsNewDescription')}\n\n${latestVersion?.description ?? t('upgrade.noDescriptionAvailable')}`,[- { text: t('upgrade.okay'), style: 'default' }+ { text: t('common.ok'), style: 'default' }]);};diff --git a/apps/mobile-app/i18n/locales/en.json b/apps/mobile-app/i18n/locales/en.jsonindex 8859909bc..cf421d71e 100644--- a/apps/mobile-app/i18n/locales/en.json+++ b/apps/mobile-app/i18n/locales/en.json@@ -1,6 +1,7 @@{"common": {"cancel": "Cancel",+ "close": "Close","delete": "Delete","save": "Save","yes": "Yes",@@ -162,7 +163,6 @@"loadFailed": "Failed to load credential","generateUsernameFailed": "Failed to generate username","generatePasswordFailed": "Failed to generate password",- "generic": "Error"},"contextMenu": {"title": "Credential Options",@@ -428,7 +428,6 @@"syncIssueMessage": "The AliasVault server could not be reached and your vault could not be synced. Would you like to open your local vault in read-only mode or retry the connection?","openLocalVault": "Open Local Vault","retrySync": "Retry Sync",- "error": "Error"},"navigation": {"login": "Login",@@ -466,7 +465,6 @@"whatsNew": "What's New","whatsNewDescription": "An upgrade is required to support the following changes:","noDescriptionAvailable": "No description available for this version.",- "okay": "Ok","status": {"preparingUpgrade": "Preparing upgrade...","vaultAlreadyUpToDate": "Vault is already up to date",@@ -476,11 +474,9 @@"committingChanges": "Committing changes..."},"alerts": {- "error": "Error","unableToGetVersionInfo": "Unable to get version information. Please try again.","selfHostedServer": "Self-Hosted Server","selfHostedWarning": "If you're using a self-hosted server, make sure to also update your self-hosted instance as otherwise logging in to the web client will stop working.",- "cancel": "Cancel","continueUpgrade": "Continue Upgrade","upgradeFailed": "Upgrade Failed","failedToApplyMigration": "Failed to apply migration ({{current}} of {{total}})",