Browse Source

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

* Change menu items for unauthed and locked vault

* Use 'Log in' instead of 'Login'
pull/2293/head
Daniel James Smith 4 months ago
committed by GitHub
parent
commit
aa8fe04a28
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/_locales/en/messages.json
  2. 2
      src/background/main.background.ts

8
src/_locales/en/messages.json

@ -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."

2
src/background/main.background.ts

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

Loading…
Cancel
Save