diff --git a/src/panels/developer-tools/statistics/developer-tools-statistics.ts b/src/panels/developer-tools/statistics/developer-tools-statistics.ts index 0e3c6bb3eb..6f0d7510f7 100644 --- a/src/panels/developer-tools/statistics/developer-tools-statistics.ts +++ b/src/panels/developer-tools/statistics/developer-tools-statistics.ts @@ -263,7 +263,7 @@ class HaPanelDevStatistics extends SubscribeMixin(LitElement) { showAlertDialog(this, { title: "Entity not recorded", text: html`State changes of this entity are not recorded, therefore, - we can not track long term statistics for it.

You + we cannot track long term statistics for it.

You probably excluded this entity, or have just included some entities.

See the
You probably excluded this entity, or have just included - some entities.

See the + we cannot track long term statistics for it anymore.

You + probably excluded this entity, or have just included some + entities.

See the
Statistics can not be generated until this + is not supported.
Statistics cannot be generated until this entity has a supported state class.

If this state class was provided by an integration, this is a bug. Please report an issue.

If you have set this state class yourself, please diff --git a/src/panels/lovelace/editor/config-util.ts b/src/panels/lovelace/editor/config-util.ts index 2bae8eaf49..bf15aafbdc 100644 --- a/src/panels/lovelace/editor/config-util.ts +++ b/src/panels/lovelace/editor/config-util.ts @@ -191,7 +191,7 @@ export const moveCard = ( toPath: [number] ): LovelaceConfig => { 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 card = fromView.cards![fromPath[1]]; diff --git a/src/translations/en.json b/src/translations/en.json index 019466e5c9..112d389e3f 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2000,7 +2000,7 @@ "enable": "[%key:ui::common::enable%]", "disable": "[%key:ui::common::disable%]", "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", "duplicate": "[%key:ui::common::duplicate%]", "run": "[%key:ui::panel::config::automation::editor::actions::run%]", @@ -2491,7 +2491,7 @@ "introduction": "Use scripts to run a sequence of actions.", "show_trace": "[%key:ui::panel::config::automation::editor::show_trace%]", "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", "duplicate": "[%key:ui::common::duplicate%]", "header": "Script: {name}", @@ -3146,7 +3146,7 @@ "submit": "Submit", "next": "Next", "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.", "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.", diff --git a/test/common/string/format_number.ts b/test/common/string/format_number.ts index 2b62b4b44c..999928e38a 100644 --- a/test/common/string/format_number.ts +++ b/test/common/string/format_number.ts @@ -22,7 +22,7 @@ describe("formatNumber", () => { 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", () => { assert.strictEqual(formatNumber(1234.5, defaultLocale), "1,234.5"); }); diff --git a/test/panels/lovelace/editor/config-util.spec.ts b/test/panels/lovelace/editor/config-util.spec.ts index d30ac84fa3..f764813658 100644 --- a/test/panels/lovelace/editor/config-util.spec.ts +++ b/test/panels/lovelace/editor/config-util.spec.ts @@ -126,7 +126,7 @@ describe("moveCard", () => { assert.throws( result, Error, - "You can not move a card to the view it is in." + "You cannot move a card to the view it is in." ); }); });