From ed4c54a700fba481c6ae565c11251a2b388c2bdd Mon Sep 17 00:00:00 2001 From: Norbert Rittel Date: Sun, 12 Jan 2025 14:36:23 +0100 Subject: [PATCH] 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 --------- Co-authored-by: Jan Bouwhuis --- homeassistant/components/bring/strings.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/bring/strings.json b/homeassistant/components/bring/strings.json index 7331f68a161e8..e65f9607afb4d 100644 --- a/homeassistant/components/bring/strings.json +++ b/homeassistant/components/bring/strings.json @@ -111,7 +111,7 @@ "services": { "send_message": { "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": { "entity_id": { "name": "List", @@ -122,8 +122,8 @@ "description": "Type of push notification to send to list members." }, "item": { - "name": "Article (Required if message type `Urgent Message` selected)", - "description": "Article name to include in an urgent message e.g. `Urgent Message - Please buy Cilantro urgently`" + "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`" } } } @@ -134,7 +134,7 @@ "going_shopping": "I'm going shopping! - Last chance to make changes", "changed_list": "List updated - Take a look at the articles", "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" } } }