mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-19 13:57:18 -04:00
Cleanup translations
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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 {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user