Closed
Bug 1314599
Opened 8 years ago
Closed 8 years ago
Update the new debugger's L10N support
Categories
(DevTools :: Debugger, defect, P1)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jlast, Assigned: jlast)
Details
Attachments
(1 file, 1 obsolete file)
1.65 KB,
patch
|
jlong
:
review+
|
Details | Diff | Splinter Review |
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 | ||
Updated•8 years ago
|
Assignee: nobody → jlaster
Priority: -- → P1
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8806708 -
Flags: review?(jlong)
Comment 2•8 years ago
|
||
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.
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8806708 -
Attachment is obsolete: true
Attachment #8806708 -
Flags: review?(jlong)
Attachment #8808332 -
Flags: review?(jlong)
Assignee | ||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment on attachment 8808332 [details] [diff] [review]
update-l10n2.patch
Review of attachment 8808332 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8808332 -
Flags: review?(jlong) → review+
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•