removed the link to status page as requested by the TB Addon Reviewer. Reverts #123

This commit is contained in:
Mic 2024-09-05 18:00:45 +02:00
parent 3f16901010
commit 6e3377a301
5 changed files with 9 additions and 33 deletions

View file

@ -220,14 +220,8 @@
"description": ""
},
"chatgpt_textarea_not_found_error": {
"message": "Es scheint, dass die ChatGPT-Seite zu lange zum Laden braucht. Wenn sie fertig geladen ist, klicken Sie auf den Button rechts. Wenn das Problem weiterhin besteht, überprüfen Sie bitte den <a href=\"$URL$\">Dienststatus</a>.",
"description": "",
"placeholders": {
"url": {
"content": "$1",
"example": "https://micz.it/thunderbird-addon-thunderai/status/"
}
}
"message": "Es scheint, dass die ChatGPT-Seite zu lange zum Laden braucht. Wenn sie fertig geladen ist, klicken Sie auf den Button rechts. Wenn das Problem weiterhin besteht, überprüfen Sie bitte den Dienststatus.",
"description": ""
},
"chatgpt_btn_retry": {
"message": "Wiederholen",

View file

@ -220,14 +220,8 @@
"description": ""
},
"chatgpt_textarea_not_found_error": {
"message": "It seems that the ChatGPT page is taking too long to load. If it finishes loading, click the button on the right. If the problem persists, please <a href=\"$URL$\">check the service status</a>.",
"description": "",
"placeholders": {
"url": {
"content": "$1",
"example": "https://micz.it/thunderbird-addon-thunderai/status/"
}
}
"message": "It seems that the ChatGPT page is taking too long to load. If it finishes loading, click the button on the right. If the problem persists, please check the service status.",
"description": ""
},
"chatgpt_btn_retry": {
"message": "Retry",

View file

@ -220,14 +220,8 @@
"description": ""
},
"chatgpt_textarea_not_found_error": {
"message": "Il semble que la page ChatGPT mette trop de temps à charger. Si elle finit de charger, cliquez sur le bouton à droite. Si le problème persiste, veuillez <a href=\"$URL$\">vérifier le statut du service</a>.",
"description": "",
"placeholders": {
"url": {
"content": "$1",
"example": "https://micz.it/thunderbird-addon-thunderai/status/"
}
}
"message": "Il semble que la page ChatGPT mette trop de temps à charger. Si elle finit de charger, cliquez sur le bouton à droite. Si le problème persiste, veuillez vérifier le statut du service.",
"description": ""
},
"chatgpt_btn_retry": {
"message": "Réessayer",

View file

@ -220,14 +220,8 @@
"description": ""
},
"chatgpt_textarea_not_found_error": {
"message": "Sembra che la pagina di ChatGPT impieghi troppo tempo a caricarsi. Se finisce di caricarsi, clicca sul pulsante a destra. Se il problema persiste, per favore <a href=\"$URL$\">controlla lo stato del servizio</a>.",
"description": "",
"placeholders": {
"url": {
"content": "$1",
"example": "https://micz.it/thunderbird-addon-thunderai/status/"
}
}
"message": "Sembra che la pagina di ChatGPT impieghi troppo tempo a caricarsi. Se finisce di caricarsi, clicca sul pulsante a destra. Se il problema persiste, per favore controlla lo stato del servizio.",
"description": ""
},
"chatgpt_btn_retry": {
"message": "Riprova",

View file

@ -303,7 +303,7 @@ async function doProceed(message, customText = ''){
break;
case -2: // textarea not found
let curr_model_warn = document.getElementById('mzta-model_warn');
let message = browser.i18n.getMessage("chatgpt_textarea_not_found_error","https://micz.it/thunderbird-addon-thunderai/status/");
let message = browser.i18n.getMessage("chatgpt_textarea_not_found_error");
let parts = message.split(/<a href="([^"]+)">([^<]+)<\\/a>/);
curr_model_warn.textContent = parts[0];
let link = document.createElement('a');