From 9dc9ed9ba1fd48cefca94d6ff566acc8e708f6fe Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Fri, 14 Nov 2025 12:23:20 +0100 Subject: [PATCH] Cleanup translations --- .../entrypoints/popup/pages/settings/VaultUnlockSettings.tsx | 2 +- apps/browser-extension/src/i18n/locales/en.json | 1 - apps/browser-extension/src/utils/PinUnlockService.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/browser-extension/src/entrypoints/popup/pages/settings/VaultUnlockSettings.tsx b/apps/browser-extension/src/entrypoints/popup/pages/settings/VaultUnlockSettings.tsx index f140262e9..0d735e889 100644 --- a/apps/browser-extension/src/entrypoints/popup/pages/settings/VaultUnlockSettings.tsx +++ b/apps/browser-extension/src/entrypoints/popup/pages/settings/VaultUnlockSettings.tsx @@ -117,7 +117,7 @@ const VaultUnlockSettings: React.FC = () => { const encryptionKey = encryptionKeyResponse as string; if (!encryptionKey) { - setError(t('settings.unlockMethod.unlockVaultFirst')); + setError(t('common.errors.unknownErrorTryAgain')); hideLoading(); return; } diff --git a/apps/browser-extension/src/i18n/locales/en.json b/apps/browser-extension/src/i18n/locales/en.json index d72659f45..d16a3c9d8 100644 --- a/apps/browser-extension/src/i18n/locales/en.json +++ b/apps/browser-extension/src/i18n/locales/en.json @@ -363,7 +363,6 @@ "incorrectPinSingular": "Incorrect PIN. 1 attempt remaining.", "enableSuccess": "PIN unlock enabled successfully!", "pinLocked": "PIN unlock has been disabled. Please use your master password to unlock your vault.", - "unlockVaultFirst": "Please unlock your vault first before setting up PIN.", "pinSecurityWarning": "PIN unlock in the browser extension can be less secure than your master password, as PINs typically have lower entropy and may be brute-forced if your device is compromised. Use it only on devices you fully trust." } }, diff --git a/apps/browser-extension/src/utils/PinUnlockService.ts b/apps/browser-extension/src/utils/PinUnlockService.ts index 55da35ee4..109ea12bf 100644 --- a/apps/browser-extension/src/utils/PinUnlockService.ts +++ b/apps/browser-extension/src/utils/PinUnlockService.ts @@ -84,7 +84,6 @@ export class IncorrectPinError extends Error { /** * Error thrown when encryption key is not available for PIN setup. - * Translation key: settings.unlockMethod.unlockVaultFirst */ export class EncryptionKeyNotAvailableError extends Error { /**