1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00

adjust password strength meter

This commit is contained in:
Kyle Spearrin
2018-11-13 09:10:44 -05:00
parent 912e1cf89f
commit 4231ed74ba
2 changed files with 9 additions and 5 deletions

View File

@@ -28,8 +28,8 @@ export class PasswordStrengthComponent implements OnChanges {
this.text = this.i18nService.t('strong'); this.text = this.i18nService.t('strong');
break; break;
case 3: case 3:
this.color = 'bg-warning'; this.color = 'bg-primary';
this.text = this.i18nService.t('ok'); this.text = this.i18nService.t('good');
break; break;
case 2: case 2:
this.color = 'bg-warning'; this.color = 'bg-warning';

View File

@@ -2515,16 +2515,20 @@
}, },
"strong": { "strong": {
"message": "Strong", "message": "Strong",
"description": "ex. Strong password" "description": "ex. A strong password. Scale: Weak -> Good -> Strong"
},
"good": {
"message": "Good",
"description": "ex. A good password. Scale: Weak -> Good -> Strong"
}, },
"weak": { "weak": {
"message": "Weak", "message": "Weak",
"description": "ex. Weak password" "description": "ex. A weak password. Scale: Weak -> Good -> Strong"
}, },
"weakMasterPassword": { "weakMasterPassword": {
"message": "Weak Master Password" "message": "Weak Master Password"
}, },
"weakMasterPasswordDesc": { "weakMasterPasswordDesc": {
"message": "The master password you have chosen is weak. You should use a strong master password to properly protect your Bitwarden account. Are you sure you want to use this master password?" "message": "The master password you have chosen is weak. You should use a strong master password (or a passphrase) to properly protect your Bitwarden account. Are you sure you want to use this master password?"
} }
} }