diff --git a/custom_components/gpt4vision/strings.json b/custom_components/gpt4vision/strings.json index a2fac91..140672b 100644 --- a/custom_components/gpt4vision/strings.json +++ b/custom_components/gpt4vision/strings.json @@ -28,7 +28,8 @@ "empty_mode": "Please select a provider.", "empty_ip_address": "IP address cannot be empty", "empty_port": "Port cannot be empty", - "empty_api_key": "API key is required." + "empty_api_key": "API key is required.", + "handshake_failed": "Failed to connect to LocalAI server. Please check the IP address and port and try again." } } } \ No newline at end of file diff --git a/custom_components/gpt4vision/translations/de.json b/custom_components/gpt4vision/translations/de.json index e5a54cd..3d7b0e9 100644 --- a/custom_components/gpt4vision/translations/de.json +++ b/custom_components/gpt4vision/translations/de.json @@ -28,7 +28,8 @@ "empty_mode": "Bitte wählen Sie einen Anbieter.", "empty_ip_address": "IP-Adresse darf nicht leer sein", "empty_port": "Port darf nicht leer sein", - "empty_api_key": "API-Schlüssel ist erforderlich." + "empty_api_key": "API-Schlüssel ist erforderlich.", + "handshake_failed": "Verbindung zum Server fehlgeschlagen. Bitte überprüfen Sie die IP-Adresse und den Port.", } } } \ No newline at end of file diff --git a/custom_components/gpt4vision/translations/es.json b/custom_components/gpt4vision/translations/es.json deleted file mode 100644 index 8befbfb..0000000 --- a/custom_components/gpt4vision/translations/es.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "config": { - "step": { - "user": { - "title": "Elige tu proveedor", - "description": "Selecciona el proveedor que quieres usar para tu IA.", - "data": { - "api_key": "Tu clave API" - } - }, - "localai": { - "title": "Conéctate a tu servidor LocalAI", - "description": "Proporciona la dirección IP y el puerto de tu servidor LocalAI.", - "data": { - "localai_ip": "Dirección IP", - "localai_port": "Puerto" - } - }, - "openai": { - "title": "Añade la clave API de OpenAI", - "description": "Proporciona una clave API de OpenAI válida.", - "data": { - "api_key": "Tu clave API" - } - } - }, - "error": { - "empty_mode": "Por favor, selecciona un proveedor.", - "empty_ip_address": "La dirección IP no puede estar vacía", - "empty_port": "El puerto no puede estar vacío", - "empty_api_key": "Se requiere la clave API." - } - } -} \ No newline at end of file diff --git a/custom_components/gpt4vision/translations/fr.json b/custom_components/gpt4vision/translations/fr.json index 4c3f31e..88c0cd0 100644 --- a/custom_components/gpt4vision/translations/fr.json +++ b/custom_components/gpt4vision/translations/fr.json @@ -28,7 +28,8 @@ "empty_mode": "Veuillez sélectionner un fournisseur.", "empty_ip_address": "L'adresse IP ne peut pas être vide", "empty_port": "Le port ne peut pas être vide", - "empty_api_key": "La clé API est requise." + "empty_api_key": "La clé API est requise.", + "handshake_failed": "Impossible de se connecter à serveur LocalAI. Veuillez vérifier l'adresse IP et le port.", } } } \ No newline at end of file diff --git a/custom_components/gpt4vision/translations/it.json b/custom_components/gpt4vision/translations/it.json deleted file mode 100644 index fd89750..0000000 --- a/custom_components/gpt4vision/translations/it.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "config": { - "step": { - "user": { - "title": "Scegli il tuo fornitore", - "description": "Seleziona il fornitore che desideri utilizzare per il tuo IA.", - "data": { - "api_key": "La tua chiave API" - } - }, - "localai": { - "title": "Connettiti al tuo server LocalAI", - "description": "Fornisci l'indirizzo IP e la porta del tuo server LocalAI.", - "data": { - "localai_ip": "Indirizzo IP", - "localai_port": "Porta" - } - }, - "openai": { - "title": "Aggiungi la chiave API di OpenAI", - "description": "Fornisci una chiave API di OpenAI valida.", - "data": { - "api_key": "La tua chiave API" - } - } - }, - "error": { - "empty_mode": "Per favore, seleziona un fornitore.", - "empty_ip_address": "L'indirizzo IP non può essere vuoto", - "empty_port": "La porta non può essere vuota", - "empty_api_key": "È richiesta la chiave API." - } - } -} \ No newline at end of file