[UX] Change menu items for unauthed and locked vault (#2285)

* Change menu items for unauthed and locked vault

* Use 'Log in' instead of 'Login'
This commit is contained in:
Daniel James Smith 2022-01-25 08:17:01 +01:00 committed by GitHub
parent 71913a5eb5
commit aa8fe04a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -94,11 +94,11 @@
"noMatchingLogins": {
"message": "No matching logins."
},
"vaultLocked": {
"message": "Vault is locked."
"unlockVaultMenu": {
"message": "Unlock your vault"
},
"vaultLoggedOut": {
"message": "Vault is logged out."
"loginToVaultMenu": {
"message": "Log in to your vault"
},
"autoFillInfo": {
"message": "There are no logins available to auto-fill for the current browser tab."

View File

@ -751,7 +751,7 @@ export default class MainBackground {
if (contextMenuEnabled) {
const authed = await this.userService.isAuthenticated();
await this.loadNoLoginsContextMenuOptions(
this.i18nService.t(authed ? "vaultLocked" : "vaultLoggedOut")
this.i18nService.t(authed ? "unlockVaultMenu" : "loginToVaultMenu")
);
}