Closed
Bug 919706
Opened 11 years ago
Closed 11 years ago
Localize search/replace UI
Categories
(DevTools :: Source Editor, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 27
People
(Reporter: anton, Assigned: anton)
References
Details
Attachments
(1 file)
2.58 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
This is a followup for bug 912260.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → anton
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 1•11 years ago
|
||
Made search UI localizable and re-used an existing string. Didn't do anything to the replace UI because we don't expose it for now *and* I will probably rewrite the search addon in bug 912260. But this patch should get us out of the door in terms of l10n strings for the upcoming merge.
Attachment #821277 -
Flags: review?(rcampbell)
Comment 2•11 years ago
|
||
Comment on attachment 821277 [details] [diff] [review] WIP 1 Review of attachment 821277 [details] [diff] [review]: ----------------------------------------------------------------- my only concern is how do we make sure we don't lose this when we update CodeMirror? ::: browser/devtools/sourceeditor/codemirror/search/search.js @@ +49,4 @@ > function doSearch(cm, rev) { > + if (!queryDialog) { > + queryDialog = cm.l10n('findCmd.promptMessage') + > + ' <input type="text" style="width: 10em"/>'; reusing the existing label here. Good. Not sure about the lazy initialization, but ok.
Attachment #821277 -
Flags: review?(rcampbell) → review+
Assignee | ||
Comment 3•11 years ago
|
||
> my only concern is how do we make sure we don't lose this when we update CodeMirror?
That's why I updated the upgrade section in the README. I don't think there are other solutions since strings are hard-coded.
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/684d1c36eace
Whiteboard: [fixed-in-fx-team]
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/684d1c36eace
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
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
•