diff --git a/_locales/en/messages.json b/_locales/en/messages.json index dc6f5b02..1370c46e 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1808,5 +1808,13 @@ "customPrompts_export_include_api_settings": { "message": "Do you want to include the API settings in the export? Be aware that also the API Key will be saved in the file!", "description": "" + }, + "prefs_OptionText_calendar_no_selection": { + "message": "Do not ask to select text", + "description": "" + }, + "prefs_OptionText_calendar_no_selection_Info": { + "message": "If checked there is no need to select some text. The full message body will be used to get the calendar event.", + "description": "" } } diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index eb8cda9c..64b5d839 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -128,6 +128,7 @@ export const prefs_default = { get_task: true, calendar_enforce_timezone: false, calendar_timezone: '', + calendar_no_selection: false, // If true do not ask for selection, but use the full prompt spamfilter: false, spamfilter_threshold: 70, spamfilter_enabled_accounts: [], diff --git a/pages/get-calendar-event/mzta-get-calendar-event.html b/pages/get-calendar-event/mzta-get-calendar-event.html index ee036aba..095f26aa 100644 --- a/pages/get-calendar-event/mzta-get-calendar-event.html +++ b/pages/get-calendar-event/mzta-get-calendar-event.html @@ -26,6 +26,16 @@ + + __MSG_prefs_OptionText_calendar_no_selection__ + + + + + __MSG_prefs_OptionText_calendar_enforce_timezone__