diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 22b5f053..e9f8aecc 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -596,7 +596,11 @@ "description": "" }, "prefs_OptionText_openai_comp_use_v1_info": { - "message": "Wenn aktiviert, wird das \"v1\"-Segment im Pfad der API-Aufrufe beibehalten, z.B. \"http://localhost:1234/v1/chat/completions\".", - "description": "" + "message": "Wenn aktiviert, wird das \"v1\"-Segment im Pfad der API-Aufrufe beibehalten, z.B. \"http://localhost:1234/v1/chat/completions\".", + "description": "" + }, + "prefs_OptionText_owl_warning": { + "message": "Es scheint, dass mindestens eines Ihrer Konten das Add-on Eule für Exchange verwendet. Es gibt ein bekanntes Problem zwischen Thunderbird und Eule, das derzeit behoben wird. Derzeit können Sie ThunderAI beim Verfassen von E-Mails verwenden, jedoch nicht beim Lesen.", + "description": "" } } \ No newline at end of file diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 43b0a745..b05edca8 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -602,5 +602,9 @@ "prefs_OptionText_openai_comp_use_v1_info": { "message": "If checked, the \"v1\" segment in the path of API calls will be kept, like \"http://localhost:1234/v1/chat/completions\".", "description": "" + }, + "prefs_OptionText_owl_warning": { + "message": "It appears that at least one of your accounts is using the Owl for Exchange add-on. There is a known issue between Thunderbird and Owl, which is currently being addressed. At this time, you can use ThunderAI while composing emails, but not when reading them.", + "description": "" } } \ No newline at end of file diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index 2d2dd5d5..f8e369a6 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -596,7 +596,11 @@ "description": "" }, "prefs_OptionText_openai_comp_use_v1_info": { - "message": "Si coché, le segment \"v1\" dans le chemin des appels API sera conservé, comme \"http://localhost:1234/v1/chat/completions\".", - "description": "" + "message": "Si coché, le segment \"v1\" dans le chemin des appels API sera conservé, comme \"http://localhost:1234/v1/chat/completions\".", + "description": "" + }, + "prefs_OptionText_owl_warning": { + "message": "Il semble qu'au moins un de vos comptes utilise le module complémentaire Chouette pour Exchange. Il existe un problème connu entre Thunderbird et Chouette, qui est en cours de résolution. Pour le moment, vous pouvez utiliser ThunderAI lors de la rédaction d'e-mails, mais pas lors de leur lecture.", + "description": "" } } \ No newline at end of file diff --git a/_locales/it/messages.json b/_locales/it/messages.json index 7c8f24c8..786a83f0 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -596,7 +596,11 @@ "description": "" }, "prefs_OptionText_openai_comp_use_v1_info": { - "message": "Se selezionato, il segmento \"v1\" nel percorso delle chiamate API verrà mantenuto, ad esempio \"http://localhost:1234/v1/chat/completions\".", - "description": "" -} + "message": "Se selezionato, il segmento \"v1\" nel percorso delle chiamate API verrà mantenuto, ad esempio \"http://localhost:1234/v1/chat/completions\".", + "description": "" + }, + "prefs_OptionText_owl_warning": { + "message": "Sembra che almeno uno dei tuoi account stia utilizzando il componente aggiuntivo Gufo per Exchange. Esiste un problema noto tra Thunderbird e Gufo, che è attualmente in fase di risoluzione. Al momento, puoi utilizzare ThunderAI durante la composizione delle email, ma non durante la loro lettura.", + "description": "" + } } \ No newline at end of file diff --git a/_locales/pt-br/messages.json b/_locales/pt-br/messages.json index b354d5cd..848f2ece 100644 --- a/_locales/pt-br/messages.json +++ b/_locales/pt-br/messages.json @@ -600,7 +600,11 @@ "description": "" }, "prefs_OptionText_openai_comp_use_v1_info": { - "message": "Se marcado, o segmento \"v1\" no caminho das chamadas de API será mantido, como em \"http://localhost:1234/v1/chat/completions\".", - "description": "" + "message": "Se marcado, o segmento \"v1\" no caminho das chamadas de API será mantido, como em \"http://localhost:1234/v1/chat/completions\".", + "description": "" + }, + "prefs_OptionText_owl_warning": { + "message": "Parece que pelo menos uma das suas contas está usando o complemento Coruja para Exchange. Existe um problema conhecido entre Thunderbird e Coruja, que está sendo resolvido no momento. Por enquanto, você pode usar o ThunderAI ao redigir e-mails, mas não ao lê-los.", + "description": "" } } \ No newline at end of file diff --git a/options/mzta-options.css b/options/mzta-options.css index d3bc9368..9c0305c1 100644 --- a/options/mzta-options.css +++ b/options/mzta-options.css @@ -146,6 +146,26 @@ input.option-input[type="text"]{ font-style: italic; } +#owl_warning{ + display: none; +} + +#owl_warning div{ + color: white; + font-style: italic; + background-color: red; + border-radius: 4px; + padding: 3px; + font-weight: bold; + margin-bottom: 5px; +} + +#owl_warning div a{ + background-color: white; + padding:0px 3px; + border-radius: 4px; +} + @media (prefers-color-scheme: dark) { body { background-color: rgb(35, 34, 43); diff --git a/options/mzta-options.html b/options/mzta-options.html index 73d0c328..4a999b94 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -8,6 +8,9 @@
__MSG_prefs_OptionText_release_notes__
__MSG_prefs_status_page__
+ + +
__MSG_prefs_OptionText_owl_warning__ __MSG_customPrompts_managePrompts_help__
__MSG_prefs_OptionText_chatgpt_win_text__ diff --git a/options/mzta-options.js b/options/mzta-options.js index c4024e2f..3c218e3b 100644 --- a/options/mzta-options.js +++ b/options/mzta-options.js @@ -205,6 +205,14 @@ function warn_OpenAIComp_HostEmpty() { document.addEventListener('DOMContentLoaded', async () => { await restoreOptions(); + + // show Owl warning + const accountList = await messenger.accounts.list(false); + if(accountList.some(account => account.type.toLowerCase().includes('owl'))) { + taLog.log('OWL detected, displaying the warning.'); + document.getElementById('owl_warning').style.display = 'table-row'; + } + i18n.updateDocument(); document.querySelectorAll(".option-input").forEach(element => { element.addEventListener("change", saveOptions);