fixed the completed message. see #104

This commit is contained in:
mic 2024-08-15 00:11:47 +02:00
parent d5344af04f
commit e58628c30e
5 changed files with 23 additions and 4 deletions

View file

@ -204,7 +204,11 @@
"description": ""
},
"chatgpt_win_job_completed": {
"message": "Abgeschlossen! Text auswählen und auf die Schaltfläche klicken.",
"message": "Abgeschlossen!",
"description": ""
},
"chatgpt_win_job_completed_select": {
"message": "Text auswählen und auf die Schaltfläche klicken.",
"description": ""
},
"chatgpt_win_get_answer": {

View file

@ -204,7 +204,11 @@
"description": ""
},
"chatgpt_win_job_completed": {
"message": "Completed! Select the text you want to use and click the button.",
"message": "Completed!",
"description": ""
},
"chatgpt_win_job_completed_select": {
"message": "Select the text you want to use and click the button.",
"description": ""
},
"chatgpt_win_get_answer": {

View file

@ -204,7 +204,11 @@
"description": ""
},
"chatgpt_win_job_completed": {
"message": "Terminé ! Sélectionnez le texte que vous souhaitez utiliser et cliquez sur le bouton.",
"message": "Terminé !",
"description": ""
},
"chatgpt_win_job_completed_select": {
"message": "Sélectionnez le texte que vous souhaitez utiliser et cliquez sur le bouton.",
"description": ""
},
"chatgpt_win_get_answer": {

View file

@ -204,7 +204,11 @@
"description": ""
},
"chatgpt_win_job_completed": {
"message": "Completato! Seleziona il testo che desideri utilizzare e clicca sul pulsante.",
"message": "Completato!",
"description": ""
},
"chatgpt_win_job_completed_select": {
"message": "Seleziona il testo che desideri utilizzare e clicca sul pulsante.",
"description": ""
},
"chatgpt_win_get_answer": {

View file

@ -260,6 +260,9 @@ function checkGPT4Model() {
function operation_done(){
let curr_msg = document.getElementById('mzta-curr_msg');
curr_msg.textContent = browser.i18n.getMessage("chatgpt_win_job_completed");
if(current_action != '0'){
curr_msg.textContent += " " + browser.i18n.getMessage("chatgpt_win_job_completed_select");
}
curr_msg.style.display = 'block';
document.getElementById('mzta-btn_ok').style.display = 'inline';
document.getElementById('mzta-loading').style.display = 'none';