Closed Bug 775692 Opened 12 years ago Closed 12 years ago

Rename rule.inheritedSource

Categories

(DevTools :: Inspector, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 17

People

(Reporter: paul, Assigned: harth)

Details

Attachments

(1 file)

As per comment: bug 712469 comment 73, we should rename rule.inheritedSource because its content has changed.

(In reply to Francesco Lodolo [:flod] from bug 712469 comment #73)
> -# e.g "Inherited from body#bodyID (styles.css:20)"
> -rule.inheritedSource=Inherited from %S (%S)
> +# e.g "Inherited from body#bodyID"
> +rule.inheritedSource=Inherited from %S
> 
> I know I should probably open a new bug for this, but:
> 
> a) don't change a string like this (removing a variable) without changing
> its name as well
> b) you should update its l10n comment (last line)
> 
> # LOCALIZATION NOTE (rule.inheritedSource): Shown for CSS rules
> # that were inherited from a parent node.  Will be passed a node
> # identifier and a source location.
Attached patch rename stringSplinter Review
rename to "rule.inheritedFrom"
Assignee: nobody → fayearthur
Attachment #644019 - Flags: review?(paul)
Comment on attachment 644019 [details] [diff] [review]
rename string

r+

You didn't have to change the name. You could have changed it to rule.inheritedSource2.

Up to you.
Attachment #644019 - Flags: review?(paul) → review+
https://hg.mozilla.org/mozilla-central/rev/1b756e58e59a
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 17
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: