From abf7e163c973c8527c091f3b12ca3a9ffe924b93 Mon Sep 17 00:00:00 2001 From: mic Date: Mon, 21 Oct 2024 22:51:46 +0200 Subject: [PATCH] typos fixed. #170 --- README.md | 2 +- _locales/de/messages.json | 10 +++++----- _locales/en/messages.json | 10 +++++----- _locales/fr/messages.json | 10 +++++----- _locales/it/messages.json | 10 +++++----- _locales/pt-br/messages.json | 6 +++--- api_webchat/messageInput.js | 6 +++--- options/mzta-options.html | 4 ++-- 8 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index d587d6e5..8b12705f 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Are you using this addon in your Thunderbird?
### Miscellaneous -- chatgpt.js for providing methods to interact with the ChatGTP web frontend +- chatgpt.js for providing methods to interact with the ChatGPT web frontend - Aify for inspiration - Julian Harris for his project chatgpt-frontend-nobuild, that has been used as a starting point for the API Web Interface diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 05471f3b..0d59e07a 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -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": "" }, diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 598b56ea..46b50510 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -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": "" }, diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index 0dccfbd2..d197ee3f 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -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": "" }, diff --git a/_locales/it/messages.json b/_locales/it/messages.json index 1c0723ab..560889f4 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -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": "" }, diff --git a/_locales/pt-br/messages.json b/_locales/pt-br/messages.json index b9cd8689..2ed59381 100644 --- a/_locales/pt-br/messages.json +++ b/_locales/pt-br/messages.json @@ -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": "" }, diff --git a/api_webchat/messageInput.js b/api_webchat/messageInput.js index 1331781b..7d044487 100644 --- a/api_webchat/messageInput.js +++ b/api_webchat/messageInput.js @@ -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(''); } diff --git a/options/mzta-options.html b/options/mzta-options.html index 7a9f3ec7..32f6a123 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -101,8 +101,8 @@