Cleanup translations

This commit is contained in:
Leendert de Borst
2025-11-14 12:23:20 +01:00
parent 686ea56556
commit 9dc9ed9ba1
3 changed files with 1 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -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."
}
},

View File

@@ -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 {
/**