1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00

[SG-590] Missing error messages (#3514)

* added removed locale keys on clients

* resolved comments
This commit is contained in:
Gbubemi Smith 2022-09-15 18:02:01 +01:00 committed by GitHub
parent ed78f7e7cb
commit 734f052faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 10 deletions

View File

@ -81,7 +81,7 @@ export class ResetPasswordComponent implements OnInit {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassRequired")
this.i18nService.t("masterPasswordRequired")
);
return false;
}
@ -90,7 +90,7 @@ export class ResetPasswordComponent implements OnInit {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassLength")
this.i18nService.t("masterPasswordMinlength")
);
return false;
}

View File

@ -139,7 +139,7 @@ export class ChangePasswordComponent extends BaseChangePasswordComponent {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassRequired")
this.i18nService.t("masterPasswordRequired")
);
return false;
}

View File

@ -45,7 +45,7 @@ export class UpdateKeyComponent {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassRequired")
this.i18nService.t("masterPasswordRequired")
);
return;
}

View File

@ -97,7 +97,7 @@ export class ChangePasswordComponent implements OnInit {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassRequired")
this.i18nService.t("masterPasswordRequired")
);
return false;
}
@ -105,7 +105,7 @@ export class ChangePasswordComponent implements OnInit {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassLength")
this.i18nService.t("masterPasswordMinlength")
);
return false;
}

View File

@ -180,7 +180,7 @@ export class LockComponent implements OnInit, OnDestroy {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassRequired")
this.i18nService.t("masterPasswordRequired")
);
return;
}

View File

@ -91,7 +91,7 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassRequired")
this.i18nService.t("masterPasswordRequired")
);
return;
}

View File

@ -69,7 +69,7 @@ export class UpdatePasswordComponent extends BaseChangePasswordComponent {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("masterPassRequired")
this.i18nService.t("masterPasswordRequired")
);
return false;
}

View File

@ -81,7 +81,7 @@ export class UserVerificationService implements UserVerificationServiceAbstracti
if (verification.type === VerificationType.OTP) {
throw new Error(this.i18nService.t("verificationCodeRequired"));
} else {
throw new Error(this.i18nService.t("masterPassRequired"));
throw new Error(this.i18nService.t("masterPasswordRequired"));
}
}
}