mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
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:
parent
bdbc9bc1b4
commit
8682debe61
@ -35,7 +35,7 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
|
|||||||
showToast(this, {
|
showToast(this, {
|
||||||
message:
|
message:
|
||||||
this.hass!.localize("ui.notification_toast.starting") ||
|
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,
|
duration: -1,
|
||||||
dismissable: false,
|
dismissable: false,
|
||||||
action: {
|
action: {
|
||||||
@ -121,7 +121,7 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
|
|||||||
showToast(this, {
|
showToast(this, {
|
||||||
message:
|
message:
|
||||||
this.hass!.localize("ui.notification_toast.wrapping_up_startup") ||
|
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,
|
duration: -1,
|
||||||
dismissable: false,
|
dismissable: false,
|
||||||
action: {
|
action: {
|
||||||
@ -146,7 +146,7 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
|
|||||||
this.hass!.localize("ui.notification_toast.integration_starting", {
|
this.hass!.localize("ui.notification_toast.integration_starting", {
|
||||||
integration: domainToName(this.hass!.localize, integration),
|
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,
|
duration: -1,
|
||||||
dismissable: false,
|
dismissable: false,
|
||||||
action: {
|
action: {
|
||||||
|
@ -1929,9 +1929,9 @@
|
|||||||
"action_failed": "Failed to perform the action {service}.",
|
"action_failed": "Failed to perform the action {service}.",
|
||||||
"connection_lost": "Connection lost. Reconnecting…",
|
"connection_lost": "Connection lost. Reconnecting…",
|
||||||
"started": "Home Assistant has started!",
|
"started": "Home Assistant has started!",
|
||||||
"starting": "Home Assistant is starting, 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.",
|
"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.",
|
"integration_starting": "Starting {integration}. Not everything will be available until it is finished.",
|
||||||
"triggered": "Triggered {name}",
|
"triggered": "Triggered {name}",
|
||||||
"dismiss": "Dismiss",
|
"dismiss": "Dismiss",
|
||||||
"no_matching_link_found": "No matching My link found for {path}"
|
"no_matching_link_found": "No matching My link found for {path}"
|
||||||
@ -7420,7 +7420,7 @@
|
|||||||
"entity_not_found": "Entity not available: {entity}",
|
"entity_not_found": "Entity not available: {entity}",
|
||||||
"entity_non_numeric": "Entity is non-numeric: {entity}",
|
"entity_non_numeric": "Entity is non-numeric: {entity}",
|
||||||
"entity_unavailable": "Entity is currently unavailable: {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": {
|
"changed_toast": {
|
||||||
"message": "Your dashboard was updated. Refresh to see changes?"
|
"message": "Your dashboard was updated. Refresh to see changes?"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user