Bug 1148543 - Remove the add-on author from the install confirmation doorhanger. r=dtownsend

This commit is contained in:
Dão Gottwald 2015-03-27 23:02:06 +01:00
parent 33db8e4d2f
commit d03b2ac839
2 changed files with 1 additions and 11 deletions

View File

@ -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 = () => {

View File

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