From 6bb319ce86df1bd2d46d09c2af77cfabaef972b3 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Wed, 20 Jun 2018 14:19:36 +0300 Subject: [PATCH] Rename Specified credential fields to Custom credential fields --- keepassxc-browser/keepassxc-browser.js | 16 +++---- keepassxc-browser/options/options.html | 22 ++++----- keepassxc-browser/options/options.js | 46 +++++++++---------- keepassxc-browser/popups/popup.html | 2 +- keepassxc-browser/popups/popup_httpauth.html | 2 +- keepassxc-browser/popups/popup_login.html | 2 +- .../popups/popup_multiple-fields.html | 2 +- 7 files changed, 46 insertions(+), 46 deletions(-) diff --git a/keepassxc-browser/keepassxc-browser.js b/keepassxc-browser/keepassxc-browser.js index f2354f4..22cf2fa 100755 --- a/keepassxc-browser/keepassxc-browser.js +++ b/keepassxc-browser/keepassxc-browser.js @@ -620,8 +620,8 @@ cipDefine.initDescription = function() { .addClass('btn').addClass('btn-primary') .css('margin-right', '15px') .click(function(e) { - if (!cip.settings['defined-credential-fields']) { - cip.settings['defined-credential-fields'] = {}; + if (!cip.settings['defined-custom-fields']) { + cip.settings['defined-custom-fields'] = {}; } if (cipDefine.selection.username) { @@ -639,7 +639,7 @@ cipDefine.initDescription = function() { } const location = cip.getDocumentLocation(); - cip.settings['defined-credential-fields'][location] = { + cip.settings['defined-custom-fields'][location] = { username: cipDefine.selection.username, password: cipDefine.selection.password, fields: fieldIds @@ -660,7 +660,7 @@ cipDefine.initDescription = function() { $description.append($btnDismiss); const location = cip.getDocumentLocation(); - if (cip.settings['defined-credential-fields'] && cip.settings['defined-credential-fields'][location]) { + if (cip.settings['defined-custom-fields'] && cip.settings['defined-custom-fields'][location]) { const $p = jQuery('

').html('For this page credential fields are already selected and will be overwritten.
'); const $btnDiscard = jQuery(' -

Remove specified credential fields?

+

Remove saved custom credential fields?