From 9c0b467d68d32dceb0bf26bb3758ba576d2c9337 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sat, 22 Apr 2023 21:42:16 +0200 Subject: [PATCH] Remove invalid translation keys --- custom_components/hon/translations/cs.json | 4 ---- custom_components/hon/translations/de.json | 4 ---- custom_components/hon/translations/el.json | 4 ---- custom_components/hon/translations/en.json | 5 +---- custom_components/hon/translations/es.json | 4 ---- custom_components/hon/translations/fr.json | 4 ---- custom_components/hon/translations/hr.json | 4 ---- custom_components/hon/translations/it.json | 4 ---- custom_components/hon/translations/nl.json | 4 ---- custom_components/hon/translations/pl.json | 4 ---- custom_components/hon/translations/pt.json | 4 ---- custom_components/hon/translations/ro.json | 4 ---- custom_components/hon/translations/ru.json | 4 ---- custom_components/hon/translations/sk.json | 4 ---- custom_components/hon/translations/sl.json | 4 ---- custom_components/hon/translations/sr.json | 4 ---- custom_components/hon/translations/tr.json | 4 ---- custom_components/hon/translations/zh.json | 4 ---- scripts/generate_translation.py | 4 +++- 19 files changed, 4 insertions(+), 73 deletions(-) diff --git a/custom_components/hon/translations/cs.json b/custom_components/hon/translations/cs.json index 030c7b8..4f85331 100644 --- a/custom_components/hon/translations/cs.json +++ b/custom_components/hon/translations/cs.json @@ -91,7 +91,6 @@ "eco_synch": "Eko 45 \u00b0C", "gentle_wash": "Gentle wash", "glass": "Sklo", - "glass _care": "Glass Care", "glassware": "Sklo 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Hygiena", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "N\u00e1dob\u00ed na pizzu", "iot_plastic_tupperware": "Plastov\u00e9 n\u00e1dob\u00ed a Tupperware", "iot_porcelain": "Porcel\u00e1n", - "iot_pot_&_pans": "Hrnce a p\u00e1nve", - "iot_pot_&_pans_soil": "Hrnce a p\u00e1nve", "iot_power_mix_wash": "Power Mix Wash", "iot_power_mix_wash_soil": "Power Mix Wash", "iot_prewash": "P\u0159edp\u00edrka", @@ -470,7 +467,6 @@ "hygiene_60": "Hygienick\u00fd 60\u00b0", "hygiene_plus_59": "Hygienicky Plus 59'", "hygiene_plus_59_min": "Hygienicky Plus 59'", - "hygiene_pro _49_min": "Hygienick\u00fd Pro 49 '", "hygiene_pro_49_min": "Hygienick\u00fd Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + p\u00e1ra", "intensive_40": "Intenzivn\u00ed 40\u00b0C", diff --git a/custom_components/hon/translations/de.json b/custom_components/hon/translations/de.json index 63bd206..1e2a90a 100644 --- a/custom_components/hon/translations/de.json +++ b/custom_components/hon/translations/de.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Glas", - "glass _care": "Glass Care", "glassware": "Gl\u00e4ser 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Hygiene", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizzageschirr", "iot_plastic_tupperware": "Kunststoff & Tupperware", "iot_porcelain": "Porzellan", - "iot_pot_&_pans": "T\u00f6pfe & Pfannen", - "iot_pot_&_pans_soil": "T\u00f6pfe & Pfannen", "iot_power_mix_wash": "Power Mix Wash", "iot_power_mix_wash_soil": "Power Mix Wash", "iot_prewash": "Vorsp\u00fclen", @@ -470,7 +467,6 @@ "hygiene_60": "Hygiene 60\u00b0", "hygiene_plus_59": "Hygiene Plus 59'", "hygiene_plus_59_min": "Hygiene Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 '", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + Dampf", "intensive_40": "Intensiv 40\u00b0C", diff --git a/custom_components/hon/translations/el.json b/custom_components/hon/translations/el.json index 5bede0e..47aac1e 100644 --- a/custom_components/hon/translations/el.json +++ b/custom_components/hon/translations/el.json @@ -91,7 +91,6 @@ "eco_synch": "ECO 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "\u03a0\u03bf\u03c4\u03ae\u03c1\u03b9", - "glass _care": "Glass Care", "glassware": "\u03b3\u03c5\u03b1\u03bb\u03b9\u03ba\u03b1 45\u00b0C", "glass_care": "Glass Care", "hygiene": "\u03a5\u03b3\u03b9\u03b5\u03b9\u03bd\u03cc", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "\u039c\u03b5\u03bd\u03bf\u03cd \u03a0\u03af\u03c4\u03c3\u03b1", "iot_plastic_tupperware": "\u03a0\u03bb\u03b1\u03c3\u03c4\u03b9\u03ba\u03ac & \u03a4\u03ac\u03c0\u03b5\u03c1", "iot_porcelain": "\u03a0\u03bf\u03c1\u03c3\u03b5\u03bb\u03ac\u03bd\u03b7", - "iot_pot_&_pans": "\u039a\u03b1\u03c4\u03c3\u03b1\u03c1\u03cc\u03bb\u03b5\u03c2 & \u03a4\u03b7\u03b3\u03ac\u03bd\u03b9\u03b1", - "iot_pot_&_pans_soil": "\u039a\u03b1\u03c4\u03c3\u03b1\u03c1\u03cc\u03bb\u03b5\u03c2 & \u03a4\u03b7\u03b3\u03ac\u03bd\u03b9\u03b1", "iot_power_mix_wash": "\u0399\u03c3\u03c7\u03c5\u03c1\u03ae \u03a0\u03bb\u03cd\u03c3\u03b7 \u03b3\u03b9\u03b1 \u039c\u03b9\u03ba\u03c4\u03ac", "iot_power_mix_wash_soil": "\u0399\u03c3\u03c7\u03c5\u03c1\u03ae \u03a0\u03bb\u03cd\u03c3\u03b7 \u03b3\u03b9\u03b1 \u039c\u03b9\u03ba\u03c4\u03ac", "iot_prewash": "\u03c0\u03c1\u03bf\u03c0\u03bb\u03c5\u03c3\u03b7", @@ -470,7 +467,6 @@ "hygiene_60": "\u03a5\u03b3\u03b9\u03b5\u03b9\u03bd\u03cc 60\u00b0", "hygiene_plus_59": "HYGIENE PLUS 59'", "hygiene_plus_59_min": "HYGIENE PLUS 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 \u03bb\u03b5\u03c0\u03c4\u03ac", "hygiene_pro_49_min": "Hygiene Pro 49 \u03bb\u03b5\u03c0\u03c4\u03ac", "hygiene_pro_steam": "Hygiene Pro + \u0391\u03c4\u03bc\u03cc\u03c2", "intensive_40": "\u0395\u03bd\u03c4\u03b1\u03c4\u03b9\u03ba\u03cc 40\u00b0C", diff --git a/custom_components/hon/translations/en.json b/custom_components/hon/translations/en.json index f544d66..99a878e 100644 --- a/custom_components/hon/translations/en.json +++ b/custom_components/hon/translations/en.json @@ -175,7 +175,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Glass", - "glass _care": "Glass Care", "glassware": "Glassware 45\u00b0C", "glass_care": "Glass Care", "hygiene": "Hygiene", @@ -211,8 +210,6 @@ "iot_pizza_menu_soil": "Pizza Menu", "iot_plastic_tupperware": "Plastic & Tupperware", "iot_porcelain": "Porcelain", - "iot_pot_&_pans": "Pot & Pans", - "iot_pot_&_pans_soil": "Pot & Pans", "iot_power_mix_wash": "Power Mix Wash", "iot_power_mix_wash_soil": "Power Mix Wash", "iot_prewash": "Pre-wash ", @@ -322,6 +319,7 @@ "iot_h20_clean": "h2O clean", "leavening": "Leavening", "light_fan": "Light Fan", + "light_fan\n": "Light Fan", "low_temp_cooking": "Low Temperature Cooking", "low_temp_cooking_fish": "Low Temperature Cooking - Fish", "low_temp_cooking_fish_steam": "Low Temperature Steam Cooking - Fish", @@ -559,7 +557,6 @@ "hygiene_60": "Hygiene 60\u00b0C", "hygiene_plus_59": "Hygiene Plus 59'", "hygiene_plus_59_min": "Hygiene Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49'", "hygiene_pro_49_min": "Hygiene Pro 49'", "hygiene_pro_steam": "Hygiene Pro + Steam", "intensive_40": "Intensive 40\u00b0C", diff --git a/custom_components/hon/translations/es.json b/custom_components/hon/translations/es.json index dd3051c..a2fe490 100644 --- a/custom_components/hon/translations/es.json +++ b/custom_components/hon/translations/es.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Cristal", - "glass _care": "Glass Care", "glassware": "Cristal 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Higiene", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizza Men\u00fa", "iot_plastic_tupperware": "Pl\u00e1stico y Tupperware", "iot_porcelain": "Porcelana", - "iot_pot_&_pans": "Ollas y Sartenes", - "iot_pot_&_pans_soil": "Ollas y Sartenes", "iot_power_mix_wash": "Power Mix Wash", "iot_power_mix_wash_soil": "Power Mix Wash", "iot_prewash": "Pre-lavado", @@ -470,7 +467,6 @@ "hygiene_60": "Higiene 60\u00b0 C", "hygiene_plus_59": "Higiene Plus 59'", "hygiene_plus_59_min": "Higiene Plus 59'", - "hygiene_pro _49_min": "Higiene Pro 49 '", "hygiene_pro_49_min": "Higiene Pro 49 min", "hygiene_pro_steam": "Higiene Pro + Vapor", "intensive_40": "Intensivo 40\u00b0C", diff --git a/custom_components/hon/translations/fr.json b/custom_components/hon/translations/fr.json index 5db951a..bc18fb4 100644 --- a/custom_components/hon/translations/fr.json +++ b/custom_components/hon/translations/fr.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "En verre", - "glass _care": "Glass Care", "glassware": "Verres 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Hygi\u00e8ne", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Menu Pizza", "iot_plastic_tupperware": "Plastique & Tupperware", "iot_porcelain": "Porcelaine", - "iot_pot_&_pans": "Casseroles & po\u00eales", - "iot_pot_&_pans_soil": "Casseroles & po\u00eales", "iot_power_mix_wash": "Power Mix Wash", "iot_power_mix_wash_soil": "Power Mix Wash", "iot_prewash": "Pr\u00e9lavage", @@ -470,7 +467,6 @@ "hygiene_60": "Hygi\u00e8ne 60\u00b0", "hygiene_plus_59": "Hygiene Plus 59'", "hygiene_plus_59_min": "Hygiene Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49\u00a0'", "hygiene_pro_49_min": "Hygiene Pro 49\u00a0min", "hygiene_pro_steam": "Hygiene Pro + Vapeur", "intensive_40": "Intensif 40\u00b0C", diff --git a/custom_components/hon/translations/hr.json b/custom_components/hon/translations/hr.json index bb2fbe9..e632175 100644 --- a/custom_components/hon/translations/hr.json +++ b/custom_components/hon/translations/hr.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Staklo", - "glass _care": "Glass Care", "glassware": "Glassware (Stakleno posu\u0111e) 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Hygiene", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizza", "iot_plastic_tupperware": "Plastika", "iot_porcelain": "Porculan", - "iot_pot_&_pans": "Lonci & tave", - "iot_pot_&_pans_soil": "Lonci & tave", "iot_power_mix_wash": "Power Mix Wash", "iot_power_mix_wash_soil": "Power Mix Wash", "iot_prewash": "Pretpranje", @@ -470,7 +467,6 @@ "hygiene_60": "Higijena 60\u00b0", "hygiene_plus_59": "Hygijenski Plus 59'", "hygiene_plus_59_min": "Hygijenski Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 '", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + para", "intensive_40": "Intenzivno 40\u00b0C", diff --git a/custom_components/hon/translations/it.json b/custom_components/hon/translations/it.json index d12fe67..47cabf3 100644 --- a/custom_components/hon/translations/it.json +++ b/custom_components/hon/translations/it.json @@ -163,7 +163,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Calici", - "glass _care": "Glass Care", "glassware": "Cristalli 45\u00b0C", "glass_care": "Glass Care", "hygiene": "Igiene", @@ -199,8 +198,6 @@ "iot_pizza_menu_soil": "Pizza Menu", "iot_plastic_tupperware": "Plastiche & Tupperware", "iot_porcelain": "Porcellane", - "iot_pot_&_pans": "Pentole & Padelle", - "iot_pot_&_pans_soil": "Pentole & Padelle", "iot_power_mix_wash": "Power Mix Wash", "iot_power_mix_wash_soil": "Power Mix Wash", "iot_prewash": "Prelavaggio", @@ -542,7 +539,6 @@ "hygiene_60": "Igiene 60\u00b0C", "hygiene_plus_59": "Igiene Plus 59'", "hygiene_plus_59_min": "Igiene Plus 59'", - "hygiene_pro _49_min": "Igiene Pro 49'", "hygiene_pro_49_min": "Igiene Pro 49'", "hygiene_pro_steam": "Hygiene Pro + Vapore", "intensive_40": "Intensivo 40\u00b0C", diff --git a/custom_components/hon/translations/nl.json b/custom_components/hon/translations/nl.json index 8df7bff..0760b98 100644 --- a/custom_components/hon/translations/nl.json +++ b/custom_components/hon/translations/nl.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Glas", - "glass _care": "Glass Care", "glassware": "Glaswerk 45\u00b0C", "glass_care": "Glass Care", "hygiene": "Hygi\u00ebne", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizza Menu", "iot_plastic_tupperware": "Plastiek & Tupperware", "iot_porcelain": "Porcelein", - "iot_pot_&_pans": "Potten & Pannen", - "iot_pot_&_pans_soil": "Potten & Pannen", "iot_power_mix_wash": "Power Mix Was", "iot_power_mix_wash_soil": "Power Mix Was", "iot_prewash": "Voorwas", @@ -470,7 +467,6 @@ "hygiene_60": "Hygi\u00ebne 60 \u00b0C", "hygiene_plus_59": "Hygiene Plus 59'", "hygiene_plus_59_min": "Hygiene Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 '", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + stoom", "intensive_40": "Intensief 40\u00b0C", diff --git a/custom_components/hon/translations/pl.json b/custom_components/hon/translations/pl.json index 49dce72..718810d 100644 --- a/custom_components/hon/translations/pl.json +++ b/custom_components/hon/translations/pl.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Szk\u0142o", - "glass _care": "Glass Care", "glassware": "Szklane 45\u00b0C", "glass_care": "Glass Care", "hygiene": "Higiena", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizza", "iot_plastic_tupperware": "Plastik i pojemniki", "iot_porcelain": "Porcelana", - "iot_pot_&_pans": "Garnki i patelnie", - "iot_pot_&_pans_soil": "Garnki i patelnie", "iot_power_mix_wash": "Mieszanie zmywanie Power", "iot_power_mix_wash_soil": "Mieszanie zmywanie Power", "iot_prewash": "Mycie wst\u0119pne", @@ -470,7 +467,6 @@ "hygiene_60": "Higiena 60 \u00b0", "hygiene_plus_59": "Higiena Plus 59'", "hygiene_plus_59_min": "Higiena Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 '", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + Para", "intensive_40": "Intensywne 40\u00b0C", diff --git a/custom_components/hon/translations/pt.json b/custom_components/hon/translations/pt.json index dc3fb38..2ccd0aa 100644 --- a/custom_components/hon/translations/pt.json +++ b/custom_components/hon/translations/pt.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Vidro", - "glass _care": "Glass Care", "glassware": "Vidros 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Higiene", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Menu de Pizza", "iot_plastic_tupperware": "Pl\u00e1sticos e Tupperwares", "iot_porcelain": "Porcelana", - "iot_pot_&_pans": "Panelas e Tachos", - "iot_pot_&_pans_soil": "Panelas e Tachos", "iot_power_mix_wash": "Lavagem Power Mix", "iot_power_mix_wash_soil": "Lavagem Power Mix", "iot_prewash": "Pr\u00e9-lavagem", @@ -470,7 +467,6 @@ "hygiene_60": "Higiene 60\u00b0", "hygiene_plus_59": "Higiene Plus 59'", "hygiene_plus_59_min": "Higiene Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 '", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + Vapor", "intensive_40": "Intensivo 40\u00b0C", diff --git a/custom_components/hon/translations/ro.json b/custom_components/hon/translations/ro.json index 01525a9..2e174cc 100644 --- a/custom_components/hon/translations/ro.json +++ b/custom_components/hon/translations/ro.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Sticl\u0103", - "glass _care": "Glass Care", "glassware": "Sticl\u0103rie 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Igien\u0103", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Meniu Pizza", "iot_plastic_tupperware": "Recipiente din plastic", "iot_porcelain": "Por\u021belan", - "iot_pot_&_pans": "Oale & Tig\u0103i", - "iot_pot_&_pans_soil": "Oale & Tig\u0103i", "iot_power_mix_wash": "Sp\u0103lare Putere Mixt\u0103", "iot_power_mix_wash_soil": "Sp\u0103lare Putere Mixt\u0103", "iot_prewash": "Presp\u0103lare", @@ -470,7 +467,6 @@ "hygiene_60": "Igien\u0103 60\u00b0", "hygiene_plus_59": "Igiena Plus 59'", "hygiene_plus_59_min": "Igiena Plus 59'", - "hygiene_pro _49_min": "Igien\u0103 Pro 49 '", "hygiene_pro_49_min": "Igien\u0103 Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + Abur", "intensive_40": "Intensiv 40\u00b0C", diff --git a/custom_components/hon/translations/ru.json b/custom_components/hon/translations/ru.json index 0d49717..1c0fdfe 100644 --- a/custom_components/hon/translations/ru.json +++ b/custom_components/hon/translations/ru.json @@ -91,7 +91,6 @@ "eco_synch": "\u044d\u043a\u043e 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "\u0421\u0442\u0435\u043a\u043b\u043e", - "glass _care": "Glass Care", "glassware": "\u0441\u0442\u0435\u043a\u043b\u043e 45\u00b0C", "glass_care": "Glass Care", "hygiene": "\u0413\u0438\u0433\u0438\u0435\u043d\u0430", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "\u041c\u0435\u043d\u044e \u043f\u0438\u0446\u0446\u0430", "iot_plastic_tupperware": "\u041f\u043b\u0430\u0441\u0442\u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0435 \u043b\u043e\u0442\u043a\u0438 \u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u044b", "iot_porcelain": "\u0424\u0430\u0440\u0444\u043e\u0440", - "iot_pot_&_pans": "\u041a\u043e\u0442\u0435\u043b\u043a\u0438 \u0438 \u043a\u0430\u0441\u0442\u0440\u044e\u043b\u0438", - "iot_pot_&_pans_soil": "\u041a\u043e\u0442\u0435\u043b\u043a\u0438 \u0438 \u043a\u0430\u0441\u0442\u0440\u044e\u043b\u0438", "iot_power_mix_wash": "\u0418\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u043e\u0435 \u043c\u044b\u0442\u044c\u0435 \u0441\u043c\u0435\u0448\u0430\u043d\u043d\u043e\u0439 \u043f\u043e\u0441\u0443\u0434\u044b", "iot_power_mix_wash_soil": "\u0418\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u043e\u0435 \u043c\u044b\u0442\u044c\u0435 \u0441\u043c\u0435\u0448\u0430\u043d\u043d\u043e\u0439 \u043f\u043e\u0441\u0443\u0434\u044b", "iot_prewash": "\u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043c\u043e\u0439\u043a\u0430", @@ -470,7 +467,6 @@ "hygiene_60": "\u0413\u0438\u0433\u0438\u0435\u043d\u0438\u0447\u043d\u0430\u044f 60\u00b0", "hygiene_plus_59": "\u0413\u0418\u0413\u0418\u0415\u041d\u0418\u0427\u041d\u0410\u042f \u041f\u041b\u042e\u0421 59'", "hygiene_plus_59_min": "\u0413\u0418\u0413\u0418\u0415\u041d\u0418\u0427\u041d\u0410\u042f \u041f\u041b\u042e\u0421 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 \u043c\u0438\u043d.", "hygiene_pro_49_min": "Hygiene Pro 49 \u043c\u0438\u043d.", "hygiene_pro_steam": "Hygiene Pro + \u041f\u0430\u0440", "intensive_40": "\u0418\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u0430\u044f 40\u00b0\u0421", diff --git a/custom_components/hon/translations/sk.json b/custom_components/hon/translations/sk.json index 994e718..17c708f 100644 --- a/custom_components/hon/translations/sk.json +++ b/custom_components/hon/translations/sk.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Sklo", - "glass _care": "Glass Care", "glassware": "Sklo 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Hygiena", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizza Menu", "iot_plastic_tupperware": "Plastov\u00e9 riady a misky", "iot_porcelain": "Porcel\u00e1n", - "iot_pot_&_pans": "Hrnce a panvice", - "iot_pot_&_pans_soil": "Hrnce a panvice", "iot_power_mix_wash": "Power Mix Wash", "iot_power_mix_wash_soil": "Power Mix Wash", "iot_prewash": "Predum\u00fdvanie", @@ -470,7 +467,6 @@ "hygiene_60": "Hygiena 60\u00b0", "hygiene_plus_59": "Hygiena Plus 59'", "hygiene_plus_59_min": "Hygiena Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 '", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + para", "intensive_40": "Intenz\u00edvne pranie 40\u00b0C", diff --git a/custom_components/hon/translations/sl.json b/custom_components/hon/translations/sl.json index 7a6f6b1..1dceaf3 100644 --- a/custom_components/hon/translations/sl.json +++ b/custom_components/hon/translations/sl.json @@ -91,7 +91,6 @@ "eco_synch": "Eko 45 \u00b0C", "gentle_wash": "Gentle wash", "glass": "Kozarci", - "glass _care": "Glass Care", "glassware": "Steklo 45 \u00b0C", "glass_care": "Glass Care", "hygiene": "Higiena", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pica program", "iot_plastic_tupperware": "Plastika in posode za \u017eivila", "iot_porcelain": "Porcelan", - "iot_pot_&_pans": "Lonci in kozice", - "iot_pot_&_pans_soil": "Lonci in kozice", "iot_power_mix_wash": "Intenzivni za razli\u010dno posodo", "iot_power_mix_wash_soil": "Intenzivni za razli\u010dno posodo", "iot_prewash": "Predpranje", @@ -470,7 +467,6 @@ "hygiene_60": "Higiena 60'", "hygiene_plus_59": "Higiena Plus 59'", "hygiene_plus_59_min": "Higiena Plus 59'", - "hygiene_pro _49_min": "Higiena Pro 49 '", "hygiene_pro_49_min": "Higiena Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + Para", "intensive_40": "Intenzivno 40\u00b0C", diff --git a/custom_components/hon/translations/sr.json b/custom_components/hon/translations/sr.json index c552160..58b9e72 100644 --- a/custom_components/hon/translations/sr.json +++ b/custom_components/hon/translations/sr.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Staklo", - "glass _care": "Glass Care", "glassware": "Staklo 45\u00b0C", "glass_care": "Glass Care", "hygiene": "Higijena", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizza Meni", "iot_plastic_tupperware": "Plastika i Tupperware", "iot_porcelain": "Porcelan", - "iot_pot_&_pans": "\u0160erpe i Tiganji", - "iot_pot_&_pans_soil": "\u0160erpe i Tiganji", "iot_power_mix_wash": "Power Mix pranje", "iot_power_mix_wash_soil": "Power Mix pranje", "iot_prewash": "Predpranje", @@ -470,7 +467,6 @@ "hygiene_60": "Higijena 60\u00b0", "hygiene_plus_59": "Hygijenski Plus 59'", "hygiene_plus_59_min": "Hygijenski Plus 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 '", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + para", "intensive_40": "Intenzivno 40\u00b0C", diff --git a/custom_components/hon/translations/tr.json b/custom_components/hon/translations/tr.json index 2ccc3e6..cbd30f3 100644 --- a/custom_components/hon/translations/tr.json +++ b/custom_components/hon/translations/tr.json @@ -91,7 +91,6 @@ "eco_synch": "Eco 45\u00b0C", "gentle_wash": "Gentle wash", "glass": "Cam", - "glass _care": "Glass Care", "glassware": "Cam E\u015fya 45\u00b0C", "glass_care": "Glass Care", "hygiene": "Hijyen", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizza Men\u00fcs\u00fc", "iot_plastic_tupperware": "Plastik ve Tupperware", "iot_porcelain": "Porselen", - "iot_pot_&_pans": "Tencereler ve Tavalar", - "iot_pot_&_pans_soil": "Tencereler ve Tavalar", "iot_power_mix_wash": "Power Mix Y\u0131kama", "iot_power_mix_wash_soil": "Power Mix Y\u0131kama", "iot_prewash": "Pre-wash", @@ -470,7 +467,6 @@ "hygiene_60": "Hijyen 60\u00b0", "hygiene_plus_59": "Hijyen 59'", "hygiene_plus_59_min": "Hijyen 59'", - "hygiene_pro _49_min": "Hygiene Pro 49 '", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + Buhar", "intensive_40": "Yo\u011fun 40\u00b0C", diff --git a/custom_components/hon/translations/zh.json b/custom_components/hon/translations/zh.json index 1a42639..836a97f 100644 --- a/custom_components/hon/translations/zh.json +++ b/custom_components/hon/translations/zh.json @@ -91,7 +91,6 @@ "eco_synch": "\u7ecf\u6d4e45\u2103", "gentle_wash": "Gentle wash", "glass": "\u73bb\u7483", - "glass _care": "Glass Care", "glassware": "\u73bb\u7483\u5668\u76bf45\u00b0C", "glass_care": "Glass Care", "hygiene": "\u536b\u751f", @@ -127,8 +126,6 @@ "iot_pizza_menu_soil": "Pizza\u9910\u5177", "iot_plastic_tupperware": "\u5851\u6599\u9910\u5177", "iot_porcelain": "\u74f7\u5668", - "iot_pot_&_pans": "\u9505\u7c7b", - "iot_pot_&_pans_soil": "\u9505\u7c7b", "iot_power_mix_wash": "\u6df7\u5408\u6d17\u6da4", "iot_power_mix_wash_soil": "\u6df7\u5408\u6d17\u6da4", "iot_prewash": "\u9884\u6d17", @@ -470,7 +467,6 @@ "hygiene_60": "\u536b\u751f 60\u00b0", "hygiene_plus_59": "\u536b\u751f\u589e\u5f3a 59 \u5206", "hygiene_plus_59_min": "\u536b\u751f\u589e\u5f3a 59 \u5206", - "hygiene_pro _49_min": "49 \u5206\u949f\u536b\u751f\u4e13\u5bb6", "hygiene_pro_49_min": "Hygiene Pro 49 min", "hygiene_pro_steam": "Hygiene Pro + \u84b8\u6c7d", "intensive_40": "\u52a0\u5f3a 40\u00b0C", diff --git a/scripts/generate_translation.py b/scripts/generate_translation.py index cf81d1b..f7696e5 100644 --- a/scripts/generate_translation.py +++ b/scripts/generate_translation.py @@ -1,5 +1,6 @@ import asyncio import json +import re from pathlib import Path from pyhon import HonAPI @@ -146,13 +147,14 @@ def load_key(full_key, json_data, fallback=None): def load_keys(full_key, json_data): - blacklist = ["description", "\n", "_recipe_", "_guided_"] + blacklist = ["description", "_recipe_", "_guided_"] first, last = full_key.split(".") data = json_data.get(first, {}).get(last, {}) return { key.lower(): value for key, value in data.items() if not any(b in key.lower() for b in blacklist) + and re.findall("^[a-z0-9-_]+$", key.lower()) }