From e6790b285c532f3da6e5a804588512821645f2e9 Mon Sep 17 00:00:00 2001 From: mic Date: Wed, 17 Apr 2024 23:12:08 +0200 Subject: [PATCH] Added the option to use ChatGPT4. Related to #27 --- _locales/en/messages.json | 10 ++++++++++ _locales/it/messages.json | 10 ++++++++++ options/mzta-options-default.js | 1 + options/mzta-options.html | 11 +++++++++++ 4 files changed, 32 insertions(+) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 1a6fe7b7..26e937bf 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -129,6 +129,16 @@ "description": "" }, + "prefs_OptionText_chatpgt_use_gpt4": { + "message": "Use ChatGPT-4", + "description": "" + }, + + "prefs_OptionText_chatpgt_use_gpt4_info": { + "message": "After changing this option, you have to choose the right model the first time you use it.", + "description": "" + }, + "prefsInfoTitle": { "message": "Important Information", "description": "" diff --git a/_locales/it/messages.json b/_locales/it/messages.json index 5adf7250..30dfb118 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -129,6 +129,16 @@ "description": "" }, + "prefs_OptionText_chatpgt_use_gpt4": { + "message": "Usa il modello ChatGPT-4", + "description": "" + }, + + "prefs_OptionText_chatpgt_use_gpt4_info": { + "message": "Dopo aver modificato questa opzione, devi scegliere il modello corretto la prima volta che lo usi.", + "description": "" + }, + "prefsInfoTitle": { "message": "Informazioni Importanti", "description": "" diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index 66c41624..968170b8 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -19,4 +19,5 @@ export const prefs_default = { chatgpt_win_height: 800, chatgpt_win_width: 700, + chatpgt_use_gpt4: false, } \ No newline at end of file diff --git a/options/mzta-options.html b/options/mzta-options.html index ef1803b8..1d8058e1 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -58,6 +58,17 @@ + + + + + +

__MSG_prefsInfoTitle__