Closed
Bug 411854
Opened 17 years ago
Closed 17 years ago
directory list should use localized ellipsis
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
VERIFIED
FIXED
People
(Reporter: masa141421356, Assigned: masa141421356)
References
Details
Attachments
(1 file, 1 obsolete file)
3.90 KB,
patch
|
masa141421356
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008011005 Minefield/3.0b3pre
Build Identifier:
spun off from Bug 403484 Comment 47.
See
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/netwerk/streamconv/converters/nsIndexedToHTML.cpp&rev=1.88#828
It uses "…" and it is hard coded.
I think it should be replaced as HTML escaped localized ellipsis.
Reproducible: Always
Steps to Reproduce:
1.Change intl.ellipsis in about:config.
2.Show directory list that contains file that has very long name.
3.
Actual Results:
Ellipsis is always U+2026.
Expected Results:
Ellipsis should be loczlized.
Simple proposal:
- escapedShort.AppendLiteral("…");
+ AppendNonAsciiToNCR(nsContentUtils::GetLocalizedEllipsis(), escapedShort);
# It may be needed to add including nsContentUtils.h
Assignee | ||
Updated•17 years ago
|
Version: unspecified → Trunk
Updated•17 years ago
|
Assignee: nobody → smontagu
Severity: trivial → minor
Status: UNCONFIRMED → NEW
Component: File Handling → Internationalization
Ever confirmed: true
QA Contact: file-handling → i18n
Comment 1•17 years ago
|
||
Masahiro, would you be willing to take this bug and provide a real patch ?
(reassign to yourself if so)
Assignee | ||
Comment 2•17 years ago
|
||
(In reply to comment #1)
> Masahiro, would you be willing to take this bug and provide a real patch ?
>
> (reassign to yourself if so)
>
I'll write patch.
But I found other bugs for same source file.
I think one of them are more important.
Patch for this bug conflicts to it.
Assignee | ||
Comment 3•17 years ago
|
||
I thought I can use nsContentUtils::GetLocalizedEllipsis() to get intl.ellipsis.
But, [#include "nsContentUtils.h"] causes failure of compile.
(complier failed to find 'nsContentUtils.h').
Which is better to modify makefile or to implement without nsContentUtils::GetLocalizedEllipsis() ?
Assignee | ||
Comment 4•17 years ago
|
||
Whom souhld I request review ?
And is it needed superreview and ui-review ?
Attachment #300848 -
Flags: review?
Assignee | ||
Updated•17 years ago
|
Attachment #300848 -
Flags: review? → review?(mano)
Comment 5•17 years ago
|
||
Yamada-san:
FYI: you can find the reviewers for each modules from CVS log of LXR.
Comment 6•17 years ago
|
||
Comment on attachment 300848 [details] [diff] [review]
Patch rv.1.0
I'm not a necko peer
Attachment #300848 -
Flags: review?(mano)
Assignee | ||
Updated•17 years ago
|
Attachment #300848 -
Flags: review?(bzbarsky)
Comment 7•17 years ago
|
||
Comment on attachment 300848 [details] [diff] [review]
Patch rv.1.0
Make that mEscapedEllipsis, and looks ok. Thank you for fixing this!
Attachment #300848 -
Flags: review?(bzbarsky) → review+
Comment 8•17 years ago
|
||
What are we waiting for here?
Assignee | ||
Comment 9•17 years ago
|
||
Is superreview and ui-review needed for attachment 300348 [details] ?
Assignee | ||
Comment 10•17 years ago
|
||
(In reply to comment #9)
> Is superreview and ui-review needed for attachment 300348 [details] ?
>
Oops, it's attachment 300848 [details] [diff] [review].
Comment 11•17 years ago
|
||
No ui-review needed. Boris does superreviews, and he usually does it along with the review, so I guess it's kind of redundant.
Comment 12•17 years ago
|
||
(In reply to comment #7)
> (From update of attachment 300848 [details] [diff] [review])
> Make that mEscapedEllipsis
Masahiro, can you please make that change, attach a new patch and request approval1.9?
Updated•17 years ago
|
Assignee: smontagu → masa141421356
Assignee | ||
Comment 13•17 years ago
|
||
renamed escapedEllipsis to mEscapedEllipsis
Attachment #300848 -
Attachment is obsolete: true
Attachment #314547 -
Flags: review+
Attachment #314547 -
Flags: approval1.9?
Comment 14•17 years ago
|
||
Comment on attachment 314547 [details] [diff] [review]
Patch rev.1.1
a1.9=beltzner
Attachment #314547 -
Flags: approval1.9? → approval1.9+
Updated•17 years ago
|
Keywords: checkin-needed
Comment 15•17 years ago
|
||
checked-in, thank you for your work!
Assignee | ||
Comment 16•17 years ago
|
||
verified at
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008041005 Minefield/3.0pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•