mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1256246 - Improve prompt for loading an add-on from directory. r=ochameau
MozReview-Commit-ID: oVBrMvK3nQ --HG-- extra : rebase_source : 62bf333451a249bff1f023c1fea794f93c7fbad4
This commit is contained in:
parent
594bd365d3
commit
967430b3e2
@ -60,7 +60,7 @@ module.exports = createClass({
|
||||
loadAddonFromFile() {
|
||||
let fp = Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker);
|
||||
fp.init(window,
|
||||
Strings.GetStringFromName("selectAddonFromFile"),
|
||||
Strings.GetStringFromName("selectAddonFromFile2"),
|
||||
Ci.nsIFilePicker.modeOpen);
|
||||
let res = fp.show();
|
||||
if (res == Ci.nsIFilePicker.returnCancel || !fp.file) {
|
||||
|
@ -12,7 +12,7 @@ addonDebugging.tooltip = Turning this on will allow you to debug add-ons and var
|
||||
addonDebugging.moreInfo = more info
|
||||
loadTemporaryAddon = Load Temporary Add-on
|
||||
extensions = Extensions
|
||||
selectAddonFromFile = Select Add-on Directory or XPI File
|
||||
selectAddonFromFile2 = Select Manifest File or Package (.xpi)
|
||||
|
||||
workers = Workers
|
||||
serviceWorkers = Service Workers
|
||||
|
Loading…
Reference in New Issue
Block a user