Closed Bug 1714248 Opened 3 years ago Closed 3 years ago

Change language used when removing a CardDAV address book

Categories

(Thunderbird :: Address Book, defect)

defect

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(2 files)

To remove a CardDAV book, you have to "Delete" it (should be "Unsubscribe" like a calendar) and you're asked "Are you sure you want to delete this address book and all of its contacts?" which you probably don't and that's not what happens anyway.

This got messy.

I've added strings for the button and menu items to abMainWindow.dtd to avoid rewriting some complicated bits.
For the prompt messages I rewrote the whole thing in Fluent because I needed to do that for about:addressbook anyway.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/5240b6ddc228
Change language used when removing a CardDAV address book. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/77c736245fba
follow-up - Remove TODO comment that got TODONE. rs=me

Is removeButton.tooltip unused because removeButton only gets used fo the context menu of the address book tree?

This doesn't seem to work in Thunderbird 91.
I now get an error when trying to remove an LDAP Directory Server:

Uncaught (in promise) TypeError: document.l10n is null
AbDeleteDirectory chrome://messenger/content/addressbook/abCommon.js:404

I tried with both default en-US and nl language pack, but both fail with the same error.

Flags: needinfo?(geoff)
Attached image Screenshot

Correction: this does work when you remove an address book from the Address Book window, but it fails when you try to remove the address book from the Global Addressing Preferences.

Regressions: 1726110
Flags: needinfo?(geoff)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: