Selaa lähdekoodia

Use recipe translations for Ultenic air fryer.

Jason Rumney 1 vuosi sitten
vanhempi
commit
9d6504ee0d

+ 17 - 32
custom_components/tuya_local/devices/ultenic_air_fryer.yaml

@@ -23,59 +23,44 @@ secondary_entities:
         name: switch
   - entity: select
     name: Cooking mode
+    translation_key: recipe
     dps:
       - id: 3
         type: string
         name: option
         mapping:
           - dps_val: fries
-            value: French fries
-            icon: "mdi:french-fries"
+            value: fries
           - dps_val: wings
-            value: Chicken wings
-            icon: "mdi:food-drumstick"
+            value: chicken_wings
           - dps_val: steak
-            value: Steak
-            icon: "mdi:food-steak"
+            value: steak
           - dps_val: shrimp
-            value: Shrimp
-            icon: "mdi:sausage"
+            value: shrimp
           - dps_val: fish
-            value: Fish
-            icon: "mdi:fish"
+            value: fish
           - dps_val: onionrings
-            value: Onion Rings
-            icon: "mdi:bullseye"
+            value: onion_rings
           - dps_val: pizza
-            value: Pizza
-            icon: "mdi:pizza"
+            value: pizza
           - dps_val: bacon
-            value: Bacon
-            icon: "mdi:food-steak"
+            value: bacon
           - dps_val: cake
-            value: Baking
-            icon: "mdi:cake-variant"
+            value: cake
           - dps_val: toast
-            value: Toast
-            icon: "mdi:bread-slice"
+            value: toast
           - dps_val: vegetable
-            value: Vegetables
-            icon: "mdi:carrot"
+            value: vegetables
           - dps_val: custom
-            value: Custom
-            icon: "mdi:cogs"
+            value: custom
           - dps_val: cloud
-            value: Cloud recipe
-            icon: "mdi:cloud-print-outline"
+            value: cloud_recipe
           - dps_val: default
-            value: Default
-            icon: "mdi:toaster-oven"
+            value: default
           - dps_val: warm
-            value: Keep warm
-            icon: "mdi:heat-wave"
+            value: keep_warm
           - dps_val: preheat
-            value: Preheat
-            icon: "mdi:fire"
+            value: preheat
   - entity: sensor
     name: Status
     class: enum

+ 12 - 1
custom_components/tuya_local/icons.json

@@ -116,10 +116,21 @@
                     "pizza": "mdi:pizza",
                     "fries": "mdi:french-fries",
                     "chicken": "mdi:food-turkey",
+                    "shrimp": "mdi:sausage",
                     "fish": "mdi:food-fish",
                     "chicken_drumsticks": "mdi:food-drumstick",
+                    "chicken_wings": "mdi:food-drumstick",
                     "vegetables": "mdi:leek",
-                    "desserts": "mdi:cupcake"
+                    "desserts": "mdi:cupcake",
+                    "steak": "mdi:food-steak",
+                    "onion_rings": "mdi:bullseye",
+                    "bacon": "mdi:food-steak",
+                    "cake": "mdi:cake-variant",
+                    "toast": "mdi:bread-slice",
+                    "custom": "mdi:food-fork-drink",
+                    "cloud_recipe": "mdi:cloud-print",
+                    "keep_warm": "mdi:heat-wave",
+                    "preheat": "mdi:fire"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/bg.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Пилешки крака",
                     "vegetables": "Зеленчуци",
                     "desserts": "Десерти",
-                    "none": "Няма"
+                    "none": "Няма",
+                    "chicken_wings": "Пилешки крилца",
+                    "steak": "Стек",
+                    "onion_rings": "Лукови пръстени",
+                    "bacon": "Сладко",
+                    "cake": "Торта",
+                    "toast": "Тост",
+                    "custom": "Потребителски",
+                    "cloud_recipe": "Облак рецепта",
+                    "default": "По подразбиране",
+                    "keep_warm": "Поддържайте топло",
+                    "preheat": "Предварително загряване"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/cz.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Kuřecí stehna",
                     "vegetables": "Zelenina",
                     "desserts": "Dezerty",
-                    "none": "Žádný"
+                    "none": "Žádný",
+                    "chicken_wings": "Kuřecí křídla",
+                    "steak": "Steak",
+                    "onion_rings": "Cibulové kroužky",
+                    "bacon": "Slanina",
+                    "cake": "Koláč",
+                    "toast": "Topinka",
+                    "custom": "Vlastní",
+                    "cloud_recipe": "Recept z cloudu",
+                    "default": "Výchozí",
+                    "keep_warm": "Udržování tepla",
+                    "preheat": "Předehřátí"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/de.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Hähnchenschenkel",
                     "vegetables": "Gemüse",
                     "desserts": "Desserts",
-                    "none": "Kein Rezept"
+                    "none": "Kein Rezept",
+                    "chicken_wings": "Hähnchenflügel",
+                    "steak": "Steak",
+                    "onion_rings": "Zwiebelringe",
+                    "bacon": "Speck",
+                    "cake": "Kuchen",
+                    "toast": "Toast",
+                    "custom": "Benutzerdefiniert",
+                    "cloud_recipe": "Cloud-Rezept",
+                    "default": "Standard",
+                    "keep_warm": "Warmhalten",
+                    "preheat": "Vorheizen"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/el.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Μπατονέτες κοτόπουλου",
                     "vegetables": "Λαχανικά",
                     "desserts": "Γλυκά",
-                    "none": "Καμία"
+                    "none": "Καμία",
+                    "chicken_wings": "Φτερούγες κοτόπουλου",
+                    "steak": "Μπριζόλα",
+                    "onion_rings": "Κρεμμύδια",
+                    "bacon": "Μπέικον",
+                    "cake": "Κέικ",
+                    "toast": "Ψωμί",
+                    "custom": "Προσαρμοσμένο",
+                    "cloud_recipe": "Συνταγή από το cloud",
+                    "default": "Προεπιλογή",
+                    "keep_warm": "Διατήρηση θερμοκρασίας",
+                    "preheat": "Προθέρμανση"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/en.json

@@ -375,7 +375,18 @@
                     "chicken_drumsticks": "Chicken Drumsticks",
                     "vegetables": "Vegetables",
                     "desserts": "Desserts",
-                    "none": "None"
+                    "none": "None",
+                    "chicken_wings": "Chicken Wings",
+                    "steak": "Steak",
+                    "onion_rings": "Onion Rings",
+                    "bacon": "Bacon",
+                    "cake": "Cake",
+                    "toast": "Toast",
+                    "custom": "Custom",
+                    "cloud_recipe": "Cloud Recipe",
+                    "default": "Default",
+                    "keep_warm": "Keep Warm",
+                    "preheat": "Preheat"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/es.json

@@ -368,7 +368,18 @@
                     "chicken_drumsticks", "Muslos de pollo",
                     "vegetables": "Verduras",
                     "desserts": "Postres",
-                    "none": "Ninguno"
+                    "none": "Ninguno",
+                    "chicken_wings": "Alitas de pollo",
+                    "steak": "Filete",
+                    "onion_rings": "Aros de cebolla",
+                    "bacon": "Tocino",
+                    "cake": "Pastel",
+                    "toast": "Tostada",
+                    "custom": "Personalizado",
+                    "cloud_recipe": "Receta de la nube",
+                    "default": "Predeterminado",
+                    "keep_warm": "Mantener caliente",
+                    "preheat": "Precalentar"
                 }
             }
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/fr.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Cuisses de poulet",
                     "vegetables": "Légumes",
                     "desserts": "Desserts",
-                    "none": "Aucun"
+                    "none": "Aucun",
+                    "chicken_wings": "Ailes de poulet",
+                    "steak": "Steak",
+                    "onion_rings": "Rondelles d'oignon",
+                    "bacon": "Bacon",
+                    "cake": "Gâteau",
+                    "toast": "Toast",
+                    "custom": "Personnalisé",
+                    "cloud_recipe": "Recette Cloud",
+                    "default": "Défaut",
+                    "keep_warm": "Garder au chaud",
+                    "preheat": "Préchauffer"
                 }
             }
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/hu.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Csirkecomb",
                     "vegetables": "Zöldségek",
                     "desserts": "Desszert",
-                    "none": "Nincs"
+                    "none": "Nincs",
+                    "chicken_wings": "Csirkeszárnyak",
+                    "steak": "Steak",
+                    "onion_rings": "Hagymakarikák",
+                    "bacon": "Szalonna",
+                    "cake": "Sütemény",
+                    "toast": "Pirítós",
+                    "custom": "Egyéni",
+                    "cloud_recipe": "Felhő recept",
+                    "default": "Alapértelmezett",
+                    "keep_warm": "Melegen tartás",
+                    "preheat": "Előmelegítés"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/id.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Paha ayam",
                     "vegetables": "Sayuran",
                     "desserts": "Makanan penutup",
-                    "none": "Tidak ada"
+                    "none": "Tidak ada",
+                    "chicken_wings": "Sayap ayam",
+                    "steak": "Steak",
+                    "onion_rings": "Cincang bawang",
+                    "bacon": "Bacon",
+                    "cake": "Kue",
+                    "toast": "Roti panggang",
+                    "custom": "Kustom",
+                    "cloud_recipe": "Resep awan",
+                    "default": "Default",
+                    "keep_warm": "Tetap hangat",
+                    "preheat": "Pemanasan awal"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/it.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Cosce di pollo",
                     "vegetables": "Verdure",
                     "desserts": "Dolci",
-                    "none": "Nessuno"
+                    "none": "Nessuno",
+                    "chicken_wings": "Ali di pollo",
+                    "steak": "Bistecca",
+                    "onion_rings": "Anelli di cipolla",
+                    "bacon": "Pancetta",
+                    "cake": "Torta",
+                    "toast": "Tostare",
+                    "custom": "Personalizzato",
+                    "cloud_recipe": "Ricetta cloud",
+                    "default": "Predefinito",
+                    "keep_warm": "Mantenere caldo",
+                    "preheat": "Preriscaldare"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/ja.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "チキンのドラムスティック",
                     "vegetables": "野菜",
                     "desserts": "デザート",
-                    "none": "なし"
+                    "none": "なし",
+                    "chicken_wings": "チキンウィング",
+                    "steak": "ステーキ",
+                    "onion_rings": "オニオンリング",
+                    "bacon": "ベーコン",
+                    "cake": "ケーキ",
+                    "toast": "トースト",
+                    "custom": "カスタム",
+                    "cloud_recipe": "クラウドレシピ",
+                    "default": "デフォルト",
+                    "keep_warm": "保温",
+                    "preheat": "予熱"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/no-NB.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Kyllinglår",
                     "vegetables": "Grønnsaker",
                     "desserts": "Desserter",
-                    "none": "Ingen"
+                    "none": "Ingen",
+                    "chicken_wings": "Kyllingvinger",
+                    "steak": "Biff",
+                    "onion_rings": "Løkringer",
+                    "bacon": "Bacon",
+                    "cake": "Kake",
+                    "toast": "Toast",
+                    "custom": "Egendefinert",
+                    "cloud_recipe": "Skyoppskrift",
+                    "default": "Standard",
+                    "keep_warm": "Hold varm",
+                    "preheat": "Forvarm"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/pl.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Udko z kurczaka",
                     "vegetables": "Warzywa",
                     "desserts": "Desery",
-                    "none": "Brak"
+                    "none": "Brak",
+                    "chicken_wings": "Skrzydełka z kurczaka",
+                    "steak": "Stek",
+                    "onion_rings": "Kolcze cebuli",
+                    "bacon": "Boczek",
+                    "cake": "Ciasto",
+                    "toast": "Tost",
+                    "custom": "Niestandardowy",
+                    "cloud_recipe": "Przepis z chmury",
+                    "default": "Domyślny",
+                    "keep_warm": "Podgrzewanie",
+                    "preheat": "Rozgrzewanie"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/pt-BR.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Coxas de frango",
                     "vegetables": "Legumes",
                     "desserts": "Sobremesas",
-                    "none": "Nenhum"
+                    "none": "Nenhum",
+                    "chicken_wings": "Asas de frango",
+                    "steak": "Bife",
+                    "onion_rings": "Anéis de cebola",
+                    "bacon": "Bacon",
+                    "cake": "Bolo",
+                    "toast": "Torrada",
+                    "custom": "Personalizado",
+                    "cloud_recipe": "Receita da nuvem",
+                    "default": "Padrão",
+                    "keep_warm": "Manter quente",
+                    "preheat": "Pré-aquecer"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/ru.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Куриные ножки",
                     "vegetables": "Овощи",
                     "desserts": "Десерты",
-                    "none": "Нет"
+                    "none": "Нет",
+                    "chicken_wings": "Куриные крылья",
+                    "steak": "Стейк",
+                    "onion_rings": "Луковые кольца",
+                    "bacon": "Бекон",
+                    "cake": "Торт",
+                    "toast": "Тост",
+                    "custom": "Пользовательский",
+                    "cloud_recipe": "Облако",
+                    "default": "По умолчанию",
+                    "keep_warm": "Поддержание тепла",
+                    "preheat": "Предварительный нагрев"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/uk.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "Курячі гомілки",
                     "vegetables": "Овочі",
                     "desserts": "Десерти",
-                    "none": "Нічого"
+                    "none": "Нічого",
+                    "chicken_wings": "Курячі крильця",
+                    "steak": "Стейк",
+                    "onion_rings": "Цибуляні кільця",
+                    "bacon": "Бекон",
+                    "cake": "Торт",
+                    "toast": "Тост",
+                    "custom": "Користувацький",
+                    "cloud_recipe": "Хмарний рецепт",
+                    "default": "За замовчуванням",
+                    "keep_warm": "Підтримувати тепло",
+                    "preheat": "Попередній нагрів"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/ur.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "چکن ڈرم اسٹکس",
                     "vegetables": "سبزیاں",
                     "desserts": "میٹھا",
-                    "none": "کوئی نہیں"
+                    "none": "کوئی نہیں",
+                    "chicken_wings": "چکن ونگز",
+                    "steak": "اسٹیک",
+                    "onion_rings": "پیاز کے چھلکے",
+                    "bacon": "بیکن",
+                    "cake": "کیک",
+                    "toast": "ٹوسٹ",
+                    "custom": "اپنی مرضی",
+                    "cloud_recipe": "کلاؤڈ ریسیپی",
+                    "default": "پہلے سے طے شدہ",
+                    "keep_warm": "گرم رکھیں",
+                    "preheat": "پری ہیٹ"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/zh-Hans.json

@@ -375,7 +375,18 @@
                     "chicken_drumsticks": "鸡腿",
                     "vegetables": "蔬菜",
                     "desserts": "甜点",
-                    "none": "无"
+                    "none": "无",
+                    "chicken_wings": "鸡翅",
+                    "steak": "牛排",
+                    "onion_rings": "洋葱圈",
+                    "bacon": "培根",
+                    "cake": "蛋糕",
+                    "toast": "吐司",
+                    "custom": "自定义",
+                    "cloud_recipe": "云菜谱",
+                    "default": "默认",
+                    "keep_warm": "保温",
+                    "preheat": "预热"
                 }
             },
             "timer": {

+ 12 - 1
custom_components/tuya_local/translations/zh-Hant.json

@@ -328,7 +328,18 @@
                     "chicken_drumsticks": "雞腿",
                     "vegetables": "蔬菜",
                     "desserts": "甜點",
-                    "none": "無"
+                    "none": "無",
+                    "chicken_wings": "雞翅",
+                    "steak": "牛排",
+                    "onion_rings": "洋蔥圈",
+                    "bacon": "培根",
+                    "cake": "蛋糕",
+                    "toast": "吐司",
+                    "custom": "自訂",
+                    "cloud_recipe": "雲端食譜",
+                    "default": "預設",
+                    "keep_warm": "保溫",
+                    "preheat": "預熱"
                 }
             }
             "timer": {