mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 23:07:31 +09:00
[Toolkit] Change button labels in password manager
This commit is contained in:
parent
55ac29aa10
commit
f26ad69a6c
4 changed files with 17 additions and 3 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -110,7 +110,6 @@
|
|||
label="&remove.label;" accesskey="&remove.accesskey;"
|
||||
oncommand="DeleteSignon();"/>
|
||||
<button id="removeAllSignons" icon="clear"
|
||||
label="&removeall.label;" accesskey="&removeall.accesskey;"
|
||||
oncommand="DeleteAllSignons();"/>
|
||||
<spacer flex="1"/>
|
||||
#if defined(MC_BASILISK) && defined(XP_WIN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue