Betterbird / thunderbird-patches

Betterbird is a fork of Mozilla Thunderbird. Here are the patches that provide all the goodness.
Other
501 stars 21 forks source link

How to add custom type for email in Personal Address Book #327

Closed fknemi closed 3 months ago

fknemi commented 3 months ago

Personal Address Book

In Personal Address Book when adding a contact in email address it shows selection for type of email such as Work, Home, None. How can i add custom type at that place...

image image

Betterbird commented 3 months ago

Apparently you can't.

Betterbird commented 3 months ago

Code references: https://searchfox.org/comm-central/rev/a8f106bd47f2256ec40a6eab8bc4bd1b7e600bb1/mail/locales/en-US/messenger/addressbook/vcard.ftl#12-22

See vcard-entry-type-custom. That is not referenced anywhere other where it's defined: https://searchfox.org/comm-central/search?q=vcard-entry-type-custom&path=&case=false&regexp=false

Looks like it could be added here: https://searchfox.org/comm-central/rev/a8f106bd47f2256ec40a6eab8bc4bd1b7e600bb1/mail/components/addrbook/content/vcard-edit/vCardTemplates.inc.xhtml#406-412

But that would only give you a "Custom" entry in the menu, not the facility to enter a custom type like: Custom - Family, Custom - Club, etc.

Some research would also be needed as to what support is provided in the vCard standard.

Looks like an upstream Thunderbird bug or omission. Please file a ticket at https://bugzilla.mozilla.org/.