diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 05df2be5..e77a3da6 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -707,6 +707,14 @@ "message": "Do not add the subject line to the response.", "description": "" }, + "reply_same_lang": { + "message": "Reply in the same language.", + "description": "" + }, + "sign_msg_as": { + "message": "Sign the message as", + "description": "" + }, "prompt_reply_advanced_full_text": { "message": "Reply to the following email \"{%selected_text%}\", considering this is the full thread of emails \"{%mail_html_body%}\". Reply with only the needed text and with no extra comments or other text.", "description": "" diff --git a/_locales/it/messages.json b/_locales/it/messages.json index aae9c0e6..21cfab83 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -694,5 +694,21 @@ "prefs_OptionText_owl_warning": { "message": "Sembra che almeno uno dei tuoi account stia utilizzando il componente aggiuntivo Gufo per Exchange. Esiste un problema noto tra Thunderbird e Gufo, che รจ attualmente in fase di risoluzione. Al momento, puoi utilizzare ThunderAI durante la composizione delle email, ma non durante la loro lettura.", "description": "" + }, + "prompt_reply_full_text": { + "message": "Rispondi alla seguente email. Rispondi solo con il testo necessario e senza commenti o altro testo aggiuntivo.", + "description": "" + }, + "reply_same_lang": { + "message": "Rispondi nella stessa lingua.", + "description": "" + }, + "sign_msg_as": { + "message": "Firma il messaggio come", + "description": "" + }, + "prompt_reply_additional_text": { + "message": "Non aggiungere la linea dell'oggetto alla risposta.", + "description": "" } } \ No newline at end of file diff --git a/js/mzta-menus.js b/js/mzta-menus.js index 745e3822..b0795795 100644 --- a/js/mzta-menus.js +++ b/js/mzta-menus.js @@ -107,7 +107,7 @@ export class mzta_Menus { chatgpt_lang = prefs.default_chatgpt_lang; //console.log(" >>>>>>>>>>>> chatgpt_lang: " + chatgpt_lang); if(chatgpt_lang === ''){ - chatgpt_lang = 'Reply in the same language.'; + chatgpt_lang = browser.i18n.getMessage("reply_same_lang"); }else{ chatgpt_lang = browser.i18n.getMessage("prompt_lang") + " " + chatgpt_lang + "."; } @@ -189,7 +189,7 @@ export class mzta_Menus { if(prefs.default_sign_name===''){ return ''; }else{ - return "Sign the message as " + prefs.default_sign_name + "."; + return browser.i18n.getMessage("sign_msg_as") + " " + prefs.default_sign_name + "."; } }