From ea861cc2267e4707665bcc655c04bc5423a1ff1e Mon Sep 17 00:00:00 2001 From: mic Date: Wed, 14 Aug 2024 22:44:22 +0200 Subject: [PATCH 01/10] chatgpt_keep_formatting option removed --- _locales/de/messages.json | 8 -------- _locales/en/messages.json | 8 -------- _locales/fr/messages.json | 8 -------- _locales/it/messages.json | 8 -------- mzta-background.js | 1 - options/mzta-options-default.js | 1 - options/mzta-options.html | 11 ----------- 7 files changed, 45 deletions(-) diff --git a/_locales/de/messages.json b/_locales/de/messages.json index eaa6c62d..ea13a5c7 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -295,14 +295,6 @@ "message": "Antworttyp", "description": "" }, - "prefs_OptionText_chatpgt_keep_formatting": { - "message": "Behalte die Formatierung bei", - "description": "" - }, - "prefs_OptionText_chatpgt_keep_formatting_info": { - "message": "Behalte die Formatierung und die Zahlen oder Aufzählungspunkte aus der ChatGPT-Antwort bei.", - "description": "" - }, "prefs_OptionText_chatpgt_use_gpt4": { "message": "Verwenden Sie ChatGPT-4", "description": "" diff --git a/_locales/en/messages.json b/_locales/en/messages.json index b9cc8226..875b55df 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -295,14 +295,6 @@ "message": "Reply type", "description": "" }, - "prefs_OptionText_chatpgt_keep_formatting": { - "message": "Keep formatting", - "description": "" - }, - "prefs_OptionText_chatpgt_keep_formatting_info": { - "message": "Keep the formatting and numeral or bullet points from the ChatGPT response.", - "description": "" - }, "prefs_OptionText_chatpgt_use_gpt4": { "message": "Use ChatGPT-4", "description": "" diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index 951e7fba..b080cc35 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -295,14 +295,6 @@ "message": "Type de réponse", "description": "" }, - "prefs_OptionText_chatpgt_keep_formatting": { - "message": "Conserver la mise en forme", - "description": "" - }, - "prefs_OptionText_chatpgt_keep_formatting_info": { - "message": "Conservez la mise en forme et les numéros ou les puces de la réponse de ChatGPT.", - "description": "" - }, "prefs_OptionText_chatpgt_use_gpt4": { "message": "Utiliser ChatGPT-4", "description": "" diff --git a/_locales/it/messages.json b/_locales/it/messages.json index f80944dc..496a849a 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -295,14 +295,6 @@ "message": "Modalità di risposta", "description": "" }, - "prefs_OptionText_chatpgt_keep_formatting": { - "message": "Mantieni la formattazione", - "description": "" - }, - "prefs_OptionText_chatpgt_keep_formatting_info": { - "message": "Mantieni la formattazione del testo e gli elenchi puntati e numerati della risposta di ChatGPT.", - "description": "" - }, "prefs_OptionText_chatpgt_use_gpt4": { "message": "Usa il modello ChatGPT-4", "description": "" diff --git a/mzta-background.js b/mzta-background.js index 41916866..31692112 100644 --- a/mzta-background.js +++ b/mzta-background.js @@ -196,7 +196,6 @@ async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_ let mztaForceCompletionDesc="`+ browser.i18n.getMessage("chatgpt_force_completion") +`"; let mztaForceCompletionTitle="`+ browser.i18n.getMessage("chatgpt_force_completion_title") +`"; let mztaDoCustomText=`+ do_custom_text +`; - let mztaKeepFormatting=`+ prefs.chatgpt_keep_formatting +`; let mztaPromptName="[`+ i18nConditionalGet(prompt_name) +`]"; `; diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index 000546ff..1fba74a5 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -20,7 +20,6 @@ export const prefs_default = { chatgpt_win_height: 800, chatgpt_win_width: 700, chatpgt_use_gpt4: false, - chatgpt_keep_formatting: false, default_chatgpt_lang: '', connection_type: 'chatgpt_web', //Other values: 'chatgpt_api' chatgpt_api_key: '', diff --git a/options/mzta-options.html b/options/mzta-options.html index 8b8588d8..bda16765 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -75,17 +75,6 @@ - - - - - -