Fix can not typo (#15830)
This commit is contained in:
parent
aeb7f8ff36
commit
24f1677809
|
@ -263,7 +263,7 @@ class HaPanelDevStatistics extends SubscribeMixin(LitElement) {
|
||||||
showAlertDialog(this, {
|
showAlertDialog(this, {
|
||||||
title: "Entity not recorded",
|
title: "Entity not recorded",
|
||||||
text: html`State changes of this entity are not recorded, therefore,
|
text: html`State changes of this entity are not recorded, therefore,
|
||||||
we can not track long term statistics for it. <br /><br />You
|
we cannot track long term statistics for it. <br /><br />You
|
||||||
probably excluded this entity, or have just included some
|
probably excluded this entity, or have just included some
|
||||||
entities.<br /><br />See the
|
entities.<br /><br />See the
|
||||||
<a
|
<a
|
||||||
|
@ -281,9 +281,9 @@ class HaPanelDevStatistics extends SubscribeMixin(LitElement) {
|
||||||
title: "Entity no longer recorded",
|
title: "Entity no longer recorded",
|
||||||
text: html`We have generated statistics for this entity in the past,
|
text: html`We have generated statistics for this entity in the past,
|
||||||
but state changes of this entity are no longer recorded, therefore,
|
but state changes of this entity are no longer recorded, therefore,
|
||||||
we can not track long term statistics for it anymore.
|
we cannot track long term statistics for it anymore. <br /><br />You
|
||||||
<br /><br />You probably excluded this entity, or have just included
|
probably excluded this entity, or have just included some
|
||||||
some entities.<br /><br />See the
|
entities.<br /><br />See the
|
||||||
<a
|
<a
|
||||||
href="https://www.home-assistant.io/integrations/recorder/#configure-filter"
|
href="https://www.home-assistant.io/integrations/recorder/#configure-filter"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
@ -298,7 +298,7 @@ class HaPanelDevStatistics extends SubscribeMixin(LitElement) {
|
||||||
showConfirmationDialog(this, {
|
showConfirmationDialog(this, {
|
||||||
title: "Unsupported state class",
|
title: "Unsupported state class",
|
||||||
text: html`The state class of this entity, ${issue.data.state_class}
|
text: html`The state class of this entity, ${issue.data.state_class}
|
||||||
is not supported. <br />Statistics can not be generated until this
|
is not supported. <br />Statistics cannot be generated until this
|
||||||
entity has a supported state class.<br /><br />If this state class
|
entity has a supported state class.<br /><br />If this state class
|
||||||
was provided by an integration, this is a bug. Please report an
|
was provided by an integration, this is a bug. Please report an
|
||||||
issue.<br /><br />If you have set this state class yourself, please
|
issue.<br /><br />If you have set this state class yourself, please
|
||||||
|
|
|
@ -191,7 +191,7 @@ export const moveCard = (
|
||||||
toPath: [number]
|
toPath: [number]
|
||||||
): LovelaceConfig => {
|
): LovelaceConfig => {
|
||||||
if (fromPath[0] === toPath[0]) {
|
if (fromPath[0] === toPath[0]) {
|
||||||
throw new Error("You can not move a card to the view it is in.");
|
throw new Error("You cannot move a card to the view it is in.");
|
||||||
}
|
}
|
||||||
const fromView = config.views[fromPath[0]];
|
const fromView = config.views[fromPath[0]];
|
||||||
const card = fromView.cards![fromPath[1]];
|
const card = fromView.cards![fromPath[1]];
|
||||||
|
|
|
@ -2000,7 +2000,7 @@
|
||||||
"enable": "[%key:ui::common::enable%]",
|
"enable": "[%key:ui::common::enable%]",
|
||||||
"disable": "[%key:ui::common::disable%]",
|
"disable": "[%key:ui::common::disable%]",
|
||||||
"disabled": "Automation is disabled",
|
"disabled": "Automation is disabled",
|
||||||
"read_only": "This automation can not be edited from the UI, because it is not stored in the automations.yaml file, or doesn't have an ID.",
|
"read_only": "This automation cannot be edited from the UI, because it is not stored in the automations.yaml file, or doesn't have an ID.",
|
||||||
"migrate": "Migrate",
|
"migrate": "Migrate",
|
||||||
"duplicate": "[%key:ui::common::duplicate%]",
|
"duplicate": "[%key:ui::common::duplicate%]",
|
||||||
"run": "[%key:ui::panel::config::automation::editor::actions::run%]",
|
"run": "[%key:ui::panel::config::automation::editor::actions::run%]",
|
||||||
|
@ -2491,7 +2491,7 @@
|
||||||
"introduction": "Use scripts to run a sequence of actions.",
|
"introduction": "Use scripts to run a sequence of actions.",
|
||||||
"show_trace": "[%key:ui::panel::config::automation::editor::show_trace%]",
|
"show_trace": "[%key:ui::panel::config::automation::editor::show_trace%]",
|
||||||
"show_info": "[%key:ui::panel::config::automation::editor::show_info%]",
|
"show_info": "[%key:ui::panel::config::automation::editor::show_info%]",
|
||||||
"read_only": "This script can not be edited from the UI, because it is not stored in the ''scripts.yaml'' file.",
|
"read_only": "This script cannot be edited from the UI, because it is not stored in the ''scripts.yaml'' file.",
|
||||||
"migrate": "Migrate",
|
"migrate": "Migrate",
|
||||||
"duplicate": "[%key:ui::common::duplicate%]",
|
"duplicate": "[%key:ui::common::duplicate%]",
|
||||||
"header": "Script: {name}",
|
"header": "Script: {name}",
|
||||||
|
@ -3146,7 +3146,7 @@
|
||||||
"submit": "Submit",
|
"submit": "Submit",
|
||||||
"next": "Next",
|
"next": "Next",
|
||||||
"found_following_devices": "We found the following devices",
|
"found_following_devices": "We found the following devices",
|
||||||
"yaml_only_title": "This device can not be added from the UI",
|
"yaml_only_title": "This device cannot be added from the UI",
|
||||||
"yaml_only": "You can add this device by adding it to your ''configuration.yaml''. See the documentation for more information.",
|
"yaml_only": "You can add this device by adding it to your ''configuration.yaml''. See the documentation for more information.",
|
||||||
"open_documentation": "Open documentation",
|
"open_documentation": "Open documentation",
|
||||||
"no_config_flow": "This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant.",
|
"no_config_flow": "This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant.",
|
||||||
|
|
|
@ -22,7 +22,7 @@ describe("formatNumber", () => {
|
||||||
first_weekday: FirstWeekday.language,
|
first_weekday: FirstWeekday.language,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Node only ships with English support for `Intl`, so we can not test for other number formats here.
|
// Node only ships with English support for `Intl`, so we cannot test for other number formats here.
|
||||||
it("Formats English numbers", () => {
|
it("Formats English numbers", () => {
|
||||||
assert.strictEqual(formatNumber(1234.5, defaultLocale), "1,234.5");
|
assert.strictEqual(formatNumber(1234.5, defaultLocale), "1,234.5");
|
||||||
});
|
});
|
||||||
|
|
|
@ -126,7 +126,7 @@ describe("moveCard", () => {
|
||||||
assert.throws(
|
assert.throws(
|
||||||
result,
|
result,
|
||||||
Error,
|
Error,
|
||||||
"You can not move a card to the view it is in."
|
"You cannot move a card to the view it is in."
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue