typos fixed. #170

This commit is contained in:
mic 2024-10-21 22:51:46 +02:00
parent e7b76a9442
commit abf7e163c9
8 changed files with 29 additions and 29 deletions

View file

@ -74,7 +74,7 @@ Are you using this addon in your Thunderbird?
<br>
### Miscellaneous
- <a href="https://github.com/KudoAI/chatgpt.js">chatgpt.js</a> for providing methods to interact with the ChatGTP web frontend
- <a href="https://github.com/KudoAI/chatgpt.js">chatgpt.js</a> for providing methods to interact with the ChatGPT web frontend
- <a href="https://github.com/ali-raheem/Aify">Aify</a> for inspiration
- <a href="https://github.com/boxabirds">Julian Harris</a> for his project <a href="https://github.com/boxabirds/chatgpt-frontend-nobuild">chatgpt-frontend-nobuild</a>, that has been used as a starting point for the API Web Interface

View file

@ -395,12 +395,12 @@
"message": "Verbindungstyp",
"description": ""
},
"prefs_Connection_type_ChatGTP_Web": {
"message": "ChatGTP Weboberfläche",
"prefs_Connection_type_ChatGPT_Web": {
"message": "ChatGPT Weboberfläche",
"description": ""
},
"prefs_Connection_type_ChatGTP_API": {
"message": "ChatGTP OpenAI API",
"prefs_Connection_type_ChatGPT_API": {
"message": "ChatGPT OpenAI API",
"description": ""
},
"prefs_ChatGPT_API_Key": {
@ -435,7 +435,7 @@
"message": "Sie haben kein Modell für das ChatGPT-API ausgewählt. Bitte wählen Sie eines auf der Optionsseite aus.",
"description": ""
},
"chagtp_api_send_button": {
"chagpt_api_send_button": {
"message": "Modell wird verwendet",
"description": ""
},

View file

@ -395,12 +395,12 @@
"message": "Connection Type",
"description": ""
},
"prefs_Connection_type_ChatGTP_Web": {
"message": "ChatGTP Web Interface",
"prefs_Connection_type_ChatGPT_Web": {
"message": "ChatGPT Web Interface",
"description": ""
},
"prefs_Connection_type_ChatGTP_API": {
"message": "ChatGTP OpenAI API",
"prefs_Connection_type_ChatGPT_API": {
"message": "ChatGPT OpenAI API",
"description": ""
},
"prefs_ChatGPT_API_Key": {
@ -435,7 +435,7 @@
"message": "You've not choosen a model for the ChatGPT API. Please choose one in the options page.",
"description": ""
},
"chagtp_api_send_button": {
"chagpt_api_send_button": {
"message": "Using model",
"description": ""
},

View file

@ -395,12 +395,12 @@
"message": "Type de connexion",
"description": ""
},
"prefs_Connection_type_ChatGTP_Web": {
"message": "Interface Web ChatGTP",
"prefs_Connection_type_ChatGPT_Web": {
"message": "Interface Web ChatGPT",
"description": ""
},
"prefs_Connection_type_ChatGTP_API": {
"message": "API OpenAI ChatGTP",
"prefs_Connection_type_ChatGPT_API": {
"message": "API OpenAI ChatGPT",
"description": ""
},
"prefs_ChatGPT_API_Key": {
@ -435,7 +435,7 @@
"message": "Vous n'avez pas choisi de modèle pour l'API ChatGPT. Veuillez en choisir un sur la page des options.",
"description": ""
},
"chagtp_api_send_button": {
"chagpt_api_send_button": {
"message": "Utilisation du modèle",
"description": ""
},

View file

@ -395,12 +395,12 @@
"message": "Tipo di connessione",
"description": ""
},
"prefs_Connection_type_ChatGTP_Web": {
"message": "Interfaccia Web ChatGTP",
"prefs_Connection_type_ChatGPT_Web": {
"message": "Interfaccia Web ChatGPT",
"description": ""
},
"prefs_Connection_type_ChatGTP_API": {
"message": "API OpenAI per ChatGTP",
"prefs_Connection_type_ChatGPT_API": {
"message": "API OpenAI per ChatGPT",
"description": ""
},
"prefs_ChatGPT_API_Key": {
@ -435,7 +435,7 @@
"message": "Non hai scelto un modello per l'API di ChatGPT. Per favore, scegline uno nella pagina delle opzioni.",
"description": ""
},
"chagtp_api_send_button": {
"chagpt_api_send_button": {
"message": "Modello utilizzato",
"description": ""
},

View file

@ -395,11 +395,11 @@
"message": "Tipo de Conexão",
"description": ""
},
"prefs_Connection_type_ChatGTP_Web": {
"prefs_Connection_type_ChatGPT_Web": {
"message": "Interface Web do ChatGPT",
"description": ""
},
"prefs_Connection_type_ChatGTP_API": {
"prefs_Connection_type_ChatGPT_API": {
"message": "API OpenAI do ChatGPT",
"description": ""
},
@ -435,7 +435,7 @@
"message": "Você não escolheu um modelo para a API do ChatGPT. Por favor, escolha um na página de opções.",
"description": ""
},
"chagtp_api_send_button": {
"chagpt_api_send_button": {
"message": "Usando modelo",
"description": ""
},

View file

@ -169,8 +169,8 @@ class MessageInput extends HTMLElement {
setModel(model){
this.model = model;
this._sendButton.title = browser.i18n.getMessage("chagtp_api_send_button") + ": " + this.model;
this._stopButton.title = browser.i18n.getMessage("chagtp_api_send_button") + ": " + this.model;
this._sendButton.title = browser.i18n.getMessage("chagpt_api_send_button") + ": " + this.model;
this._stopButton.title = browser.i18n.getMessage("chagpt_api_send_button") + ": " + this.model;
}
handleMessageSent() {
@ -186,7 +186,7 @@ class MessageInput extends HTMLElement {
this._sendButton.style.display = 'block';
this._stopButton.setAttribute('disabled', 'disabled');
this._stopButton.style.display = 'none';
this._stopButton.title = browser.i18n.getMessage("chagtp_api_send_button") + ": " + this.model;
this._stopButton.title = browser.i18n.getMessage("chagpt_api_send_button") + ": " + this.model;
this.hideStatusMessage();
this.setStatusMessage('');
}

View file

@ -101,8 +101,8 @@
<td>
<label>
<select id="connection_type" name="connection_type" class="option-input">
<option value="chatgpt_web">__MSG_prefs_Connection_type_ChatGTP_Web__</option>
<option value="chatgpt_api">__MSG_prefs_Connection_type_ChatGTP_API__</option>
<option value="chatgpt_web">__MSG_prefs_Connection_type_ChatGPT_Web__</option>
<option value="chatgpt_api">__MSG_prefs_Connection_type_ChatGPT_API__</option>
<option value="ollama_api">__MSG_prefs_Connection_type_Ollama_API__</option>
<option value="openai_comp_api">__MSG_prefs_Connection_type_OpenAI_Comp_API__</option>
</select>