Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Cleanup unused email notices and translations

Leendert de Borst7ec6849e064d
diff --git a/apps/mobile-app/app/(tabs)/emails/[id].tsx b/apps/mobile-app/app/(tabs)/emails/[id].tsx
index 7459370a3..a2e067b2d 100644
--- a/apps/mobile-app/app/(tabs)/emails/[id].tsx
+++ b/apps/mobile-app/app/(tabs)/emails/[id].tsx
@@ -257,12 +257,6 @@ export default function EmailDetailsScreen() : React.ReactNode {
return modes;
}, [htmlBody, textBody, hasSource]);
- /*
- * A source the parser found no body in is shown as-is plus a notice to update the app, in case a newer
- * server stores a shape this parser does not know yet.
- */
- const isSourceOnly = hasSource && !htmlBody && !textBody;
-
const formatLabels = useMemo<Record<'html' | 'plain' | 'source', string>>(() => ({
html: t('emails.formatHtml'),
plain: t('emails.formatPlain'),
@@ -440,18 +434,6 @@ export default function EmailDetailsScreen() : React.ReactNode {
flexDirection: 'row',
padding: 2,
},
- updateNotice: {
- backgroundColor: colors.warningBackground,
- borderColor: colors.warning,
- borderRadius: 6,
- borderWidth: 1,
- margin: 8,
- padding: 10,
- },
- updateNoticeText: {
- color: colors.warning,
- fontSize: 13,
- },
webView: {
flex: 1,
},
@@ -659,13 +641,6 @@ export default function EmailDetailsScreen() : React.ReactNode {
<ThemedText style={styles.errorText}>{t('common.error')}: {error}</ThemedText>
</View>
)}
- {isSourceOnly && (
- <View style={styles.updateNotice}>
- <ThemedText style={styles.updateNoticeText}>
- {t('emails.updateClientForFormattedView')}
- </ThemedText>
- </View>
- )}
{emailView}
{decrypted && decrypted.attachments.length > 0 && (
<View style={styles.attachments}>
diff --git a/core/i18n/hints.json b/core/i18n/hints.json
index 78604ded5..13a05593c 100644
--- a/core/i18n/hints.json
+++ b/core/i18n/hints.json
@@ -45,7 +45,7 @@
"auth.setup.passwordStepTitle": "Title for the password creation step",
"auth.setup.setupStepTitle": "Default setup step title",
"auth.setup.termsAgreementLabel": "Checkbox label at account creation; the text inside <termsLink> opens the terms",
- "auth.setup.usernameStep.assistantAvatarAlt": "Alt text for assistant avatar image",
+ "auth.setup.usernameStep.assistantAvatarAlt": "Alt text for assistant avatar image",
"auth.setup.usernameStep.enterUsernameInstructions": "Instructions for entering username",
"auth.setup.usernameStep.rememberUsernameNote": "Important note about remembering username",
"auth.setup.usernameStep.serverCommunicationError": "Error message for server communication issues",
@@ -463,8 +463,6 @@
"settings.securitySettings.enable2fa.twoFactorEnabledSuccess": "Success message when 2FA is enabled",
"settings.securitySettings.enable2fa.verificationCodePlaceholder": "Placeholder text for verification code input",
"settings.securitySettings.enable2fa.verifyAndEnableButton": "Button text to verify and enable 2FA",
- "settings.securitySettings.pageDescription": "Description for the security settings page",
- "settings.securitySettings.pageTitle": "Title for the security settings page",
"settings.securitySettings.passkeyUnlock.disableButton": "Button to disable passkey unlock",
"settings.securitySettings.passkeyUnlock.disabledDescription": "Description when passkey unlock is disabled",
"settings.securitySettings.passkeyUnlock.enableButton": "Button to enable passkey unlock",
@@ -546,7 +544,6 @@
"web.topMenu.enableDarkMode": "Button text for switching to dark theme",
"web.topMenu.enableLightMode": "Button text for switching to light theme",
"web.topMenu.logOut": "Button text for logging out",
- "web.topMenu.openMenuLabel": "Screen reader label for mobile menu button",
"web.welcome.createFirstIdentityButton": "Button text for creating first identity",
"web.welcome.extensionsAppsTipContent": "Content for browser extensions and mobile apps tip",
"web.welcome.extensionsAppsTipTitle": "Title for browser extensions and mobile apps tip",
diff --git a/core/i18n/locales/en.json b/core/i18n/locales/en.json
index e0cc32106..779dc69b0 100644
--- a/core/i18n/locales/en.json
+++ b/core/i18n/locales/en.json
@@ -420,8 +420,7 @@
},
"title": "Emails",
"to": "To:",
- "toColumn": "To",
- "updateClientForFormattedView": "This email requires a newer app version to display properly. Please update your app."
+ "toColumn": "To"
},
"fieldLabels": {
"alias": {
@@ -1177,7 +1176,6 @@
"clipboardLocalOnly": "Local Clipboard Only",
"clipboardLocalOnlyDescription": "Keep copied credentials on this device instead of syncing them to your other Apple devices via Universal Clipboard.",
"clipboardLocalOnlyDisabledWarning": "With this off, copied credentials can sync to your other Apple devices (Mac, iPad, etc.) through Universal Clipboard.",
- "clipboardSettings": "Clipboard Settings",
"contextMenuDescription": "Right-click on input fields to access AliasVault options",
"contextMenuSettings": "Context Menu Settings",
"copyTotpOnFill": "Copy TOTP code on autofill",
@@ -1417,8 +1415,6 @@
"verificationCodePlaceholder": "Enter verification code",
"verifyAndEnableButton": "Verify and Enable"
},
- "pageDescription": "Configure security settings.",
- "pageTitle": "Security settings",
"passkeyUnlock": {
"disableButton": "Disable Passkey Unlock",
"disabledDescription": "By default, reloading the AliasVault page or tab requires you to enter your master password again. With a passkey, you can unlock your vault instantly. When enabled, your master password is locally encrypted using the passkey's PRF extension. Note: the passkey will only work for the current device and browser that you enable it on.",
@@ -1640,8 +1636,7 @@
"mergingVault": "Merging vault changes...",
"savingChangesToVault": "Saving changes to vault",
"syncingUpdatedVault": "Syncing updated vault",
- "syncingVault": "Syncing vault",
- "uploadingVaultToServer": "Uploading vault to server"
+ "syncingVault": "Syncing vault"
},
"web": {
"footer": {
@@ -1655,8 +1650,7 @@
"betaLabel": "BETA",
"enableDarkMode": "Switch to dark mode",
"enableLightMode": "Switch to light mode",
- "logOut": "Log out",
- "openMenuLabel": "Open menu"
+ "logOut": "Log out"
},
"welcome": {
"createFirstIdentityButton": "Create Your First Identity",
diff --git a/core/models/src/webapi/EmailAttachment.ts b/core/models/src/webapi/EmailAttachment.ts
deleted file mode 100644
index 13a593546..000000000
--- a/core/models/src/webapi/EmailAttachment.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Email attachment type.
- */
-export type EmailAttachment = {
- /** The ID of the attachment */
- id: number;
-
- /** The ID of the email the attachment belongs to */
- emailId: number;
-
- /** The filename of the attachment */
- filename: string;
-
- /** The MIME type of the attachment */
- mimeType: string;
-
- /** The size of the attachment in bytes */
- filesize: number;
-}
\ No newline at end of file
diff --git a/core/models/src/webapi/index.ts b/core/models/src/webapi/index.ts
index a7db8b040..d318fd82e 100644
--- a/core/models/src/webapi/index.ts
+++ b/core/models/src/webapi/index.ts
@@ -13,7 +13,6 @@ export * from './Mailbox';
export * from './Inbox';
export * from './MailboxEmail';
export * from './Email';
-export * from './EmailAttachment';
export * from './EmailDecryptionKey';
export * from './AuthLog';
export * from './RefreshToken';