Closed Bug 1314599 Opened 8 years ago Closed 8 years ago

Update the new debugger's L10N support

Categories

(DevTools :: Debugger, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jlast, Assigned: jlast)

Details

Attachments

(1 file, 1 obsolete file)

This does two things: 1. passes L10N into the debugger's bootstrap function 2. switches to multilocalization so that the sourceeditor properties can also be used. We need them so that we can localize shortcuts such as findNext. I don't think we want to add these properties to the debugger properties file because that could trigger a re-translation.
Assignee: nobody → jlaster
Priority: -- → P1
Attached patch update-l10n.patch (obsolete) — Splinter Review
Attachment #8806708 - Flags: review?(jlong)
Comment on attachment 8806708 [details] [diff] [review] update-l10n.patch Review of attachment 8806708 [details] [diff] [review]: ----------------------------------------------------------------- ::: devtools/client/debugger/new/panel.js @@ +8,5 @@ > + > +var L10N = new MultiLocalizationHelper( > + "devtools/locale/debugger.properties", > + "devtools/locale/sourceeditor.properties", > +); Awesome, this looks like a good step. What do you think about moving this into `DebuggerPanel.prototype.open` ? That way we're not loading and parsing the strings when the toolbox opens, but only when the debugger is actually loaded. Since we can't use L10N before we call `bootstrap` anyway, that should work.
Attachment #8806708 - Attachment is obsolete: true
Attachment #8806708 - Flags: review?(jlong)
Attachment #8808332 - Flags: review?(jlong)
Comment on attachment 8808332 [details] [diff] [review] update-l10n2.patch Review of attachment 8808332 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8808332 - Flags: review?(jlong) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: