Closed Bug 1256246 Opened 10 years ago Closed 10 years ago

Change prompt for selecting a directory when loading a temporary add-on

Categories

(DevTools :: about:debugging, defect)

defect
Not set
normal

Tracking

(firefox48 fixed)

RESOLVED FIXED
Firefox 48
Tracking Status
firefox48 --- fixed

People

(Reporter: kumar, Assigned: kumar)

References

Details

Attachments

(1 file)

As a quick workaround to bug 1249315, explain how you have to select a file (not a directory) in the load temporary add-on picker. Maybe changing https://mxr.mozilla.org/mozilla-central/source/devtools/client/locales/en-US/aboutdebugging.properties#8 to say "Select manifest.json or XPI File" would make it easier for the user.
Assignee: nobody → kumar.mcmillan
Comment on attachment 8730143 [details] MozReview Request: bug 1256246 - Improve prompt for loading an add-on from directory. r?ochameau https://reviewboard.mozilla.org/r/39687/#review36363 ::: devtools/client/locales/en-US/aboutdebugging.properties:15 (Diff revision 1) > addonDebugging.label = Enable add-on debugging > addonDebugging.tooltip = Turning this on will allow you to debug add-ons and various other parts of the browser chrome > addonDebugging.moreInfo = more info > loadTemporaryAddon = Load Temporary Add-on > extensions = Extensions > -selectAddonFromFile = Select Add-on Directory or XPI File > +selectAddonFromFile = Select Manifest File or XPI File Ok, so we still have to do this. Change the property key name if we update the value... https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Changing_existing_strings So please use selectAddonFromFile2 and update that in code here: http://mxr.mozilla.org/mozilla-central/source/devtools/client/aboutdebugging/components/addons-controls.js#63 Wouldn't it be better to phrase it to: Select Manifest or XPI File Also, is XPI File that clear? Select Manifest File or Package (.xpi)
Attachment #8730143 - Flags: review?(poirot.alex) → review+
Comment on attachment 8730143 [details] MozReview Request: bug 1256246 - Improve prompt for loading an add-on from directory. r?ochameau Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39687/diff/1-2/
Attachment #8730143 - Attachment description: MozReview Request: bug 1256246 Improve prompt for loading an add-on from directory r?ochameau → MozReview Request: bug 1256246 - Improve prompt for loading an add-on from directory. r?ochameau
Comment on attachment 8730143 [details] MozReview Request: bug 1256246 - Improve prompt for loading an add-on from directory. r?ochameau Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39687/diff/2-3/
https://reviewboard.mozilla.org/r/39687/#review36363 > Ok, so we still have to do this. Change the property key name if we update the value... > https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Changing_existing_strings > > So please use selectAddonFromFile2 and update that in code here: > http://mxr.mozilla.org/mozilla-central/source/devtools/client/aboutdebugging/components/addons-controls.js#63 > > Wouldn't it be better to phrase it to: > Select Manifest or XPI File > > Also, is XPI File that clear? > Select Manifest File or Package (.xpi) yes, I like this one the best, 'Select Manifest File or Package (.xpi)', because it is clear that the manifest is a file and that the package is a .xpi file.
https://reviewboard.mozilla.org/r/39685/#review36383 I've made the small changes requested
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: