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:
Kumar McMillan 2016-03-14 15:23:44 +01:00
parent 594bd365d3
commit 967430b3e2
2 changed files with 2 additions and 2 deletions

View File

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

View 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