Closed
Bug 832636
Opened 12 years ago
Closed 11 years ago
ToolboxStyleEditor.tooltip=CSS Stylesheets Editor shouldn't duplicate 'Stylesheets'
Categories
(DevTools :: Style Editor, defect)
DevTools
Style Editor
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 27
People
(Reporter: aryx, Assigned: mjh563)
Details
(Whiteboard: [good first bug])
Attachments
(1 file, 4 obsolete files)
2.68 KB,
patch
|
paul
:
review+
|
Details | Diff | Splinter Review |
In browser/locales/en-US/chrome/browser/devtools/styleeditor.properties, there is
# LOCALIZATION NOTE (ToolboxStyleEditor.tooltip):
# This string is displayed in the tooltip of the tab when the debugger is
# displayed inside the developer tools window.
ToolboxStyleEditor.tooltip=CSS Stylesheets Editor
CSS is the abbreviation for 'Cascading Style Sheet[s]', so the current text should be altered to something like 'Editor for Stylesheets (CSS)'.
Also don't forget to update the entity id/name both in this file and where it gets called.
I have changed tool tip to the requested fix as per the bug report. This is my first go at this, so if ive done anything wrong, sorry in advance.
Jason
Attachment #704511 -
Flags: review?(dietrich)
Comment 2•12 years ago
|
||
Comment on attachment 704511 [details] [diff] [review]
patch to change tool tip to 'Editor for Stylesheets (CSS)'
> # LOCALIZATION NOTE (ToolboxStyleEditor.tooltip):
> # This string is displayed in the tooltip of the tab when the debugger is
> # displayed inside the developer tools window.
>-ToolboxStyleEditor.tooltip=CSS Stylesheets Editor
>+ToolboxStyleEditor.tooltip=Editor for Stylesheets (CSS)
Rename ToolboxStyleEditor.tooltip to ToolboxStyleEditor.tooltip2 (it's important for localizer
to change the value of the string).
Thanks!
Attachment #704511 -
Flags: review?(dietrich)
I have renamed ToolboxStyleEditor.tooltip to ToolboxStyleEditor.tooltip2 as you requested.
Cheers,
Jason
Attachment #704511 -
Attachment is obsolete: true
Attachment #704794 -
Flags: review?(paul)
Comment 4•12 years ago
|
||
The problem now is that there's still a reference to ToolboxStyleEditor.tooltip in the wild.
Go to http://mxr.mozilla.org/mozilla-central/ (a search engin for our source code), search for ToolboxStyleEditor.tooltip, you'll see that there is another occurrence to update.
And don't forget to update the comment too.
Updated•12 years ago
|
Attachment #704794 -
Flags: review?(paul)
OK, So I think I have done what you have asked for, This has been a great learning curve for me. I have checked for references toToolboxStyleEditor.tooltip in the wild and found the two references here:
/browser/devtools/framework/ToolDefinitions.jsm
line 135 -- tooltip: l10n("ToolboxStyleEditor.tooltip", styleEditorStrings),
/browser/locales/en-US/chrome/browser/devtools/styleeditor.properties (View Hg log or Hg annotations)
line 82 -- # LOCALIZATION NOTE (ToolboxStyleEditor.tooltip):
line 85 -- ToolboxStyleEditor.tooltip=CSS Stylesheets Editor
Attachment #704794 -
Attachment is obsolete: true
Attachment #705112 -
Flags: review?(paul)
I hope that this is the correct fix to this bug now.
Attachment #705112 -
Attachment is obsolete: true
Attachment #705112 -
Flags: review?(paul)
Attachment #706295 -
Flags: review?(paul)
Comment 7•12 years ago
|
||
Comment on attachment 706295 [details] [diff] [review]
Patch to change tool tip to 'Editor for Stylesheets (CSS)'
Works well. Can I ask you to just rename "Editor for Stylesheets (CSS)" to "Stylesheet Editor (CSS)"?
Once this is done, I will land this patch.
Attachment #706295 -
Flags: review?(paul) → review+
Comment 8•11 years ago
|
||
As for comment 7 it seems that your patch works well, only another minimal change is required before landing.
Are you still working on this? Do you need help?
There's been no reply from the previous contributor, so I assume they're no longer interested in working on this bug.
Assignee: nobody → mjh563
Attachment #706295 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #804919 -
Flags: review?(paul)
Updated•11 years ago
|
Attachment #804919 -
Flags: review?(paul) → review+
Keywords: checkin-needed
Comment 10•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [good first bug] → [good first bug][fixed-in-fx-team]
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][fixed-in-fx-team] → [good first bug]
Target Milestone: --- → Firefox 27
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•