mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1148543 - Remove the add-on author from the install confirmation doorhanger. r=dtownsend
This commit is contained in:
parent
9d4be38756
commit
e758e46529
@ -179,17 +179,10 @@ const gXPInstallObserver = {
|
||||
addonList.firstChild.remove();
|
||||
|
||||
for (let install of installInfo.installs) {
|
||||
let container = document.createElement("hbox");
|
||||
let name = document.createElement("label");
|
||||
let author = document.createElement("label");
|
||||
name.setAttribute("value", install.addon.name);
|
||||
author.setAttribute("value", !install.addon.creator ? "" :
|
||||
gNavigatorBundle.getFormattedString("addonConfirmInstall.author", [install.addon.creator]));
|
||||
name.setAttribute("class", "addon-install-confirmation-name");
|
||||
author.setAttribute("class", "addon-install-confirmation-author");
|
||||
container.appendChild(name);
|
||||
container.appendChild(author);
|
||||
addonList.appendChild(container);
|
||||
addonList.appendChild(name);
|
||||
}
|
||||
|
||||
this.acceptInstallation = () => {
|
||||
|
@ -48,9 +48,6 @@ addonInstall.acceptButton.accesskey=I
|
||||
# #1 is brandShortName
|
||||
# #2 is the number of add-ons being installed
|
||||
addonConfirmInstall.message=This site would like to install an add-on in #1:;This site would like to install #2 add-ons in #1:
|
||||
# LOCALIZATION NOTE (addonConfirmInstall.author):
|
||||
# %S is the add-on author's name
|
||||
addonConfirmInstall.author=by %S
|
||||
|
||||
addonwatch.slow=%1$S might be making %2$S run slowly
|
||||
addonwatch.disable.label=Disable %S
|
||||
|
Loading…
Reference in New Issue
Block a user