translared more strings. added some it strings. see #185

This commit is contained in:
mic 2024-11-29 23:09:19 +01:00
parent 817c57889b
commit 01eacb6471
3 changed files with 26 additions and 2 deletions

View file

@ -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": ""

View file

@ -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": ""
}
}

View file

@ -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 + ".";
}
}