Closed Bug 85794 Opened 23 years ago Closed 15 years ago

pretty name default for servers is hardcoded

Categories

(SeaMonkey :: MailNews: Message Display, defect, P2)

x86
Other
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
mozilla1.2alpha

People

(Reporter: sspitzer, Unassigned)

References

()

Details

(Keywords: l12y)

Attachments

(2 files)

looking at 

http://lxr.mozilla.org/seamonkey/source/mailnews/base/util/nsMsgIncomingServer.cpp#616

we default the pretty name to be "<username> on <hostname".

" on " is hardcoded.  that string should live in a string bundle.
it's a little trickier than that.

something like "%S1 on %S2" should live in a bundle (where we tell the localizer
that S1 is username and S2 is hostname.

if no username, then we just have the hostname and we don't need a format string
for that.
Keywords: l12y
Keywords: nsBranch
Blocks: 99230
cleaning up nsbranch keywords. not an emojo stopper.
Keywords: nsbranchnsbranch-
No longer blocks: 99230
Blocks: 107067
Keywords: nsbranch-
nominating for nsbeta1
Keywords: nsbeta1
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
Target Milestone: mozilla0.9.9 → mozilla1.0
Seth, is this visible to the user? does anyone know how to bring it up?  
Blocks: 122274
Keywords: nsbeta1+nsbeta1-
Target Milestone: mozilla1.0 → mozilla1.2
mass re-assign.
Assignee: racham → sspitzer
Status: ASSIGNED → NEW
Product: Browser → Seamonkey
Assignee: sspitzer → mail
I think I'd prefer the full localized solution instead of going back to a@b.
Scott, what do you think?
Are we certain "<user> on <host>" is the right order in every language? Either
way, any such languages can use "%S@%S" ...

Localized patch coming in a little while.
No, we're not - see comment #1
Attached patch localizedSplinter Review
Not quite sure about putting it in messenger.properties or the name
(accountPrettyName).
Attachment #196238 - Flags: review?(bienvenu)
Flags: blocking-seamonkey1.1a?
Beter L12y would really be nice to have, but we won't block a release for it, even no Alpha.

bienvenu, could you really review this? It affects localization of both Thunderbird and SeaMonkey...
Flags: blocking-seamonkey1.1a? → blocking-seamonkey1.1a-
I'm much more inclined to go for the second patch than the first patch. Unfortunately, the second patch doesn't apply cleanly against the trunk, so I need  to apply it by hand to test it out.
this patch didn't work for me - we always end up creating a pretty name of user@host - we might need to change the account wizard to try to get the "constructed" pretty name.
I only tried this in TB, actually - but I suspect it's the same for SM - we create accounts with the name user@host already. I'm not inclined to change that at this point. Please let me know if I'm mistaken...
Attachment #196201 - Flags: review?(bienvenu) → review-
David, does that make attachment 196238 [details] [diff] [review] review- for you?  Or is this blocked by account wizardry?
Assignee: mail → nobody
QA Contact: esther → message-display
Comment on attachment 196238 [details] [diff] [review]
localized

yes, minus. I think this bug is invalid/wfm now - we create accounts with pretty name username@host, not user on host.
Attachment #196238 - Flags: review?(bienvenu) → review-
wfm per comment 16
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.