Closed Bug 402592 Opened 18 years ago Closed 18 years ago

labelMessage.label is unused (and some other cleanup)

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Thunderbird 3

People

(Reporter: rimas, Assigned: mkmelin)

References

()

Details

Attachments

(1 file)

Looking at http://lxr.mozilla.org/mozilla/search?string=labelMessage.label, it seems like this entity is now unused, and replaced by addTag.label: http://lxr.mozilla.org/mozilla/search?string=addTag.label . Perhaps labelMessage should now be removed in such case? also, not part of this bug, but is the word "Label" intended here: http://lxr.mozilla.org/mozilla/source/mail/locales/en-US/chrome/messenger/search-attributes.properties#52 ?
I think the one in search-attributes.properties needs to stay for backward-compatibility.
Summary: labelMessage.label is unused → labelMessage.label is unused (and some other cleanup)
Attached patch proposed fixSplinter Review
There is actually a lot of unused strings in that file. Included in this patch is also some other removes of unused strings, and fix a strict warning.
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #288143 - Flags: superreview?(bienvenu)
Attachment #288143 - Flags: review?(philringnalda)
Comment on attachment 288143 [details] [diff] [review] proposed fix r=philringnalda, always good to see the bad words go away :)
Attachment #288143 - Flags: review?(philringnalda) → review+
Comment on attachment 288143 [details] [diff] [review] proposed fix thx for the patch
Attachment #288143 - Flags: superreview?(bienvenu) → superreview+
(In reply to comment #1) > I think the one in search-attributes.properties needs to stay for > backward-compatibility. > BW compatibility with what?
Compatibility with older data that haven't been converted to tags yet, at least. http://mxr.mozilla.org/seamonkey/search?string=nsMsgSearchAttrib%3A%3ALabel
Checking in mail/extensions/newsblog/content/feed-subscriptions.js; /cvsroot/mozilla/mail/extensions/newsblog/content/feed-subscriptions.js,v <-- feed-subscriptions.js new revision: 1.20; previous revision: 1.19 done Checking in mail/locales/en-US/chrome/messenger/FilterEditor.dtd; /cvsroot/mozilla/mail/locales/en-US/chrome/messenger/FilterEditor.dtd,v <-- FilterEditor.dtd new revision: 1.9; previous revision: 1.8 done Checking in mail/locales/en-US/chrome/messenger/messenger.dtd; /cvsroot/mozilla/mail/locales/en-US/chrome/messenger/messenger.dtd,v <-- messenger.dtd new revision: 1.69; previous revision: 1.68 done Checking in suite/locales/en-US/chrome/mailnews/FilterEditor.dtd; /cvsroot/mozilla/suite/locales/en-US/chrome/mailnews/FilterEditor.dtd,v <-- FilterEditor.dtd new revision: 1.37; previous revision: 1.36 done Checking in suite/locales/en-US/chrome/mailnews/messenger.dtd; /cvsroot/mozilla/suite/locales/en-US/chrome/mailnews/messenger.dtd,v <-- messenger.dtd new revision: 1.221; previous revision: 1.220 done ->FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: