diff --git a/dist/manifest_chromium.json b/dist/manifest_chromium.json index e0448be..0b63e20 100755 --- a/dist/manifest_chromium.json +++ b/dist/manifest_chromium.json @@ -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__" diff --git a/dist/manifest_firefox.json b/dist/manifest_firefox.json index d4f8d4a..caab4fa 100644 --- a/dist/manifest_firefox.json +++ b/dist/manifest_firefox.json @@ -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__" diff --git a/keepassxc-browser/_locales/en/messages.json b/keepassxc-browser/_locales/en/messages.json index 41a9d52..e9763ed 100644 --- a/keepassxc-browser/_locales/en/messages.json +++ b/keepassxc-browser/_locales/en/messages.json @@ -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." diff --git a/keepassxc-browser/background/init.js b/keepassxc-browser/background/init.js index 050bfe7..bafb6e4 100644 --- a/keepassxc-browser/background/init.js +++ b/keepassxc-browser/background/init.js @@ -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(); diff --git a/keepassxc-browser/content/keepassxc-browser.js b/keepassxc-browser/content/keepassxc-browser.js index f7ea8be..472b437 100755 --- a/keepassxc-browser/content/keepassxc-browser.js +++ b/keepassxc-browser/content/keepassxc-browser.js @@ -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(); diff --git a/keepassxc-browser/manifest.json b/keepassxc-browser/manifest.json index e0448be..0b63e20 100755 --- a/keepassxc-browser/manifest.json +++ b/keepassxc-browser/manifest.json @@ -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__" diff --git a/keepassxc-browser/popups/popup.js b/keepassxc-browser/popups/popup.js index 2823284..7bd02f2 100644 --- a/keepassxc-browser/popups/popup.js +++ b/keepassxc-browser/popups/popup.js @@ -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(); });