From ea35d95d250c5c0ea5dd9fc67559524219141d8a Mon Sep 17 00:00:00 2001 From: mic Date: Mon, 19 Aug 2024 18:00:13 +0200 Subject: [PATCH] added debug option. see #106 --- _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 09f84521..71df925d 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -434,5 +434,13 @@ "chagtp_api_connecting": { "message": "Will attempt to connect to OpenAI ChatGPT using the API key provided...", "description": "" + }, + "Debug": { + "message": "Debug", + "description": "" + }, + "prefs_OptionText_do_debug_info": { + "message": "Activate the debug system", + "description": "" } } \ No newline at end of file diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index 1fba74a5..acbd7042 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -17,6 +17,7 @@ */ export const prefs_default = { + do_debug: false, chatgpt_win_height: 800, chatgpt_win_width: 700, chatpgt_use_gpt4: false, diff --git a/options/mzta-options.html b/options/mzta-options.html index bda16765..4f1dbefb 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -111,6 +111,17 @@ + + + + + +