Rename retrieve credentials button

This commit is contained in:
Aleksandr Kolbasov 2025-11-22 22:58:05 +03:00
parent 855ac20ed5
commit bf0291459a
7 changed files with 13 additions and 9 deletions

View file

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

View file

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

View file

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

View file

@ -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();

View file

@ -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();

View file

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

View file

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