From 9fa79d979ce0b41738440b662855d461b22b794f Mon Sep 17 00:00:00 2001 From: Rene Nulsch Date: Thu, 6 Feb 2025 12:26:14 +0100 Subject: [PATCH] Change config flow translation --- .../mbapi2020/translations/de.json | 17 +--------------- .../mbapi2020/translations/es.json | 19 +----------------- .../mbapi2020/translations/fr.json | 18 ++--------------- .../mbapi2020/translations/he.json | 19 +----------------- .../mbapi2020/translations/it.json | 19 +----------------- .../mbapi2020/translations/nl.json | 19 +----------------- .../mbapi2020/translations/pl.json | 19 +----------------- .../mbapi2020/translations/ta.json | 20 ++----------------- 8 files changed, 10 insertions(+), 140 deletions(-) diff --git a/custom_components/mbapi2020/translations/de.json b/custom_components/mbapi2020/translations/de.json index 90e3fca8..0059440c 100644 --- a/custom_components/mbapi2020/translations/de.json +++ b/custom_components/mbapi2020/translations/de.json @@ -7,21 +7,6 @@ "error": { "cannot_connect": "cannot_connect", "invalid_auth": "invalid_auth" - }, - "step": { - "pin": { - "data": { - "password": "Pin" - }, - "description": "Du erhältst einen Pin-Code via email/SMS. Bitte gib den sechsstelligen Code ein." - }, - "user": { - "data": { - "region": "Region", - "username": "MB-Benutzername - E-Mail-Adresse (oder Mobiltelefon einschließlich Ländercode z. B. +44)" - }, - "description": "Gib dein Mercedes ME-Anmelde-Konto ein (E-Mail-Adresse)" - } } }, "issues": { @@ -69,4 +54,4 @@ } } } -} +} \ No newline at end of file diff --git a/custom_components/mbapi2020/translations/es.json b/custom_components/mbapi2020/translations/es.json index 6629c44f..7defd555 100644 --- a/custom_components/mbapi2020/translations/es.json +++ b/custom_components/mbapi2020/translations/es.json @@ -8,23 +8,6 @@ "cannot_connect": "cannot_connect", "invalid_auth": "invalid_auth", "unknown": "Error desconocido. Por favor, revisa el registro de Home Assistant para más información." - }, - "step": { - "pin": { - "data": { - "password": "PIN" - }, - "description": "Has recibido un código PIN por correo electrónico. Por favor, ingresa el código PIN (seis números)", - "title": "Configuración de conexión - PIN" - }, - "user": { - "data": { - "region": "Región", - "username": "Nombre de usuario MB - dirección de correo electrónico (o teléfono móvil incluyendo el código de país ej. +34)" - }, - "description": "Ingresa tu cuenta de inicio de sesión de Mercedes ME (dirección de correo electrónico)", - "title": "Configurar la conexión Mercedes ME 2020" - } } }, "issues": { @@ -719,4 +702,4 @@ } } } -} +} \ No newline at end of file diff --git a/custom_components/mbapi2020/translations/fr.json b/custom_components/mbapi2020/translations/fr.json index c234528f..e6726c08 100644 --- a/custom_components/mbapi2020/translations/fr.json +++ b/custom_components/mbapi2020/translations/fr.json @@ -1,19 +1,5 @@ { - "config": { - "step": { - "pin": { - "title": "Configuration de connexion - NIP", - "description": "Vous avez reçu un numéro d'identification personnel (NIP) par courriel. Veuillez entrer le NIP (six numéros)" - }, - "user": { - "data": { - "region": "Région", - "username": "Nom d'utilisateur MB - adresse électronique (ou téléphone mobile comprenant code pays ex. +44)" - }, - "description": "Entrez votre compte de connexion Mercedes ME (adresse électronique)" - } - } - }, + "config": {}, "issues": { "restart_required": { "fix_flow": { @@ -26,4 +12,4 @@ "title": "Redémarrage nécessaire" } } -} +} \ No newline at end of file diff --git a/custom_components/mbapi2020/translations/he.json b/custom_components/mbapi2020/translations/he.json index 57b89ccc..b4270e4f 100644 --- a/custom_components/mbapi2020/translations/he.json +++ b/custom_components/mbapi2020/translations/he.json @@ -6,23 +6,6 @@ }, "error": { "unknown": "שגיאה לא מוכרת, בדוק את יומן המערכת לפרטים נוספים." - }, - "step": { - "pin": { - "data": { - "password": "קוד" - }, - "description": "התקבל קוד לכתובת הדואר האלטרוני, אנא הזן קוד 6 ספרות.", - "title": "הגדרות חיבור - קוד" - }, - "user": { - "data": { - "region": "אזור", - "username": "שם משתמש - דואר אלקטורני או טלפון המתחיל ב+44" - }, - "description": "הקש את פרטי החיבור שלך למרצדס", - "title": "הגדרת החיבור אל מרצדדס" - } } }, "issues": { @@ -197,4 +180,4 @@ } } } -} +} \ No newline at end of file diff --git a/custom_components/mbapi2020/translations/it.json b/custom_components/mbapi2020/translations/it.json index e1dfdd69..5589c0c7 100644 --- a/custom_components/mbapi2020/translations/it.json +++ b/custom_components/mbapi2020/translations/it.json @@ -8,23 +8,6 @@ "cannot_connect": "Impossibile connettersi al server.", "invalid_auth": "Autenticazione non valida.", "unknown": "Errore sconosciuto." - }, - "step": { - "pin": { - "data": { - "password": "PIN" - }, - "description": "Hai ricevuto il codice PIN via email. Per favore inserisci il codice PIN (sei numeri)", - "title": "Configurazione connessione - PIN" - }, - "user": { - "data": { - "region": "Regione", - "username": "MB username - indirizzo email" - }, - "description": "Inserisci il tuo Mercedes ME account (indirizzo email)", - "title": "Mercedes ME 2020 - Setup" - } } }, "issues": { @@ -66,4 +49,4 @@ "websocket_connection_state": "MB Websocket stato di connessione" } } -} +} \ No newline at end of file diff --git a/custom_components/mbapi2020/translations/nl.json b/custom_components/mbapi2020/translations/nl.json index 67d3b5f6..c4b3cb1d 100644 --- a/custom_components/mbapi2020/translations/nl.json +++ b/custom_components/mbapi2020/translations/nl.json @@ -8,23 +8,6 @@ "cannot_connect": "Kan geen verbinding maken", "invalid_auth": "Ongeldige autorisatie", "onbekend": "Onbekende fout. Controleer de Home Assistant-log voor meer informatie." - }, - "step": { - "pin": { - "data": { - "password": "PIN" - }, - "description": "Je hebt een pincode ontvangen via e-mail. Voer de pincode (zes cijfers) in.", - "title": "Verbindingsinstellingen - PIN" - }, - "user": { - "data": { - "region": "Regio", - "username": "MB-gebruikersnaam - e-mailadres (of telefoonnummer inclusief landcode, bijv. +31)" - }, - "description": "Voer je Mercedes ME-inloggegevens in (e-mailadres)", - "title": "Mercedes ME 2020-verbinding instellen" - } } }, "issues": { @@ -719,4 +702,4 @@ } } } -} +} \ No newline at end of file diff --git a/custom_components/mbapi2020/translations/pl.json b/custom_components/mbapi2020/translations/pl.json index f0a3d998..3fd99808 100644 --- a/custom_components/mbapi2020/translations/pl.json +++ b/custom_components/mbapi2020/translations/pl.json @@ -1,22 +1,5 @@ { "config": { - "step": { - "pin": { - "data": { - "password": "PIN" - }, - "description": "Otrzymałeś kod PIN w wiadomości email. Proszę wprowadzić kod PIN (sześć cyfr)", - "title": "Ustawienia połączenia - PIN" - }, - "user": { - "data": { - "region": "Region", - "username": "Nazwa użytkownika MB - adres email (lub numer telefonu zawierający kod kierunkowy np +48)" - }, - "description": "Wpisz login konta użytkownika Mercedes ME (adres email)", - "title": "Ustanów połączenie z Mercedes ME 2020" - } - }, "error": { "unknown": "Nieznany błąd. Proszę sprawdzić logi Home Assistanta." }, @@ -568,4 +551,4 @@ } } } -} +} \ No newline at end of file diff --git a/custom_components/mbapi2020/translations/ta.json b/custom_components/mbapi2020/translations/ta.json index 3f3e773e..a6b06eb8 100644 --- a/custom_components/mbapi2020/translations/ta.json +++ b/custom_components/mbapi2020/translations/ta.json @@ -4,23 +4,7 @@ "already_configured": "கூறு ஏற்கனவே கட்டமைக்கப்பட்டுள்ளது.", "reauth_successful": "வெற்றிகரமாக! கூறு மறுஏற்றம் முன்னேற்றம்." }, - "step": { - "pin": { - "data": { - "password": "முள்" - }, - "description": "மின்னஞ்சல் வழியாக நீங்கள் ஒரு முள் குறியீட்டைப் பெற்றுள்ளீர்கள். முள் குறியீட்டை உள்ளிடவும் (ஆறு எண்கள்)", - "title": "இணைப்பு அமைப்பு - முள்" - }, - "user": { - "data": { - "region": "பகுதி", - "username": "MB பயனர்பெயர் - மின்னஞ்சல் முகவரி (அல்லது நாட்டின் குறியீடு உட்பட மொபைல் போன். +44)" - }, - "description": "உங்கள் மெர்சிடிச் மீ உள்நுழைவு கணக்கை (மின்னஞ்சல் முகவரி) உள்ளிடவும்", - "title": "மெர்சிடிச் மீ 2020 இணைப்பை அமைக்கவும்" - } - }, + "step": {}, "error": { "unknown": "தெரியாத பிழை. மேலும் தகவலுக்கு வீட்டு உதவியாளர் பதிவை சரிபார்க்கவும்." } @@ -721,4 +705,4 @@ "version": "பதிப்பு" } } -} +} \ No newline at end of file