Closed
Bug 190305
Opened 23 years ago
Closed 22 years ago
XML prettyprint message can't be localized
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kairo, Assigned: vberon)
References
()
Details
(Keywords: l12y)
Attachments
(1 file, 1 obsolete file)
|
3.93 KB,
patch
|
axel
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
When we turn on xml pretty printing
user_pref("layout.xml.prettyprint", true);
and show a xml file without a assigned stylesheet we get this message in the
browser window:
This XML file does not appear to have any style information
associated with it. The document tree is shown below.
This message is currently not localizable, though it should be.
The URL field points to the place where this is hardcoded currently (LXR page).
Prettyprint bugs to Jonas. Please try to take care of this soon. htmlparser/src
has examples on how I did it for XML error messages.
Assignee: heikki → bugmail
Flags: blocking1.3b?
| Assignee | ||
Comment 3•22 years ago
|
||
This patch allows a XML prettyprint message to be localized.
Requesting review from sicking.
Attachment #127194 -
Flags: review+
Thanks!
Comment 5•22 years ago
|
||
Comment on attachment 127194 [details] [diff] [review]
Patch to allow XML prettyprint to be localized
>+ - The Initial Developer of the Original Code is
>+ - Netscape Communications Corporation.
>+ - Portions created by the Initial Developer are Copyright (C) 2002
>+ - the Initial Developer. All Rights Reserved.
>+ -
>+ - Contributor(s): Vincent Béron <vberon@hermes.usherb.ca>
Um.. the initial developer of this particular file is Vincent Beron, no? And
please encode the non-ASCII char as UTF-8, not as ISO-8859-1.
Also, please use the request tracker to request sr; I realize that the
directions on mozilla.org may not have been updated to reflect this fact....
Attachment #127194 -
Flags: superreview+
| Assignee | ||
Comment 6•22 years ago
|
||
Update to attachment #127194 [details] [diff] [review] integrating the changes requested by bzbarsky.
Attachment #127194 -
Attachment is obsolete: true
Comment 7•22 years ago
|
||
Comment on attachment 127241 [details] [diff] [review]
Patch to allow XML prettyprint to be localized (updated)
<...>
>+<!ENTITY xml.nostylesheet "This XML file does not appear to have any style information associated with it. The document tree is shown below. Modification.">
<...>
remove " Modification.". with that, r=axel@pike.org, requesting sr from bz.
I was intending to fix this, no idea that it was just forgotten. Blame sicking.
Attachment #127241 -
Flags: superreview?(bzbarsky)
Attachment #127241 -
Flags: review+
Comment on attachment 127241 [details] [diff] [review]
Patch to allow XML prettyprint to be localized (updated)
>@@ -36,6 +36,8 @@
> -
> - ***** END LICENSE BLOCK ***** -->
>
>+<!DOCTYPE overlay SYSTEM "chrome://communicator/locale/xml/prettyprint.dtd">
>+
> <xsl:stylesheet version="1.0"
This should say <!DOCTYPE xsl:stylesheet...
I'll fix that before checking in.
Updated•22 years ago
|
Attachment #127241 -
Flags: superreview?(bzbarsky) → superreview+
| Assignee | ||
Comment 9•22 years ago
|
||
>remove " Modification.". with that, r=axel@pike.org, requesting sr from bz.
That's my fault, results from making sure it did work.
Updated•22 years ago
|
QA Contact: rakeshmishra → ashishbhatt
Comment 10•22 years ago
|
||
*** Bug 210880 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 11•22 years ago
|
||
Jonas,
I'm sorry for the typo which caused the bustage with my patch. I'll be more
careful next time around (like actually building the thing).
Also, your bigfoot address bounced (tried to go to j_sicking % hotmail), which
was "550: mailbox unavailable".
reassigning to Vincent since he fixed the bug
Assignee: bugmail → vberon
...and marking fixed
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•