From 23151b8da3f5ee2fca75c4bd6dcdd39bd783f2b8 Mon Sep 17 00:00:00 2001 From: mic Date: Wed, 26 Jun 2024 23:07:53 +0200 Subject: [PATCH] chatpgt_keep_formatting option added. see #77 --- _locales/de/messages.json | 10 ++++++++++ _locales/en/messages.json | 10 ++++++++++ _locales/fr/messages.json | 10 ++++++++++ _locales/it/messages.json | 8 ++++++++ options/mzta-options-default.js | 1 + options/mzta-options.html | 11 +++++++++++ 6 files changed, 50 insertions(+) diff --git a/_locales/de/messages.json b/_locales/de/messages.json index ca1093fb..4064cbd4 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -358,6 +358,16 @@ "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", diff --git a/_locales/en/messages.json b/_locales/en/messages.json index c710aca3..2835cd09 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -359,6 +359,16 @@ "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 1aabc241..c5c6767c 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -358,6 +358,16 @@ "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", diff --git a/_locales/it/messages.json b/_locales/it/messages.json index b384c94f..1d436f7a 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -287,6 +287,14 @@ "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/options/mzta-options-default.js b/options/mzta-options-default.js index 4cfc2112..9a8df7fc 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -20,4 +20,5 @@ export const prefs_default = { chatgpt_win_height: 800, chatgpt_win_width: 700, chatpgt_use_gpt4: false, + chatpgt_keep_formatting: false, } \ No newline at end of file diff --git a/options/mzta-options.html b/options/mzta-options.html index 9896bba0..c4f9689d 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -59,6 +59,17 @@ + + + + + +