Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update German translation & Add better translation_keys for suggested loads #220

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions custom_components/hon/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class HonSensorEntityDescription(SensorEntityDescription):
icon="mdi:weight-kilogram",
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
translation_key="suggested_load",
translation_key="suggested_load_wash",
),
HonSensorEntityDescription(
key="temp",
Expand Down Expand Up @@ -267,7 +267,15 @@ class HonSensorEntityDescription(SensorEntityDescription):
icon="mdi:weight-kilogram",
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
translation_key="suggested_load",
translation_key="suggested_load_dry",
),
HonConfigSensorEntityDescription(
key="startProgram.suggestedLoadWD",
name="Suggested Load Wash & Dry",
icon="mdi:weight-kilogram",
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
translation_key="suggested_load_wash_dry",
),
HonConfigSensorEntityDescription(
key="startProgram.energyLabel",
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Odložené spuštění"
},
"suggested_load": {
"name": "Kapacita náplně"
"suggested_load_wash": {
"name": "Doporučená náplň praní"
},
"suggested_load_dry": {
"name": "Doporučená náplň sušení"
},
"suggested_load_wash_dry": {
"name": "Doporučená náplň praní a sušení"
},
"energy_label": {
"name": "Energetická účinnost"
Expand Down
1,071 changes: 562 additions & 509 deletions custom_components/hon/translations/de.json

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions custom_components/hon/translations/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Καθυστερημένη έναρξη"
},
"suggested_load": {
"name": "Χωρητικότητα φορτίου"
"suggested_load_wash": {
"name": "Προτεινόμενο φορτίο πλύσης"
},
"suggested_load_dry": {
"name": "Προτεινόμενο φορτίο στεγνώματος"
},
"suggested_load_wash_dry": {
"name": "Προτεινόμενο φορτίο πλύσης και στεγνώματος"
},
"energy_label": {
"name": "Ενεργειακή απόδοση"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,14 @@
"delay_time": {
"name": "Delay Start"
},
"suggested_load": {
"name": "Load capacity"
"suggested_load_wash": {
"name": "Load capacity (wash)"
},
"suggested_load_dry": {
"name": "Load capacity (dry)"
},
"suggested_load_wash_dry": {
"name": "Load capacity (wash & dry)"
},
"energy_label": {
"name": "Energy efficiency"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Inicio Diferido"
},
"suggested_load": {
"name": "Capacidad de carga"
"suggested_load_wash": {
"name": "Carga sugerida de lavado"
},
"suggested_load_dry": {
"name": "Carga sugerida de secado"
},
"suggested_load_wash_dry": {
"name": "Carga sugerida de lavado y secado"
},
"energy_label": {
"name": "Eficiencia energética"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Démarrage Différé"
},
"suggested_load": {
"name": "Capacité de charge"
"suggested_load_wash": {
"name": "Charge recommandée (lavage)"
},
"suggested_load_dry": {
"name": "Charge recommandée (séchage)"
},
"suggested_load_wash_dry": {
"name": "Charge recommandée (lavage et séchage)"
},
"energy_label": {
"name": "Efficacité énergétique"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,14 @@
"delay_time": {
"name": "Delay Start"
},
"suggested_load": {
"name": "יכולת עומס"
"suggested_load_wash": {
"name": "משקל מומלץ לכביסה"
},
"suggested_load_dry": {
"name": "משקל מומלץ לייבוש"
},
"suggested_load_wash_dry": {
"name": "משקל מומלץ לכביסה וייבוש"
},
"energy_label": {
"name": "חסכון באנרגיה"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Odgoda početka"
},
"suggested_load": {
"name": "Kapacitet rublja"
"suggested_load_wash": {
"name": "Preporučeno punjenje za pranje"
},
"suggested_load_dry": {
"name": "Preporučeno punjenje za sušenje"
},
"suggested_load_wash_dry": {
"name": "Preporučeno punjenje za pranje i sušenje"
},
"energy_label": {
"name": "Energetska učinkovitost"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,14 @@
"delay_time": {
"name": "Utilizzo nelle ore notturne"
},
"suggested_load": {
"name": "Capacità di carico"
"suggested_load_wash": {
"name": "Carico consigliato lavaggio"
},
"suggested_load_dry": {
"name": "Carico consigliato asciugatura"
},
"suggested_load_wash_dry": {
"name": "Carico consigliato lavaggio/asciugatura"
},
"energy_label": {
"name": "Efficienza energetica"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Vertraag Start"
},
"suggested_load": {
"name": "Laadvermogen"
"suggested_load_wash": {
"name": "Laadvermogen wasgoed"
},
"suggested_load_dry": {
"name": "Laadvermogen drogen"
},
"suggested_load_wash_dry": {
"name": "Laadvermogen wassen en drogen"
},
"energy_label": {
"name": "Energie-efficiëntie"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Opóźniony Start"
},
"suggested_load": {
"name": "Ładowność"
"suggested_load_wash": {
"name": "Sugerowana ilość prania"
},
"suggested_load_dry": {
"name": "Sugerowana ilość suszenia"
},
"suggested_load_wash_dry": {
"name": "Sugerowana ilość prania i suszenia"
},
"energy_label": {
"name": "Efektywność energetyczna"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Início adiado"
},
"suggested_load": {
"name": "Capacidade de carga"
"suggested_load_wash": {
"name": "Carga sugerida para lavagem"
},
"suggested_load_dry": {
"name": "Carga sugerida para secagem"
},
"suggested_load_wash_dry": {
"name": "Carga sugerida para lavagem e secagem"
},
"energy_label": {
"name": "Eficiência energética"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Pornire întârziată"
},
"suggested_load": {
"name": "Capacitate de încărcare"
"suggested_load_wash": {
"name": "Încărcare sugerată (spălare)"
},
"suggested_load_dry": {
"name": "Încărcare sugerată (uscare)"
},
"suggested_load_wash_dry": {
"name": "Încărcare sugerată (spălare + uscare)"
},
"energy_label": {
"name": "Eficiență energetică"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Отложенный пуск"
},
"suggested_load": {
"name": "Допустимая загрузка"
"suggested_load_wash": {
"name": "Рекомендуемая загрузка стирки"
},
"suggested_load_dry": {
"name": "Рекомендуемая загрузка сушки"
},
"suggested_load_wash_dry": {
"name": "Рекомендуемая загрузка стирки и сушки"
},
"energy_label": {
"name": "Энергоэффективность"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Odložený štart"
},
"suggested_load": {
"name": "Kapacita naplnenia"
"suggested_load_wash": {
"name": "Kapacita prania"
},
"suggested_load_dry": {
"name": "Kapacita sušenia"
},
"suggested_load_wash_dry": {
"name": "Kapacita prania a sušenia"
},
"energy_label": {
"name": "Energetická účinnosť"
Expand Down
8 changes: 7 additions & 1 deletion custom_components/hon/translations/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,9 +855,15 @@
"delay_time": {
"name": "S funkcijo Zamik vklopa je možno odložiti začetek sušilnega cikla od 1 do 24 ur. Na zaslonu se prikaže izbrana zakasnitev. Da bi videli kako se zmanjšuje iz ure v uro, pritisnite ZAČETEK. Na ta način bo perilo suho takrat, ko boste to želeli, in zagnali cikel, ko vam to najbolj ustreza, celo ponoči."
},
"suggested_load": {
"suggested_load_wash": {
"name": "Zmogljivost pranja"
},
"suggested_load_dry": {
"name": "Zmogljivost sušenja"
},
"suggested_load_wash_dry": {
"name": "Zmogljivost pranja in sušenja"
},
"energy_label": {
"name": "Energijska učinkovitost"
},
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/sr.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Odloženi start"
},
"suggested_load": {
"name": "Kapacitet punjenja"
"suggested_load_wash": {
"name": "Kapacitet pranja"
},
"suggested_load_dry": {
"name": "Kapacitet sušenja"
},
"suggested_load_wash_dry": {
"name": "Kapacitet pranja i sušenja"
},
"energy_label": {
"name": "Energetska efikasnost"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,14 @@
"delay_time": {
"name": "Gecikmeli Başlatma"
},
"suggested_load": {
"name": "Yük kapasitesi"
"suggested_load_wash": {
"name": "Yük önerisi (Yıkama)"
},
"suggested_load_dry": {
"name": "Yük önerisi (Kurutma)"
},
"suggested_load_wash_dry": {
"name": "Yük önerisi (Yıkama ve kurutma)"
},
"energy_label": {
"name": "Enerji verimliliği"
Expand Down
10 changes: 8 additions & 2 deletions custom_components/hon/translations/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,14 @@
"delay_time": {
"name": "延时启动"
},
"suggested_load": {
"name": "负载能力"
"suggested_load_wash": {
"name": "负载能力 - 洗涤"
},
"suggested_load_dry": {
"name": "负载能力 - 烘干"
},
"suggested_load_wash_dry": {
"name": "负载能力 - 洗涤 & 烘干"
},
"energy_label": {
"name": "能效"
Expand Down
Loading