Closed
Bug 824243
Opened 11 years ago
Closed 11 years ago
Profiler is not localizable
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 21
People
(Reporter: u60234, Assigned: anton)
References
Details
(Keywords: l12y)
Attachments
(1 file, 1 obsolete file)
13.83 KB,
patch
|
anton
:
review+
|
Details | Diff | Splinter Review |
The new Profiler tool that landed in bug 795268 has its UI hard-coded in English. The only thing that is localizable is the tab in the developer tools window and the item in Firefox's Developer Tools menu.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → anton
Assignee | ||
Comment 2•11 years ago
|
||
Made all UI (incl. Cleopatra) strings localizable. Not that for Cleopatra I updated only those strings that are used in our Profiler.
Attachment #707880 -
Flags: review?(rcampbell)
Assignee | ||
Comment 3•11 years ago
|
||
s/Not that/Note that/
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 4•11 years ago
|
||
Comment on attachment 707880 [details] [diff] [review] Make Profiler UI localizable Review of attachment 707880 [details] [diff] [review]: ----------------------------------------------------------------- This looks fine, although it totally breaks cleopatra out from the original repo. We're a total fork now. I guess this means we can seriously consider making it themeable as bug 823026 suggests. ::: browser/devtools/profiler/profiler.xul @@ +12,5 @@ > > +<!DOCTYPE window [ > +<!ENTITY % profilerDTD SYSTEM "chrome://browser/locale/devtools/profiler.dtd"> > + %profilerDTD; > +]> ok! ::: browser/locales/en-US/chrome/browser/devtools/profiler.properties @@ +52,5 @@ > +profiler.startProfiling=Click here %S to start profiling > + > +# LOCALIZATION NOTE (profiler.stopProfiling) > +# This string is displayed around the button that stops the profiler. > +profiler.stopProfiling = Click here %S to stop profiling do these need string arguments? If so you should explain what they are.
Attachment #707880 -
Flags: review?(rcampbell) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Added additional comments explaining string arguments for startProfiling and stopProfiling strings.
Attachment #707880 -
Attachment is obsolete: true
Attachment #708703 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/44772e261a55
Assignee | ||
Comment 7•11 years ago
|
||
Rob, my plan is to push strings.js (although modified) upstream. Then all we will need to modify is strings.js which makes it easier to pull changes from upstream.
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/44772e261a55
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 21
Comment 9•11 years ago
|
||
Can someone explain what "self" is expected to mean? I'm trying the profiler but I'm not sure about it. I would also say that the strings displayed between the moment you stop the profiler and the graph is displayed are still hardcoded(processing working request..., finished and a couple others before these).
Assignee | ||
Comment 10•11 years ago
|
||
"Self" is how much time was spent doing work directly in that function. As opposed to the total time which is how much time was spent in that function and in functions it called. As for progress strings I was thinking about removing them at all (or replacing with "Loading...").
Assignee | ||
Comment 11•11 years ago
|
||
Filed bug 837735 about removing strings.
Comment 12•11 years ago
|
||
Thanks Anton, I think that adding this as a localization comment inside the file would be greatly appreciated by other localizers. P.S. If you go for "loading...", don't forget to use the proper single unicode character ("loading…")
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•