mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1337870 Skip truncation of addon names r=mossop
MozReview-Commit-ID: 9v4yJPvpT2R --HG-- extra : rebase_source : 70ef154c0d5687025147486a8b52e9bcdaacaef7
This commit is contained in:
parent
7e1638ed14
commit
adfb075512
@ -192,11 +192,7 @@ this.ExtensionsUI = {
|
||||
|
||||
let bundle = Services.strings.createBundle(BROWSER_PROPERTIES);
|
||||
|
||||
let name = info.addon.name;
|
||||
if (name.length > 50) {
|
||||
name = name.slice(0, 49) + "…";
|
||||
}
|
||||
name = this._sanitizeName(name);
|
||||
let name = this._sanitizeName(info.addon.name);
|
||||
let addonName = `<span class="addon-webext-name">${name}</span>`;
|
||||
|
||||
result.header = bundle.formatStringFromName("webextPerms.header", [addonName], 1);
|
||||
|
Loading…
Reference in New Issue
Block a user