[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:
parent
71913a5eb5
commit
aa8fe04a28
|
@ -94,11 +94,11 @@
|
||||||
"noMatchingLogins": {
|
"noMatchingLogins": {
|
||||||
"message": "No matching logins."
|
"message": "No matching logins."
|
||||||
},
|
},
|
||||||
"vaultLocked": {
|
"unlockVaultMenu": {
|
||||||
"message": "Vault is locked."
|
"message": "Unlock your vault"
|
||||||
},
|
},
|
||||||
"vaultLoggedOut": {
|
"loginToVaultMenu": {
|
||||||
"message": "Vault is logged out."
|
"message": "Log in to your vault"
|
||||||
},
|
},
|
||||||
"autoFillInfo": {
|
"autoFillInfo": {
|
||||||
"message": "There are no logins available to auto-fill for the current browser tab."
|
"message": "There are no logins available to auto-fill for the current browser tab."
|
||||||
|
|
|
@ -751,7 +751,7 @@ export default class MainBackground {
|
||||||
if (contextMenuEnabled) {
|
if (contextMenuEnabled) {
|
||||||
const authed = await this.userService.isAuthenticated();
|
const authed = await this.userService.isAuthenticated();
|
||||||
await this.loadNoLoginsContextMenuOptions(
|
await this.loadNoLoginsContextMenuOptions(
|
||||||
this.i18nService.t(authed ? "vaultLocked" : "vaultLoggedOut")
|
this.i18nService.t(authed ? "unlockVaultMenu" : "loginToVaultMenu")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue