Closed
Bug 489512
Opened 15 years ago
Closed 15 years ago
Explore hooking the rest of strings in about:crashes to Cocoa l10n
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alqahira, Assigned: chris)
References
()
Details
(Whiteboard: l10n)
Attachments
(1 file, 1 obsolete file)
4.46 KB,
patch
|
chris
:
superreview+
|
Details | Diff | Splinter Review |
Since we actually have a forked copy of crashes.xhtml, we can modify the file if we want. Per bug 488949 comment 3 (and the end of 4), someone with JS skills can probably hook up to the stringbundle service to pull strings that are currently in crashes.dtd from our Cocoa global_locale_crashes_properties.strings file and then use JS DOM manipulation to replace the entities in the file with those strings. If we have any JS-savvy takers before b3, we can do this.
Flags: camino2.0b3?
Reporter | ||
Updated•15 years ago
|
Whiteboard: l10n
Assignee | ||
Comment 1•15 years ago
|
||
Removes the crashes.dtd placeholders and adds id attributes to the relevant elements. Adds the insertLocalizedStrings() method that grabs strings from the stringbundle service and inserts them using the innerHTML property. Puts the strings from crashes.dtd into global_locale_crashes_properties.strings.in.
Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 376397 [details] [diff] [review] Fix v1.0 I've tested this, and it works as expected.
Attachment #376397 -
Flags: superreview?(stuart.morgan+bugzilla)
Attachment #376397 -
Flags: review?
Attachment #376397 -
Flags: review+
Updated•15 years ago
|
Attachment #376397 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Comment 3•15 years ago
|
||
Comment on attachment 376397 [details] [diff] [review] Fix v1.0 >+ var bundles = Cc["@mozilla.org/intl/stringbundle;1"]. >+ getService(Ci.nsIStringBundleService); Why break this line but not the equally-long lines right after it? Break them (at the =) or don't break this line. >+<p id="noReports" style="display: none">;</p> Remove the stray ';' sr=smorgan otherwise.
Assignee | ||
Comment 4•15 years ago
|
||
Patch for checkin, with sr comments addressed.
Attachment #376397 -
Attachment is obsolete: true
Attachment #376547 -
Flags: superreview+
Reporter | ||
Comment 5•15 years ago
|
||
Checked in; thanks again, hendy!
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: camino2.0b3? → camino2.0b3+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•