summaryrefslogtreecommitdiffstats
path: root/toolkit/components/passwordmgr/content/passwordManager.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 21:47:05 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 21:47:05 +0200
commit6a57baf7067e3e2f463f3da399875a7e1169b1c4 (patch)
tree69c0a0734224e0b06b8b71cda06623d37218390c /toolkit/components/passwordmgr/content/passwordManager.js
parent1d18a1e8ef5aba0458576f6974f844afd6f2c8f6 (diff)
parent9a97c58feb8f14bb8be720e2cac5db017b4523d3 (diff)
downloadUXP-6a57baf7067e3e2f463f3da399875a7e1169b1c4.tar
UXP-6a57baf7067e3e2f463f3da399875a7e1169b1c4.tar.gz
UXP-6a57baf7067e3e2f463f3da399875a7e1169b1c4.tar.lz
UXP-6a57baf7067e3e2f463f3da399875a7e1169b1c4.tar.xz
UXP-6a57baf7067e3e2f463f3da399875a7e1169b1c4.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_permissions_1
Diffstat (limited to 'toolkit/components/passwordmgr/content/passwordManager.js')
-rw-r--r--toolkit/components/passwordmgr/content/passwordManager.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolkit/components/passwordmgr/content/passwordManager.js b/toolkit/components/passwordmgr/content/passwordManager.js
index 3fccb5d30..da63d7de8 100644
--- a/toolkit/components/passwordmgr/content/passwordManager.js
+++ b/toolkit/components/passwordmgr/content/passwordManager.js
@@ -80,6 +80,8 @@ function Startup() {
togglePasswordsButton.label = kSignonBundle.getString("showPasswords");
togglePasswordsButton.accessKey = kSignonBundle.getString("showPasswordsAccessKey");
signonsIntro.textContent = kSignonBundle.getString("loginsDescriptionAll");
+ removeAllButton.setAttribute("label", kSignonBundle.getString("removeAll.label"));
+ removeAllButton.setAttribute("accesskey", kSignonBundle.getString("removeAll.accesskey"));
document.getElementsByTagName("treecols")[0].addEventListener("click", (event) => {
let { target, button } = event;
let sortField = target.getAttribute("data-field-name");
@@ -555,6 +557,8 @@ function SignonClearFilter() {
signonsTreeView._lastSelectedRanges = [];
signonsIntro.textContent = kSignonBundle.getString("loginsDescriptionAll");
+ removeAllButton.setAttribute("label", kSignonBundle.getString("removeAll.label"));
+ removeAllButton.setAttribute("accesskey", kSignonBundle.getString("removeAll.accesskey"));
}
function FocusFilterBox() {
@@ -623,6 +627,8 @@ function FilterPasswords() {
signonsTreeView.selection.select(0);
signonsIntro.textContent = kSignonBundle.getString("loginsDescriptionFiltered");
+ removeAllButton.setAttribute("label", kSignonBundle.getString("removeAllShown.label"));
+ removeAllButton.setAttribute("accesskey", kSignonBundle.getString("removeAllShown.accesskey"));
}
function CopyPassword() {