From 9ea87e4febee5b18bb0a5b16c345212d3a0c8a2d Mon Sep 17 00:00:00 2001 From: Denys Dovhan Date: Thu, 2 Dec 2021 15:09:57 +0200 Subject: [PATCH] fix: remove xiaomi_miio_level_without_preset_mode warnings --- src/translations/bg.json | 3 +-- src/translations/en.json | 3 +-- src/translations/fr.json | 3 +-- src/translations/pl.json | 3 +-- src/translations/ru.json | 3 +-- src/translations/uk.json | 3 +-- src/translations/zh-CN.json | 3 +-- src/translations/zh-TW.json | 3 +-- 8 files changed, 8 insertions(+), 16 deletions(-) diff --git a/src/translations/bg.json b/src/translations/bg.json index a8f3da7..a4f3e30 100644 --- a/src/translations/bg.json +++ b/src/translations/bg.json @@ -16,8 +16,7 @@ "Fan": "Вентилатор" }, "error": { - "missing_entity": "Избирането на обект е задължително!", - "xiaomi_miio_level_without_preset_mode": "preset_mode е задължителен параметър, когато се използва xiaomi_miio_favorite_level!" + "missing_entity": "Избирането на обект е задължително!" }, "editor": { "entity": "Обект (Задължително)", diff --git a/src/translations/en.json b/src/translations/en.json index 43c4317..0c4623e 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -16,8 +16,7 @@ "Fan": "Fan" }, "error": { - "missing_entity": "Specifying entity is required!", - "xiaomi_miio_level_without_preset_mode": "preset_mode is required along with xiaomi_miio_favorite_level property!" + "missing_entity": "Specifying entity is required!" }, "warning": { "actions_array": "WARNING: 'actions' is renamed to 'shortcuts'" diff --git a/src/translations/fr.json b/src/translations/fr.json index c51aa13..a415fa4 100644 --- a/src/translations/fr.json +++ b/src/translations/fr.json @@ -16,8 +16,7 @@ "Fan": "Manuel" }, "error": { - "missing_entity": "Il est obligatoire de spécifier une entité!", - "xiaomi_miio_level_without_preset_mode": "preset_mode est obligatoire avec la propriété xiaomi_miio_favorite_level!" + "missing_entity": "Il est obligatoire de spécifier une entité!" }, "editor": { "entity": "Entité (obligatoire)", diff --git a/src/translations/pl.json b/src/translations/pl.json index 30cee02..4d7e996 100644 --- a/src/translations/pl.json +++ b/src/translations/pl.json @@ -17,8 +17,7 @@ "Idle": "Bezczynny" }, "error": { - "missing_entity": "Wymagane jest zadeklarowanie encji!", - "xiaomi_miio_level_without_preset_mode": "parametr preset_mode jest wymagany w wywołaniu z xiaomi_miio_favorite_level!" + "missing_entity": "Wymagane jest zadeklarowanie encji!" }, "editor": { "entity": "Encja (wymagane)", diff --git a/src/translations/ru.json b/src/translations/ru.json index 850ba23..a9fe457 100644 --- a/src/translations/ru.json +++ b/src/translations/ru.json @@ -16,8 +16,7 @@ "Fan": "Максимальная" }, "error": { - "missing_entity": "Требуется указать сущность!", - "xiaomi_miio_level_without_preset_mode": "Требуется указать preset_mode вместе с свойством xiaomi_miio_favorite_level!" + "missing_entity": "Требуется указать сущность!" }, "editor": { "entity": "Сущность (Обязательно!)", diff --git a/src/translations/uk.json b/src/translations/uk.json index 66bfaa3..e1808ba 100644 --- a/src/translations/uk.json +++ b/src/translations/uk.json @@ -16,8 +16,7 @@ "Fan": "Вентилятор" }, "error": { - "missing_entity": "Сутність є обов’язковим полем!і", - "xiaomi_miio_level_without_preset_mode": "Поле preset_mode є обов’язковим разом з xiaomi_miio_favorite_level!" + "missing_entity": "Сутність є обов’язковим полем!" }, "editor": { "entity": "Об’єкт (Required)", diff --git a/src/translations/zh-CN.json b/src/translations/zh-CN.json index 168ad24..8f6c35e 100644 --- a/src/translations/zh-CN.json +++ b/src/translations/zh-CN.json @@ -16,8 +16,7 @@ "Fan": "风扇" }, "error": { - "missing_entity": "必须指定实体", - "xiaomi_miio_level_without_preset_mode": "preset_mode 和 xiaomi_miio_favorite_level 属性是必需的!" + "missing_entity": "必须指定实体" }, "editor": { "entity": "实体 (必填)", diff --git a/src/translations/zh-TW.json b/src/translations/zh-TW.json index b18459b..b5cd00f 100644 --- a/src/translations/zh-TW.json +++ b/src/translations/zh-TW.json @@ -16,8 +16,7 @@ "Fan": "送風" }, "error": { - "missing_entity": "必須指定實體名稱!", - "xiaomi_miio_level_without_preset_mode": "設定 xiaomi_miio_favorite_level 屬性時必須包含 preset_mode 屬性!" + "missing_entity": "必須指定實體名稱!" }, "editor": { "entity": "實體名稱(必填)",