From 7ec4ef89a0d9a16f12904ff97f23fa829bb24db7 Mon Sep 17 00:00:00 2001 From: mic Date: Mon, 9 Dec 2024 22:50:49 +0100 Subject: [PATCH 001/102] add_tags option added. see #183 --- _locales/en/messages.json | 8 ++++++++ options/mzta-options-default.js | 1 + options/mzta-options.html | 9 +++++++++ options/mzta-options.js | 10 ++++++++++ 4 files changed, 28 insertions(+) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index dfd37c48..414482e0 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -742,5 +742,13 @@ "prompt_this_full_text": { "message": "Reply with only the needed text and with no extra comments or other text.", "description": "" + }, + "prefs_OptionText_add_tags": { + "message": "Add tags to emails", + "description": "" + }, + "prefs_OptionText_add_tags_Info": { + "message": "If checked, a menu item will be added to the dynamic menu to add tags to emails.", + "description": "" } } \ No newline at end of file diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index b2f29484..34b51b14 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -37,4 +37,5 @@ export const prefs_default = { dynamic_menu_order_alphabet: true, placeholders_use_default_value: false, max_prompt_length: 30000, // max string length for prompt + add_tags: false, } \ No newline at end of file diff --git a/options/mzta-options.html b/options/mzta-options.html index 99f90516..015da2cc 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -266,6 +266,15 @@ + + __MSG_prefs_OptionText_add_tags__ + + + + - + __MSG_prefs_OptionText_add_tags__ + + __MSG_prefs_OptionText_add_tags_maxnum__ + + + + + + __MSG_prefs_OptionText_add_tags_hide_exclusions__ + + + +