From 2ee413368b232c4975e97adb3465f3118ecbdc70 Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 13 Nov 2026 19:29:48 +0100 Subject: [PATCH] fix(mail-ingest): AI reading can be switched back on, and its hint names the addon ai_available folded the person's own switch in, so switching AI reading off greyed the switch out and it never came back. It now says only whether AI reading works on the instance (the AI Parsing addon and a connection). When it does not, the settings card says it needs the AI Parsing addon, by its localized name, in all 28 locales; the wiki says the same. --- client/src/components/Settings/MailImportSection.tsx | 7 ++++++- client/src/mobile/screens/settings/MMailImportSection.tsx | 6 +++++- server/src/nest/mail-ingest/mail-ingest-inbox.service.ts | 4 +++- shared/src/i18n/ar/mailInbox.ts | 3 ++- shared/src/i18n/az/mailInbox.ts | 2 +- shared/src/i18n/br/mailInbox.ts | 2 +- shared/src/i18n/ca/mailInbox.ts | 2 +- shared/src/i18n/cs/mailInbox.ts | 3 ++- shared/src/i18n/de/mailInbox.ts | 2 +- shared/src/i18n/en/mailInbox.ts | 3 ++- shared/src/i18n/es/mailInbox.ts | 2 +- shared/src/i18n/et/mailInbox.ts | 2 +- shared/src/i18n/fr/mailInbox.ts | 2 +- shared/src/i18n/gr/mailInbox.ts | 2 +- shared/src/i18n/he/mailInbox.ts | 3 ++- shared/src/i18n/hu/mailInbox.ts | 2 +- shared/src/i18n/id/mailInbox.ts | 2 +- shared/src/i18n/it/mailInbox.ts | 2 +- shared/src/i18n/ja/mailInbox.ts | 2 +- shared/src/i18n/ko/mailInbox.ts | 2 +- shared/src/i18n/nl/mailInbox.ts | 2 +- shared/src/i18n/pl/mailInbox.ts | 2 +- shared/src/i18n/ru/mailInbox.ts | 2 +- shared/src/i18n/sk/mailInbox.ts | 2 +- shared/src/i18n/sv/mailInbox.ts | 3 ++- shared/src/i18n/th/mailInbox.ts | 3 ++- shared/src/i18n/tr/mailInbox.ts | 2 +- shared/src/i18n/uk/mailInbox.ts | 3 ++- shared/src/i18n/vi/mailInbox.ts | 3 ++- shared/src/i18n/zh-TW/mailInbox.ts | 3 ++- shared/src/i18n/zh/mailInbox.ts | 3 ++- shared/src/mail-ingest/mail-ingest.schema.ts | 2 +- wiki/Booking-Mail-Import.md | 2 +- 33 files changed, 54 insertions(+), 33 deletions(-) diff --git a/client/src/components/Settings/MailImportSection.tsx b/client/src/components/Settings/MailImportSection.tsx index 65a8727bf..c1107d60e 100644 --- a/client/src/components/Settings/MailImportSection.tsx +++ b/client/src/components/Settings/MailImportSection.tsx @@ -109,7 +109,12 @@ export default function MailImportSection(): ReactElement | null { />