[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": { "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."

View File

@ -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")
); );
} }