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)
DevTools
about:debugging
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 | ||
Updated•10 years ago
|
Assignee: nobody → kumar.mcmillan
| Assignee | ||
Comment 1•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/39687/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/39687/
Attachment #8730143 -
Flags: review?(poirot.alex)
Comment 2•10 years ago
|
||
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+
| Assignee | ||
Comment 3•10 years ago
|
||
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
| Assignee | ||
Comment 4•10 years ago
|
||
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/
| Assignee | ||
Comment 5•10 years ago
|
||
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.
| Assignee | ||
Comment 6•10 years ago
|
||
https://reviewboard.mozilla.org/r/39685/#review36383
I've made the small changes requested
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 8•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•