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');
break;
case 3:
this.color = 'bg-warning';
this.text = this.i18nService.t('ok');
this.color = 'bg-primary';
this.text = this.i18nService.t('good');
break;
case 2:
this.color = 'bg-warning';

View File

@ -2515,16 +2515,20 @@
},
"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": {
"message": "Weak",
"description": "ex. Weak password"
"description": "ex. A weak password. Scale: Weak -> Good -> Strong"
},
"weakMasterPassword": {
"message": "Weak Master Password"
},
"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?"
}
}