Просмотр исходного кода

feat(translations): add missing timer select options

Missing immediate, 80d, 100d, 120d options.

Some configs used non-standard options that are covered by the
standard ones, so updated.

Issue #1708
Jason Rumney 1 день назад
Родитель
Сommit
462e1dfd90
27 измененных файлов с 97 добавлено и 5 удалено
  1. 1 1
      custom_components/tuya_local/devices/colemanmach_rvp9420_thermostat.yaml
  2. 1 1
      custom_components/tuya_local/devices/ecostrad_iqceramicv2_radiator.yaml
  3. 1 1
      custom_components/tuya_local/devices/haolesi_mini_thermostat.yaml
  4. 2 2
      custom_components/tuya_local/devices/raddy_pt3_poolthermometer.yaml
  5. 4 0
      custom_components/tuya_local/translations/bg.json
  6. 4 0
      custom_components/tuya_local/translations/ca.json
  7. 4 0
      custom_components/tuya_local/translations/cs.json
  8. 4 0
      custom_components/tuya_local/translations/de.json
  9. 4 0
      custom_components/tuya_local/translations/el.json
  10. 4 0
      custom_components/tuya_local/translations/en.json
  11. 4 0
      custom_components/tuya_local/translations/es.json
  12. 4 0
      custom_components/tuya_local/translations/fr.json
  13. 4 0
      custom_components/tuya_local/translations/hu.json
  14. 4 0
      custom_components/tuya_local/translations/id.json
  15. 4 0
      custom_components/tuya_local/translations/it.json
  16. 4 0
      custom_components/tuya_local/translations/ja.json
  17. 4 0
      custom_components/tuya_local/translations/no-NB.json
  18. 4 0
      custom_components/tuya_local/translations/pl.json
  19. 4 0
      custom_components/tuya_local/translations/pt-BR.json
  20. 4 0
      custom_components/tuya_local/translations/pt-PT.json
  21. 4 0
      custom_components/tuya_local/translations/ro.json
  22. 4 0
      custom_components/tuya_local/translations/ru.json
  23. 4 0
      custom_components/tuya_local/translations/sv.json
  24. 4 0
      custom_components/tuya_local/translations/uk.json
  25. 4 0
      custom_components/tuya_local/translations/ur.json
  26. 4 0
      custom_components/tuya_local/translations/zh-Hans.json
  27. 4 0
      custom_components/tuya_local/translations/zh-Hant.json

+ 1 - 1
custom_components/tuya_local/devices/colemanmach_rvp9420_thermostat.yaml

@@ -366,7 +366,7 @@ entities:
           - dps_val: 160_days
             value: 160d
           - dps_val: 365_days
-            value: 365_days
+            value: 365d
   - entity: select
     name: Compressor protection
     icon: "mdi:timer"

+ 1 - 1
custom_components/tuya_local/devices/ecostrad_iqceramicv2_radiator.yaml

@@ -96,7 +96,7 @@ entities:
             value: cancel
             icon: "mdi:window-closed"
           - dps_val: "60"
-            value: "60m"
+            value: "1h"
             icon: "mdi:window-open"
           - dps_val: "90"
             value: "1h30m"

+ 1 - 1
custom_components/tuya_local/devices/haolesi_mini_thermostat.yaml

@@ -115,6 +115,6 @@ entities:
           - dps_val: "0"
             value: cancel
           - dps_val: "60"
-            value: "60m"
+            value: "1h"
           - dps_val: "90"
             value: "1h30m"

+ 2 - 2
custom_components/tuya_local/devices/raddy_pt3_poolthermometer.yaml

@@ -145,9 +145,9 @@ entities:
         name: option
         mapping:
           - dps_val: false
-            value: F
+            value: fahrenheit
           - dps_val: true
-            value: C
+            value: celsius
   - entity: text
     name: Temperature alarm settings
     category: config

+ 4 - 0
custom_components/tuya_local/translations/bg.json

@@ -815,6 +815,7 @@
                     "cancel": "Отказ",
                     "continuous": "Непрекъснато",
                     "custom": "Потребителски",
+                    "immediate": "Незабавно",
                     "5s": "5 секунди",
                     "10s": "10 секунди",
                     "15s": "15 секунди",
@@ -891,7 +892,10 @@
                     "10d": "10 дни",
                     "30d": "30 дни",
                     "60d": "60 дни",
+                    "80d": "80 дни",
                     "90d": "90 дни",
+                    "100d": "100 дни",
+                    "120d": "120 дни",
                     "160d": "160 дни",
                     "365d": "365 дни"
                 }

+ 4 - 0
custom_components/tuya_local/translations/ca.json

@@ -814,6 +814,7 @@
                     "cancel": "Cancel·la",
                     "continuous": "Continu",
                     "custom": "Personalitzat",
+                    "immediate": "Immediat",
                     "5s": "5 segons",
                     "10s": "10 segons",
                     "15s": "15 segons",
@@ -890,7 +891,10 @@
                     "10d": "10 dies",
                     "30d": "30 dies",
                     "60d": "60 dies",
+                    "80d": "80 dies",
                     "90d": "90 dies",
+                    "100d": "100 dies",
+                    "120d": "120 dies",
                     "160d": "160 dies",
                     "365d": "365 dies"
                 }

+ 4 - 0
custom_components/tuya_local/translations/cs.json

@@ -814,6 +814,7 @@
                     "cancel": "Zrušit",
                     "continuous": "Nepřetržitý",
                     "custom": "Vlastní",
+                    "immediate": "Okamžitý",
                     "5s": "5 sekund",
                     "10s": "10 sekund",
                     "15s": "15 sekund",
@@ -890,7 +891,10 @@
                     "10d": "10 dní",
                     "30d": "30 dní",
                     "60d": "60 dní",
+                    "80d": "80 dní",
                     "90d": "90 dní",
+                    "100d": "100 dní",
+                    "120d": "120 dní",
                     "160d": "160 dní",
                     "365d": "365 dní"
                 }

+ 4 - 0
custom_components/tuya_local/translations/de.json

@@ -814,6 +814,7 @@
                     "cancel": "Abbrechen",
                     "continuous": "Dauerbetrieb",
                     "custom": "Benutzerdefiniert",
+                    "immediate": "Sofort",
                     "5s": "5 Sekunden",
                     "10s": "10 Sekunden",
                     "15s": "15 Sekunden",
@@ -890,7 +891,10 @@
                     "10d": "10 Tage",
                     "30d": "30 Tage",
                     "60d": "60 Tage",
+                    "80d": "80 Tage",
                     "90d": "90 Tage",
+                    "100d": "100 Tage",
+                    "120d": "120 Tage",
                     "160d": "160 Tage",
                     "365d": "365 Tage"
                 }

+ 4 - 0
custom_components/tuya_local/translations/el.json

@@ -814,6 +814,7 @@
                     "cancel": "Ακύρωση",
                     "continuous": "Συνεχής",
                     "custom": "Προσαρμοσμένο",
+                    "immediate": "Άμεση",
                     "5s": "5 δευτερόλεπτα",
                     "10s": "10 δευτερόλεπτα",
                     "15s": "15 δευτερόλεπτα",
@@ -890,7 +891,10 @@
                     "10d": "10 ημέρες",
                     "30d": "30 ημέρες",
                     "60d": "60 ημέρες",
+                    "80d": "80 ημέρες",
                     "90d": "90 ημέρες",
+                    "100d": "100 ημέρες",
+                    "120d": "120 ημέρες",
                     "160d": "160 ημέρες",
                     "365d": "365 ημέρες"
                 }

+ 4 - 0
custom_components/tuya_local/translations/en.json

@@ -814,6 +814,7 @@
                     "cancel": "Cancel",
                     "continuous": "Continuous",
                     "custom": "Custom",
+                    "immediate": "Immediate",
                     "5s": "5 seconds",
                     "10s": "10 seconds",
                     "15s": "15 seconds",
@@ -890,7 +891,10 @@
                     "10d": "10 days",
                     "30d": "30 days",
                     "60d": "60 days",
+                    "80d": "80 days",
                     "90d": "90 days",
+                    "100d": "100 days",
+                    "120d": "120 days",
                     "160d": "160 days",
                     "365d": "365 days"
                 }

+ 4 - 0
custom_components/tuya_local/translations/es.json

@@ -814,6 +814,7 @@
                     "cancel": "Cancelar",
                     "continuous": "Continuo",
                     "custom": "Personalizado",
+                    "immediate": "Inmediato",
                     "5s": "5 segundos",
                     "10s": "10 segundos",
                     "15s": "15 segundos",
@@ -890,7 +891,10 @@
                     "10d": "10 días",
                     "30d": "30 días",
                     "60d": "60 días",
+                    "80d": "80 días",
                     "90d": "90 días",
+                    "100d": "100 días",
+                    "120d": "120 días",
                     "160d": "160 días",
                     "365d": "365 días"
                 }

+ 4 - 0
custom_components/tuya_local/translations/fr.json

@@ -814,6 +814,7 @@
                     "cancel": "Annuler",
                     "continuous": "Continu",
                     "custom": "Personnalisé",
+                    "immediate": "Immédiat",
                     "5s": "5 secondes",
                     "10s": "10 secondes",
                     "15s": "15 secondes",
@@ -890,7 +891,10 @@
                     "10d": "10 jours",
                     "30d": "30 jours",
                     "60d": "60 jours",
+                    "80d": "80 jours",
                     "90d": "90 jours",
+                    "100d": "100 jours",
+                    "120d": "120 jours",
                     "160d": "160 jours",
                     "365d": "365 jours"
                 }

+ 4 - 0
custom_components/tuya_local/translations/hu.json

@@ -814,6 +814,7 @@
                     "cancel": "Mégse",
                     "continuous": "Folyamatos",
                     "custom": "Egyéni",
+                    "immediate": "Azonnali",
                     "5s": "5 másodperc",
                     "10s": "10 másodperc",
                     "15s": "15 másodperc",
@@ -890,7 +891,10 @@
                     "10d": "10 nap",
                     "30d": "30 nap",
                     "60d": "60 nap",
+                    "80d": "80 nap",
                     "90d": "90 nap",
+                    "100d": "100 nap",
+                    "120d": "120 nap",
                     "160d": "160 nap",
                     "365d": "365 nap"
                 }

+ 4 - 0
custom_components/tuya_local/translations/id.json

@@ -814,6 +814,7 @@
                     "cancel": "Batal",
                     "continuous": "Terus menerus",
                     "custom": "Kustom",
+                    "immediate": "Segera",
                     "5s": "5 detik",
                     "10s": "10 detik",
                     "15s": "15 detik",
@@ -890,7 +891,10 @@
                     "10d": "10 hari",
                     "30d": "30 hari",
                     "60d": "60 hari",
+                    "80d": "80 hari",
                     "90d": "90 hari",
+                    "100d": "100 hari",
+                    "120d": "120 hari",
                     "160d": "160 hari",
                     "365d": "365 hari"
                 }

+ 4 - 0
custom_components/tuya_local/translations/it.json

@@ -814,6 +814,7 @@
                     "cancel": "Annulla",
                     "continuous": "Continuo",
                     "custom": "Personalizzato",
+                    "immediate": "Immediato",
                     "5s": "5 secondi",
                     "10s": "10 secondi",
                     "15s": "15 secondi",
@@ -890,7 +891,10 @@
                     "10d": "10 giorni",
                     "30d": "30 giorni",
                     "60d": "60 giorni",
+                    "80d": "80 giorni",
                     "90d": "90 giorni",
+                    "100d": "100 giorni",
+                    "120d": "120 giorni",
                     "160d": "160 giorni",
                     "365d": "365 giorni"
                 }

+ 4 - 0
custom_components/tuya_local/translations/ja.json

@@ -814,6 +814,7 @@
                     "cancel": "キャンセル",
                     "continuous": "連続",
                     "custom": "カスタム",
+                    "immediate": "即時",
                     "5s": "5秒",
                     "10s": "10秒",
                     "15s": "15秒",
@@ -890,7 +891,10 @@
                     "10d": "10日",
                     "30d": "30日",
                     "60d": "60日",
+                    "80d": "80日",
                     "90d": "90日",
+                    "100d": "100日",
+                    "120d": "120日",
                     "160d": "160日",
                     "365d": "365日"
                 }

+ 4 - 0
custom_components/tuya_local/translations/no-NB.json

@@ -814,6 +814,7 @@
                     "cancel": "Avbryt",
                     "continuous": "Kontinuerlig",
                     "custom": "Egendefinert",
+                    "immediate": "Umiddelbar",
                     "5s": "5 sekunder",
                     "10s": "10 sekunder",
                     "15s": "15 sekunder",
@@ -890,7 +891,10 @@
                     "10d": "10 dager",
                     "30d": "30 dager",
                     "60d": "60 dager",
+                    "80d": "80 dager",
                     "90d": "90 dager",
+                    "100d": "100 dager",
+                    "120d": "120 dager",
                     "160d": "160 dager",
                     "365d": "365 dager"
                 }

+ 4 - 0
custom_components/tuya_local/translations/pl.json

@@ -814,6 +814,7 @@
                     "cancel": "Anuluj",
                     "continuous": "Ciągły",
                     "custom": "Niestandardowy",
+                    "immediate": "Natychmiastowy",
                     "5s": "5 sekund",
                     "10s": "10 sekund",
                     "15s": "15 sekund",
@@ -890,7 +891,10 @@
                     "10d": "10 dni",
                     "30d": "30 dni",
                     "60d": "60 dni",
+                    "80d": "80 dni",
                     "90d": "90 dni",
+                    "100d": "100 dni",
+                    "120d": "120 dni",
                     "160d": "160 dni",
                     "365d": "365 dni"
                 }

+ 4 - 0
custom_components/tuya_local/translations/pt-BR.json

@@ -814,6 +814,7 @@
                     "cancel": "Cancelar",
                     "continuous": "Contínuo",
                     "custom": "Personalizado",
+                    "immediate": "Imediato",
                     "5s": "5 segundos",
                     "10s": "10 segundos",
                     "15s": "15 segundos",
@@ -890,7 +891,10 @@
                     "10d": "10 dias",
                     "30d": "30 dias",
                     "60d": "60 dias",
+                    "80d": "80 dias",
                     "90d": "90 dias",
+                    "100d": "100 dias",
+                    "120d": "120 dias",
                     "160d": "160 dias",
                     "365d": "365 dias"
                 }

+ 4 - 0
custom_components/tuya_local/translations/pt-PT.json

@@ -814,6 +814,7 @@
                     "cancel": "Cancelar",
                     "continuous": "Contínuo",
                     "custom": "Personalizado",
+                    "immediate": "Imediato",
                     "5s": "5 segundos",
                     "10s": "10 segundos",
                     "15s": "15 segundos",
@@ -890,7 +891,10 @@
                     "10d": "10 dias",
                     "30d": "30 dias",
                     "60d": "60 dias",
+                    "80d": "80 dias",
                     "90d": "90 dias",
+                    "100d": "100 dias",
+                    "120d": "120 dias",
                     "160d": "160 dias",
                     "365d": "365 dias"
                 }

+ 4 - 0
custom_components/tuya_local/translations/ro.json

@@ -814,6 +814,7 @@
                     "cancel": "Anulează",
                     "continuous": "Continuu",
                     "custom": "Personalizat",
+                    "immediate": "Imediat",
                     "5s": "5 secunde",
                     "10s": "10 secunde",
                     "15s": "15 secunde",
@@ -890,7 +891,10 @@
                     "10d": "10 zile",
                     "30d": "30 zile",
                     "60d": "60 zile",
+                    "80d": "80 zile",
                     "90d": "90 zile",
+                    "100d": "100 zile",
+                    "120d": "120 zile",
                     "160d": "160 zile",
                     "365d": "365 zile"
                 }

+ 4 - 0
custom_components/tuya_local/translations/ru.json

@@ -814,6 +814,7 @@
                     "cancel": "Отмена",
                     "continuous": "Непрерывный",
                     "custom": "Пользовательский",
+                    "immediate": "Немедленный",
                     "5s": "5 секунд",
                     "10s": "10 секунд",
                     "15s": "15 секунд",
@@ -890,7 +891,10 @@
                     "10d": "10 дней",
                     "30d": "30 дней",
                     "60d": "60 дней",
+                    "80d": "80 дней",
                     "90d": "90 дней",
+                    "100d": "100 дней",
+                    "120d": "120 дней",
                     "160d": "160 дней",
                     "365d": "365 дней"
                 }

+ 4 - 0
custom_components/tuya_local/translations/sv.json

@@ -814,6 +814,7 @@
                     "cancel": "Avbryt",
                     "continuous": "Kontinuerlig",
                     "custom": "Anpassad",
+                    "immediate": "Omedelbar",
                     "5s": "5 sekunder",
                     "10s": "10 sekunder",
                     "15s": "15 sekunder",
@@ -890,7 +891,10 @@
                     "10d": "10 dagar",
                     "30d": "30 dagar",
                     "60d": "60 dagar",
+                    "80d": "80 dagar",
                     "90d": "90 dagar",
+                    "100d": "100 dagar",
+                    "120d": "120 dagar",
                     "160d": "160 dagar",
                     "365d": "365 dagar"
                 }

+ 4 - 0
custom_components/tuya_local/translations/uk.json

@@ -814,6 +814,7 @@
                     "cancel": "Скасувати",
                     "continuous": "Постійний",
                     "custom": "Користувацький",
+                    "immediate": "Негайно",
                     "5s": "5 секунд",
                     "10s": "10 секунд",
                     "15s": "15 секунд",
@@ -890,7 +891,10 @@
                     "10d": "10 днів",
                     "30d": "30 днів",
                     "60d": "60 днів",
+                    "80d": "80 днів",
                     "90d": "90 днів",
+                    "100d": "100 днів",
+                    "120d": "120 днів",
                     "160d": "160 днів",
                     "365d": "365 днів"
                 }

+ 4 - 0
custom_components/tuya_local/translations/ur.json

@@ -814,6 +814,7 @@
                     "cancel": "منسوخ کریں",
                     "continuous": "مسلسل",
                     "custom": "اپنی مرضی",
+                    "immediate": "فوری",
                     "5s": "5 سیکنڈ",
                     "10s": "10 سیکنڈ",
                     "15s": "15 سیکنڈ",
@@ -890,7 +891,10 @@
                     "10d": "10 دن",
                     "30d": "30 دن",
                     "60d": "60 دن",
+                    "80d": "80 دن",
                     "90d": "90 دن",
+                    "100d": "100 دن",
+                    "120d": "120 دن",
                     "160d": "160 دن",
                     "365d": "365 دن"
                 }

+ 4 - 0
custom_components/tuya_local/translations/zh-Hans.json

@@ -814,6 +814,7 @@
                     "cancel": "取消",
                     "continuous": "连续",
                     "custom": "自定义",
+                    "immediate": "立即",
                     "5s": "5秒",
                     "10s": "10秒",
                     "15s": "15秒",
@@ -890,7 +891,10 @@
                     "10d": "10天",
                     "30d": "30天",
                     "60d": "60天",
+                    "80d": "80天",
                     "90d": "90天",
+                    "100d": "100天",
+                    "120d": "120天",
                     "160d": "160天",
                     "365d": "365天"
                 }

+ 4 - 0
custom_components/tuya_local/translations/zh-Hant.json

@@ -814,6 +814,7 @@
                     "cancel": "取消",
                     "continuous": "連續",
                     "custom": "自訂",
+                    "immediate": "立即",
                     "5s": "5秒",
                     "10s": "10秒",
                     "15s": "15秒",
@@ -890,7 +891,10 @@
                     "10d": "10天",
                     "30d": "30天",
                     "60d": "60天",
+                    "80d": "80天",
                     "90d": "90天",
+                    "100d": "100天",
+                    "120d": "120天",
                     "160d": "160天",
                     "365d": "365天"
                 }