From 36f3ef9e8654e44f61e7f47b05e339c61bf667f6 Mon Sep 17 00:00:00 2001 From: Norbert Rittel Date: Tue, 19 Nov 2024 17:56:21 +0100 Subject: [PATCH] Update en.json to make all automation conditions use "if", not "when" (#22883) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update en.json to make all automation conditions use "if", not "when" Fixes the remaining inconsistencies in all conditions defined in HA Frontend. Especially important as these are prefixed with "Test" in the condition building block of automations and scripts, so they currently result in "Test when …" instead of the correct "Test if …". * Updated en.json to fix the two wrong lowercase if --- src/translations/en.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/translations/en.json b/src/translations/en.json index 83b84a5fac31..4d83ad897545 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2231,7 +2231,7 @@ "name": "Name", "description": "Description", "tag_id": "Tag ID", - "tag_id_placeholder": "Autogenerated when left empty", + "tag_id_placeholder": "Autogenerated if left empty", "delete": "Delete", "update": "Update", "create": "Create", @@ -3282,9 +3282,9 @@ "value_template": "[%key:ui::panel::config::automation::editor::triggers::type::numeric_state::value_template%]", "description": { "picker": "If the numeric value of an entity''s state (or attribute''s value) is above or below a given threshold.", - "above": "When {attribute, select, \n undefined {} \n other {{attribute} from }\n }{entity} {numberOfEntities, plural,\n one {is}\n other {are}\n} above {above}", - "below": "When {attribute, select, \n undefined {} \n other {{attribute} from }\n }{entity} {numberOfEntities, plural,\n one {is}\n other {are}\n} below {below}", - "above-below": "When {attribute, select, \n undefined {} \n other {{attribute} from }\n }{entity} {numberOfEntities, plural,\n one {is}\n other {are}\n} above {above} and below {below}" + "above": "If {attribute, select, \n undefined {} \n other {{attribute} from }\n }{entity} {numberOfEntities, plural,\n one {is}\n other {are}\n} above {above}", + "below": "If {attribute, select, \n undefined {} \n other {{attribute} from }\n }{entity} {numberOfEntities, plural,\n one {is}\n other {are}\n} below {below}", + "above-below": "If {attribute, select, \n undefined {} \n other {{attribute} from }\n }{entity} {numberOfEntities, plural,\n one {is}\n other {are}\n} above {above} and below {below}" } }, "or": { @@ -3354,7 +3354,7 @@ "id": "Trigger", "description": { "picker": "If the automation has been triggered by a specific trigger.", - "full": "When triggered by {id}" + "full": "If triggered by {id}" } }, "zone": { @@ -3604,7 +3604,7 @@ "set_conversation_response": { "label": "Set conversation response", "description": { - "picker": "Set response of conversation when automation was triggered by conversation trigger.", + "picker": "Set response of conversation if automation was triggered by conversation trigger.", "full": "Set response of conversation to {response}" } },