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> <br>
### Miscellaneous ### 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/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 - <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", "message": "Verbindungstyp",
"description": "" "description": ""
}, },
"prefs_Connection_type_ChatGTP_Web": { "prefs_Connection_type_ChatGPT_Web": {
"message": "ChatGTP Weboberfläche", "message": "ChatGPT Weboberfläche",
"description": "" "description": ""
}, },
"prefs_Connection_type_ChatGTP_API": { "prefs_Connection_type_ChatGPT_API": {
"message": "ChatGTP OpenAI API", "message": "ChatGPT OpenAI API",
"description": "" "description": ""
}, },
"prefs_ChatGPT_API_Key": { "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.", "message": "Sie haben kein Modell für das ChatGPT-API ausgewählt. Bitte wählen Sie eines auf der Optionsseite aus.",
"description": "" "description": ""
}, },
"chagtp_api_send_button": { "chagpt_api_send_button": {
"message": "Modell wird verwendet", "message": "Modell wird verwendet",
"description": "" "description": ""
}, },

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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