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.
This commit is contained in:
Curt Grimes 2025-02-06 02:37:54 -06:00 committed by GitHub
parent bdbc9bc1b4
commit 8682debe61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ export default <T extends Constructor<HassBaseEl>>(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 <T extends Constructor<HassBaseEl>>(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 <T extends Constructor<HassBaseEl>>(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: {

View File

@ -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?"