Closed Bug 303443 Opened 19 years ago Closed 16 years ago

"Deleted: " in attachment pane should be localized

Categories

(MailNews Core :: Attachments, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 323109

People

(Reporter: kairo, Unassigned)

References

Details

(Keywords: l12y)

When checkin in bug 2920 (delete attachment), the following note was added with it:
http://lxr.mozilla.org/mozilla/source/mailnews/base/resources/locale/en-US/messenger.properties#305
http://lxr.mozilla.org/mozilla/source/mail/locales/en-US/chrome/messenger/messenger.properties#306

I realized that attachmentDeletePrefix isn't used in code currently (just search
LXR for it), it actually doesn't matter if one localizes it, and so we alsway
get shown the "Deleted:" in English, even in other locales, which is quite bad
(esp. as the filename after it might even be in the user's language, and then
only the prefix isn't.
Looks like
http://lxr.mozilla.org/mozilla/source/mailnews/mime/src/mimemult.cpp#292 (and
#298) hardcodes that currently.

Additionally, the placeholder for the deleted attachment shown in the message is
hardcoded and should also be localized, this is in line 311 of mimemult.cpp from
what I see.

CCing bienvenu who checked in the patch for bug 2920
xref bug 286454
QA Contact: attachments
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.