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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
5 deletions
-
src/_locales/en/messages.json
-
src/background/main.background.ts
|
|
@ -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." |
|
|
|
|
|
@ -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") |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|