From 70e89e52d2cb066dc1b8922187bef2f63b602545 Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 20 Apr 2025 22:25:34 +0200 Subject: [PATCH] Add option for composing emails in plain text format. see #350 --- _locales/en/messages.json | 8 ++++++++ options/mzta-options-default.js | 1 + options/mzta-options.html | 11 +++++++++++ 3 files changed, 20 insertions(+) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 0bc539b2..b111175c 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1270,5 +1270,13 @@ "CORS_give_allurls_perm": { "message": "Give \"all URLs\" permission", "description": "" + }, + "prefs_OptionText_composing_plain_text": { + "message": "Composing in plain text", + "description": "" + }, + "prefs_OptionText_composing_plain_text_Info": { + "message": "Check this option if you're composing the emails in plain text format.", + "description": "" } } \ No newline at end of file diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index 573d2085..62dda293 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -22,6 +22,7 @@ export const prefs_default = { chatgpt_win_width: 700, default_chatgpt_lang: '', default_sign_name: '', + composing_plain_text: false, connection_type: 'chatgpt_web', //Other values: 'chatgpt_api', 'ollama_api', 'openai_comp_api', 'google_gemini_api' chatgpt_web_model: '', chatgpt_web_tempchat: false, diff --git a/options/mzta-options.html b/options/mzta-options.html index cd835aab..7d49c0fe 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -101,6 +101,17 @@ + + + + + +