mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-12 20:06:33 +00:00
Update en.json to make all automation conditions use "if", not "when" (#22883)
* 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
This commit is contained in:
parent
42622fe21e
commit
36f3ef9e86
@ -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}"
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user