From 4cee782c9b8c86e95c5c4512adcbacf0973950f8 Mon Sep 17 00:00:00 2001 From: Thomas D <11554546+thomasddn@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:12:11 +0100 Subject: [PATCH] Lokalise: updates --- .../volvo_cars/translations/de.json | 126 ++++++++++-------- .../volvo_cars/translations/en.json | 108 ++++++++------- 2 files changed, 128 insertions(+), 106 deletions(-) diff --git a/custom_components/volvo_cars/translations/de.json b/custom_components/volvo_cars/translations/de.json index 035aed6..6009d40 100644 --- a/custom_components/volvo_cars/translations/de.json +++ b/custom_components/volvo_cars/translations/de.json @@ -1,43 +1,43 @@ { "//translator": { - "//firstname": "arend", - "//lastname": "boehmer", - "//mail": "arend.boehmer@web.de", - "//country": "germany" + "//country": "Germany", + "//firstname": "Arend", + "//lastname": "Boehmer", + "//mail": "arend.boehmer@web.de" }, "config": { + "abort": { + "already_configured": "Das Fahrzeug ist bereits konfiguriert", + "reauth_successful": "Zugangsdaten erfolgreich aktualisiert" + }, + "error": { + "invalid_auth": "Authentifizierung fehlgeschlagen" + }, "step": { + "otp": { + "data": { + "otp": "OTP" + }, + "description": "Bitte das Einmal-Kennwort (One-Time-Password) eingeben, welches dir soeben per Mail zugeschickt wurde." + }, + "reauth_confirm": { + "description": "Die Volvo-Cars-Integration muss deinen Account erneut authentifizieren.", + "title": "Zugangsdaten abgelaufen" + }, "user": { - "description": "Bitte deine Volvo-Account-Zugangsdaten eingeben: Fahrzeug-Identifikationsnummer und Volvo-Developers-API-Schlüssel (https://developer.volvocars.com/).", "data": { - "username": "Benutzername", + "friendly_name": "Friendly Name", "password": "Passwort", - "vin": "Fahrzeug-Identifikationsnummer", + "username": "Benutzername", "vcc_api_key": "Volvo-Developers-API-Schlüssel", - "friendly_name": "Friendly Name" + "vin": "Fahrzeug-Identifikationsnummer" }, "data_description": { - "vin": "Die Fahrzeug-Identifikationsnummer ist 17 Zeichen lang und beginnt normalerweise für Volvo-Fahrzeuge mit YV1 or YV4.", - "friendly_name": "Dieser Wert wird in der Entitäts-ID benutzt (volvo_[friendly name]_[key]). Falls leer, wird die Fahrzeug-Identifiktationsnummer benutzt." - } - }, - "otp": { - "description": "Bitte das Einmal-Kennwort (One-Time-Password) eingeben, welches dir soeben per Mail zugeschickt wurde.", - "data": { - "otp": "OTP" - } - }, - "reauth_confirm": { - "title": "Zugangsdaten abgelaufen", - "description": "Die Volvo-Cars-Integration muss deinen Account erneut authentifizieren." + "friendly_name": "Dieser Wert wird in der Entitäts-ID benutzt (volvo_[friendly name]_[key]). Falls leer, wird die Fahrzeug-Identifiktationsnummer benutzt.", + "vin": "Die Fahrzeug-Identifikationsnummer ist 17 Zeichen lang und beginnt normalerweise für Volvo-Fahrzeuge mit YV1 or YV4." + }, + "description": "Bitte deine Volvo-Account-Zugangsdaten eingeben: Fahrzeug-Identifikationsnummer und Volvo-Developers-API-Schlüssel (https://developer.volvocars.com/)." } - }, - "abort": { - "already_configured": "Das Fahrzeug ist bereits konfiguriert", - "reauth_successful": "Zugangsdaten erfolgreich aktualisiert" - }, - "error": { - "invalid_auth": "Authentifizierung fehlgeschlagen" } }, "entity": { @@ -110,8 +110,8 @@ "state": { "no_warning": "OK", "service_required": "Service benötigt", - "too_low": "Zu niedrig", - "too_high": "Zu hoch" + "too_high": "Zu hoch", + "too_low": "Zu niedrig" } } } @@ -185,10 +185,10 @@ "pressure": { "name": "Reifendruck", "state": { - "no_warning": "OK", - "very_low_pressure": "Sehr niedriger Reifendruck", + "high_pressure": "Hoher Reifendruck", "low_pressure": "Niedriger Reifendruck", - "high_pressure": "Hoher Reifendruck" + "no_warning": "OK", + "very_low_pressure": "Sehr niedriger Reifendruck" } } } @@ -199,10 +199,10 @@ "pressure": { "name": "Reifendruck", "state": { - "no_warning": "OK", - "very_low_pressure": "Sehr niedriger Reifendruck", + "high_pressure": "Hoher Reifendruck", "low_pressure": "Niedriger Reifendruck", - "high_pressure": "Hoher Reifendruck" + "no_warning": "OK", + "very_low_pressure": "Sehr niedriger Reifendruck" } } } @@ -213,10 +213,10 @@ "pressure": { "name": "Reifendruck", "state": { - "no_warning": "OK", - "very_low_pressure": "Sehr niedriger Reifendruck", + "high_pressure": "Hoher Reifendruck", "low_pressure": "Niedriger Reifendruck", - "high_pressure": "Hoher Reifendruck" + "no_warning": "OK", + "very_low_pressure": "Sehr niedriger Reifendruck" } } } @@ -227,10 +227,10 @@ "pressure": { "name": "Reifendruck", "state": { - "no_warning": "OK", - "very_low_pressure": "Sehr niedriger Reifendruck", + "high_pressure": "Hoher Reifendruck", "low_pressure": "Niedriger Reifendruck", - "high_pressure": "Hoher Reifendruck" + "no_warning": "OK", + "very_low_pressure": "Sehr niedriger Reifendruck" } } } @@ -496,12 +496,12 @@ } }, "sensor": { - "api_status": { - "name": "API Status" - }, "api_request_count": { "name": "API Zugriffszähler" }, + "api_status": { + "name": "API Status" + }, "availability": { "name": "Fahrzeugverbindung", "state": { @@ -599,20 +599,36 @@ } }, "options": { + "abort": { + "no_options_available": "Für dein Fahrzeug sind keine Optionen auswählbar." + }, "step": { "init": { - "data": { - "fuel_consumption_unit": "Einheit Verbrauch", - "image_bg_color": "Hintergrundfarbe Bilder", - "image_transparent": "Transparenter Hintergrund Bilder" - }, - "data_description": { - "image_bg_color": "Nur auswählbar, wenn kein transparenter Hintergrund für Bilder ausgewählt wurde." + "sections": { + "api": { + "data": { + "vcc_api_key": "Volvo-Developers-API-Schlüssel" + }, + "name": "API" + }, + "images": { + "data": { + "image_bg_color": "Hintergrundfarbe Bilder", + "image_transparent": "Transparenter Hintergrund Bilder" + }, + "data_description": { + "image_bg_color": "Nur auswählbar, wenn kein transparenter Hintergrund für Bilder ausgewählt wurde." + }, + "name": "Bilder" + }, + "units": { + "data": { + "fuel_consumption_unit": "Einheit Verbrauch" + }, + "name": "Einheit" + } } } - }, - "abort": { - "no_options_available": "Für dein Fahrzeug sind keine Optionen auswählbar." } }, "selector": { diff --git a/custom_components/volvo_cars/translations/en.json b/custom_components/volvo_cars/translations/en.json index d5ea54f..581d38e 100644 --- a/custom_components/volvo_cars/translations/en.json +++ b/custom_components/volvo_cars/translations/en.json @@ -1,37 +1,43 @@ { + "//translator": { + "//country": "", + "//firstname": "", + "//lastname": "", + "//mail": "" + }, "config": { + "abort": { + "already_configured": "Car is already configured", + "reauth_successful": "Successfully updated credentials" + }, + "error": { + "invalid_auth": "Authentication failed" + }, "step": { + "otp": { + "data": { + "otp": "OTP" + }, + "description": "Enter the OTP you received in your mailbox." + }, + "reauth_confirm": { + "description": "The Volvo Cars integration needs to re-authenticate your account.", + "title": "Credentials expired" + }, "user": { - "description": "Enter your Volvo account credentials, VIN and Volvo developers API key (https://developer.volvocars.com/).", "data": { - "username": "Username", + "friendly_name": "Friendly name", "password": "Password", - "vin": "Vehicle Identification Number", + "username": "Username", "vcc_api_key": "Volvo API key", - "friendly_name": "Friendly name" + "vin": "Vehicle Identification Number" }, "data_description": { - "vin": "The VIN is 17 characters long and probably starts with YV1 or YV4.", - "friendly_name": "This value is used in the entity ID (volvo_[friendly name]_[key]). If left empty, VIN will be used." - } - }, - "otp": { - "description": "Enter the OTP you received in your mailbox.", - "data": { - "otp": "OTP" - } - }, - "reauth_confirm": { - "title": "Credentials expired", - "description": "The Volvo Cars integration needs to re-authenticate your account." + "friendly_name": "This value is used in the entity ID (volvo_[friendly name]_[key]). If left empty, VIN will be used.", + "vin": "The VIN is 17 characters long and probably starts with YV1 or YV4." + }, + "description": "Enter your Volvo account credentials, VIN and Volvo developers API key (https://developer.volvocars.com/)." } - }, - "abort": { - "already_configured": "Car is already configured", - "reauth_successful": "Sucessfully updated credentials" - }, - "error": { - "invalid_auth": "Authentication failed" } }, "entity": { @@ -104,8 +110,8 @@ "state": { "no_warning": "OK", "service_required": "Service required", - "too_low": "Too low", - "too_high": "Too high" + "too_high": "Too high", + "too_low": "Too low" } } } @@ -179,10 +185,10 @@ "pressure": { "name": "Pressure", "state": { - "no_warning": "OK", - "very_low_pressure": "Very low pressure", + "high_pressure": "High pressure", "low_pressure": "Low pressure", - "high_pressure": "High pressure" + "no_warning": "OK", + "very_low_pressure": "Very low pressure" } } } @@ -193,10 +199,10 @@ "pressure": { "name": "Pressure", "state": { - "no_warning": "OK", - "very_low_pressure": "Very low pressure", + "high_pressure": "High pressure", "low_pressure": "Low pressure", - "high_pressure": "High pressure" + "no_warning": "OK", + "very_low_pressure": "Very low pressure" } } } @@ -207,10 +213,10 @@ "pressure": { "name": "Pressure", "state": { - "no_warning": "OK", - "very_low_pressure": "Very low pressure", + "high_pressure": "High pressure", "low_pressure": "Low pressure", - "high_pressure": "High pressure" + "no_warning": "OK", + "very_low_pressure": "Very low pressure" } } } @@ -221,10 +227,10 @@ "pressure": { "name": "Pressure", "state": { - "no_warning": "OK", - "very_low_pressure": "Very low pressure", + "high_pressure": "High pressure", "low_pressure": "Low pressure", - "high_pressure": "High pressure" + "no_warning": "OK", + "very_low_pressure": "Very low pressure" } } } @@ -490,12 +496,12 @@ } }, "sensor": { - "api_status": { - "name": "API status" - }, "api_request_count": { "name": "API request count" }, + "api_status": { + "name": "API status" + }, "availability": { "name": "Car connection", "state": { @@ -589,40 +595,40 @@ }, "exceptions": { "lock_failure": { - "message": "Failed to {command} vehichle. Status: {status}. Message: {message}" + "message": "Failed to {command} vehicle. Status: {status}. Message: {message}" } }, "options": { + "abort": { + "no_options_available": "No options available for your vehicle." + }, "step": { "init": { "sections": { "api": { - "name": "API", "data": { "vcc_api_key": "Volvo API key" - } + }, + "name": "API" }, "images": { - "name": "Images", "data": { "image_bg_color": "Images background color", "image_transparent": "Images transparent background" }, "data_description": { "image_bg_color": "Only applicable if transparent is not checked." - } + }, + "name": "Images" }, "units": { - "name": "Units", "data": { "fuel_consumption_unit": "Fuel consumption unit" - } + }, + "name": "Units" } } } - }, - "abort": { - "no_options_available": "No options available for your vehicle." } }, "selector": {