From 8682debe6179ca14fe1f8dcfffecf06aecdcaf37 Mon Sep 17 00:00:00 2001 From: Curt Grimes Date: Thu, 6 Feb 2025 02:37:54 -0600 Subject: [PATCH] Fix punctuation in some toast and warning messages (#24093) There are some toast messages that are comma splices (two independent clauses joined by a comma), which is not correct grammar. This commit fixes the punctuation in these messages. --- src/state/disconnect-toast-mixin.ts | 6 +++--- src/translations/en.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/state/disconnect-toast-mixin.ts b/src/state/disconnect-toast-mixin.ts index da9754ab62..8eaa814db0 100644 --- a/src/state/disconnect-toast-mixin.ts +++ b/src/state/disconnect-toast-mixin.ts @@ -35,7 +35,7 @@ export default >(superClass: T) => showToast(this, { message: this.hass!.localize("ui.notification_toast.starting") || - "Home Assistant is starting, not everything will be available until it is finished.", + "Home Assistant is starting. Not everything will be available until it is finished.", duration: -1, dismissable: false, action: { @@ -121,7 +121,7 @@ export default >(superClass: T) => showToast(this, { message: this.hass!.localize("ui.notification_toast.wrapping_up_startup") || - `Wrapping up startup, not everything will be available until it is finished.`, + `Wrapping up startup. Not everything will be available until it is finished.`, duration: -1, dismissable: false, action: { @@ -146,7 +146,7 @@ export default >(superClass: T) => this.hass!.localize("ui.notification_toast.integration_starting", { integration: domainToName(this.hass!.localize, integration), }) || - `Starting ${integration}, not everything will be available until it is finished.`, + `Starting ${integration}. Not everything will be available until it is finished.`, duration: -1, dismissable: false, action: { diff --git a/src/translations/en.json b/src/translations/en.json index e2dcada3f4..4c1c52da04 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1929,9 +1929,9 @@ "action_failed": "Failed to perform the action {service}.", "connection_lost": "Connection lost. Reconnecting…", "started": "Home Assistant has started!", - "starting": "Home Assistant is starting, not everything will be available until it is finished.", - "wrapping_up_startup": "Wrapping up startup, not everything will be available until it is finished.", - "integration_starting": "Starting {integration}, not everything will be available until it is finished.", + "starting": "Home Assistant is starting. Not everything will be available until it is finished.", + "wrapping_up_startup": "Wrapping up startup. Not everything will be available until it is finished.", + "integration_starting": "Starting {integration}. Not everything will be available until it is finished.", "triggered": "Triggered {name}", "dismiss": "Dismiss", "no_matching_link_found": "No matching My link found for {path}" @@ -7420,7 +7420,7 @@ "entity_not_found": "Entity not available: {entity}", "entity_non_numeric": "Entity is non-numeric: {entity}", "entity_unavailable": "Entity is currently unavailable: {entity}", - "starting": "Home Assistant is starting, not everything may be available yet" + "starting": "Home Assistant is starting. Not everything may be available yet." }, "changed_toast": { "message": "Your dashboard was updated. Refresh to see changes?"