mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix descriptions of send_message action of Bring! integration (#135446)
* Make "Urgent message" selector consistent, use "Bring!" as name - Replace one occurrence of "bring" with the brand name "Bring!" - Change description of action to third-person singular for consistency in Home Assistant - Make all occurrences of the selector "Urgent message" consistent (in sentence case) so they all get consistent translations, too - Change one related error message to refer to the UI name of the required "Article" field * Changed ` to ' to avoid Regex problems * Reverted change to notify_missing_argument_item Reverted to avoid failing test * Reverted change to "bring" * Add "is" to description of "Article" Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com> --------- Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
This commit is contained in:
parent
f7df214dd8
commit
8b0be70fdd
@ -111,7 +111,7 @@
|
|||||||
"services": {
|
"services": {
|
||||||
"send_message": {
|
"send_message": {
|
||||||
"name": "[%key:component::notify::services::notify::name%]",
|
"name": "[%key:component::notify::services::notify::name%]",
|
||||||
"description": "Send a mobile push notification to members of a shared Bring! list.",
|
"description": "Sends a mobile push notification to members of a shared Bring! list.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"entity_id": {
|
"entity_id": {
|
||||||
"name": "List",
|
"name": "List",
|
||||||
@ -122,8 +122,8 @@
|
|||||||
"description": "Type of push notification to send to list members."
|
"description": "Type of push notification to send to list members."
|
||||||
},
|
},
|
||||||
"item": {
|
"item": {
|
||||||
"name": "Article (Required if message type `Urgent Message` selected)",
|
"name": "Article (Required if notification type `Urgent message` is selected)",
|
||||||
"description": "Article name to include in an urgent message e.g. `Urgent Message - Please buy Cilantro urgently`"
|
"description": "Article name to include in an urgent message e.g. `Urgent message - Please buy Cilantro urgently`"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -134,7 +134,7 @@
|
|||||||
"going_shopping": "I'm going shopping! - Last chance to make changes",
|
"going_shopping": "I'm going shopping! - Last chance to make changes",
|
||||||
"changed_list": "List updated - Take a look at the articles",
|
"changed_list": "List updated - Take a look at the articles",
|
||||||
"shopping_done": "Shopping done - The fridge is well stocked",
|
"shopping_done": "Shopping done - The fridge is well stocked",
|
||||||
"urgent_message": "Urgent Message - Please buy `Article name` urgently"
|
"urgent_message": "Urgent message - Please buy `Article` urgently"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user