mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Rename retrieve credentials button
This commit is contained in:
parent
855ac20ed5
commit
bf0291459a
7 changed files with 13 additions and 9 deletions
4
dist/manifest_chromium.json
vendored
4
dist/manifest_chromium.json
vendored
|
|
@ -118,8 +118,8 @@
|
|||
"choose_credential_fields": {
|
||||
"description": "__MSG_popupChooseCredentialsText__"
|
||||
},
|
||||
"retrive_credentials_forced": {
|
||||
"description": "__MSG_popupReopenButton__"
|
||||
"retrieve_credentials_forced": {
|
||||
"description": "__MSG_credentialsRetrieveButton__"
|
||||
},
|
||||
"request_autotype": {
|
||||
"description": "__MSG_contextMenuRequestGlobalAutoType__"
|
||||
|
|
|
|||
4
dist/manifest_firefox.json
vendored
4
dist/manifest_firefox.json
vendored
|
|
@ -131,8 +131,8 @@
|
|||
"choose_credential_fields": {
|
||||
"description": "__MSG_popupChooseCredentialsText__"
|
||||
},
|
||||
"retrive_credentials_forced": {
|
||||
"description": "__MSG_popupReopenButton__"
|
||||
"retrieve_credentials_forced": {
|
||||
"description": "__MSG_credentialsRetrieveButton__"
|
||||
},
|
||||
"request_autotype": {
|
||||
"description": "__MSG_contextMenuRequestGlobalAutoType__"
|
||||
|
|
|
|||
|
|
@ -406,6 +406,10 @@
|
|||
"message": "Expired",
|
||||
"description": "If a credential is expired, this is appended to the title label."
|
||||
},
|
||||
"credentialsRetrieveButton": {
|
||||
"message": "Retrieve credentials",
|
||||
"description": "Manual retrieve credentials button text."
|
||||
},
|
||||
"fieldsFill": {
|
||||
"message": "Error: Cannot find fields to fill in.",
|
||||
"description": "Alert message when no fields are found to fill in."
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ const initListeners = async function() {
|
|||
if (contextMenuItems.some(e => e.action === command)
|
||||
|| command === 'redetect_fields'
|
||||
|| command === 'choose_credential_fields'
|
||||
|| command === 'retrive_credentials_forced'
|
||||
|| command === 'retrieve_credentials_forced'
|
||||
|| command === 'reopen_database'
|
||||
|| command === 'reload_extension') {
|
||||
const tab = await getCurrentTab();
|
||||
|
|
|
|||
|
|
@ -962,7 +962,7 @@ browser.runtime.onMessage.addListener(async function(req, sender) {
|
|||
);
|
||||
} else if (req.action === 'save_credentials') {
|
||||
kpxc.rememberCredentialsFromContextMenu();
|
||||
} else if (req.action === 'retrive_credentials_forced') {
|
||||
} else if (req.action === 'retrieve_credentials_forced') {
|
||||
await kpxc.retrieveCredentials(true);
|
||||
} else if (req.action === 'show_password_generator') {
|
||||
kpxcPasswordGenerator.showPasswordGenerator();
|
||||
|
|
|
|||
|
|
@ -118,8 +118,8 @@
|
|||
"choose_credential_fields": {
|
||||
"description": "__MSG_popupChooseCredentialsText__"
|
||||
},
|
||||
"retrive_credentials_forced": {
|
||||
"description": "__MSG_popupReopenButton__"
|
||||
"retrieve_credentials_forced": {
|
||||
"description": "__MSG_credentialsRetrieveButton__"
|
||||
},
|
||||
"request_autotype": {
|
||||
"description": "__MSG_contextMenuRequestGlobalAutoType__"
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ const sendMessageToTab = async function(message) {
|
|||
});
|
||||
|
||||
// This does not work with Firefox because of https://bugzilla.mozilla.org/show_bug.cgi?id=1665380
|
||||
await sendMessageToTab('retrive_credentials_forced');
|
||||
await sendMessageToTab('retrieve_credentials_forced');
|
||||
close();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue