From 6e54a6e41b78345e0a91d918582b49a225091175 Mon Sep 17 00:00:00 2001 From: Otto <63210219+ohaue@users.noreply.github.com> Date: Wed, 10 Jan 2024 17:07:59 +0100 Subject: [PATCH 1/2] Update danish translation --- .../polestar_api/translations/da.json | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/custom_components/polestar_api/translations/da.json b/custom_components/polestar_api/translations/da.json index 4426268..9d5682b 100644 --- a/custom_components/polestar_api/translations/da.json +++ b/custom_components/polestar_api/translations/da.json @@ -21,15 +21,15 @@ "entity": { "sensor": { "polestar_api_status_code": { - "name": "API Statuskode" + "name": "API statuskode" }, "polestar_api_token_expires_at": { - "name": "API Token udløber" + "name": "API token udløber" }, "polestar_average_energy_consumption_kwh_per_100": { "name": "Gennemsnitligt energiforbrug" }, - "polestar_average_speed_per_hour": { + "polestar_average_speed": { "name": "Gennemsnitsfart" }, "polestar_battery_charge_level": { @@ -38,16 +38,16 @@ "polestar_charger_connection_status": { "name": "Ladekabel forbundet" }, - "polestar_charging_current_amps": { + "polestar_charging_current": { "name": "Ladestrøm" }, - "polestar_charging_power_watts": { + "polestar_charging_power": { "name": "Ladeeffekt" }, "polestar_charging_status": { "name": "Ladestatus" }, - "polestar_current_odometer_meters": { + "polestar_current_odometer": { "name": "Kilometerstand" }, "polestar_current_trip_meter_automatic": { @@ -56,18 +56,18 @@ "polestar_current_trip_meter_manual": { "name": "Triptæller (manuel)" }, - "polestar_estimated_charging_time_to_full_minutes": { - "name": "Estimeret tid til fuld opladet" - }, "polestar_estimate_full_charge_range": { "name": "Estimeret rækkevidde ved fuldt batteri" }, "polestar_estimate_range": { - "name": "Estimeret Rækkevidde" + "name": "Estimeret rækkevidde" }, "polestar_estimated_charging_time_minutes_to_target_distance": { "name": "Estimeret ladetid til ønsket afstand" }, + "polestar_estimated_charging_time_to_full": { + "name": "Estimeret tid til fuld opladet" + }, "polestar_estimated_fully_charged_time": { "name": "Estimeret total ladetid" }, @@ -83,6 +83,9 @@ "polestar_registration_number": { "name": "Registreringsnummer" }, + "polestar_software_version": { + "name": "Software version" + }, "polestar_vin": { "name": "Stelnummer" } From a48dd3a123693cb85246ab5e159ba36d5740bc8f Mon Sep 17 00:00:00 2001 From: Otto <63210219+ohaue@users.noreply.github.com> Date: Sun, 21 Jan 2024 14:27:15 +0100 Subject: [PATCH 2/2] Danish translation updated --- .../polestar_api/translations/da.json | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/custom_components/polestar_api/translations/da.json b/custom_components/polestar_api/translations/da.json index 9d5682b..812dd46 100644 --- a/custom_components/polestar_api/translations/da.json +++ b/custom_components/polestar_api/translations/da.json @@ -26,11 +26,14 @@ "polestar_api_token_expires_at": { "name": "API token udløber" }, + "polestar_average_speed": { + "name": "Gennemsnitsfart" + }, "polestar_average_energy_consumption_kwh_per_100": { "name": "Gennemsnitligt energiforbrug" }, - "polestar_average_speed": { - "name": "Gennemsnitsfart" + "polestar_battery_capacity": { + "name": "Batterikapacitet" }, "polestar_battery_charge_level": { "name": "Batteriniveau" @@ -71,6 +74,12 @@ "polestar_estimated_fully_charged_time": { "name": "Estimeret total ladetid" }, + "polestar_factory_complete": { + "name": "Færdigsamlet dato" + }, + "polestar_internal_vebicle_id": { + "name": "Internt køretøjs ID" + }, "polestar_last_updated_battery_data": { "name": "Sidst opdateret batteriniveau" }, @@ -80,12 +89,21 @@ "polestar_model_name": { "name": "Modelnavn" }, + "polestar_registration_date": { + "name": "Registreringsdato" + }, "polestar_registration_number": { "name": "Registreringsnummer" }, "polestar_software_version": { "name": "Software version" }, + "polestar_software_version_release": { + "name": "Software dato" + }, + "polestar_torque": { + "name": "Moment" + }, "polestar_vin": { "name": "Stelnummer" }