From 5a9bd73e8b6d514555deec21d4042f74d4eb7fcf Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Mon, 9 Nov 2020 23:41:22 +0100 Subject: [PATCH] Use clearer dialog button texts + various translation improvements (#7584) --- src/dialogs/more-info/ha-more-info-dialog.ts | 4 +- .../config/areas/ha-config-area-page.ts | 4 +- .../action/ha-automation-action-row.ts | 4 +- .../condition/ha-automation-condition-row.ts | 4 +- .../config/automation/ha-automation-editor.ts | 12 ++--- .../trigger/ha-automation-trigger-row.ts | 4 +- .../dialog-manage-cloudhook.ts | 4 +- .../config/devices/ha-config-device-page.ts | 2 +- .../config/entities/ha-config-entities.ts | 12 ++--- .../resources/ha-config-lovelace-resources.ts | 2 + src/panels/config/person/ha-config-person.ts | 4 +- src/panels/config/scene/ha-scene-editor.ts | 8 ++-- src/panels/config/script/ha-script-editor.ts | 8 ++-- src/panels/config/tags/ha-config-tags.ts | 12 +++-- src/panels/config/users/ha-config-users.ts | 4 +- src/panels/config/zone/ha-config-zone.ts | 5 +- .../card-editor/hui-dialog-edit-card.ts | 4 +- src/panels/lovelace/ha-panel-lovelace.ts | 2 +- src/panels/lovelace/hui-editor.ts | 8 ++-- src/panels/lovelace/hui-root.ts | 11 +++-- src/translations/en.json | 46 +++++++++++-------- 21 files changed, 88 insertions(+), 76 deletions(-) diff --git a/src/dialogs/more-info/ha-more-info-dialog.ts b/src/dialogs/more-info/ha-more-info-dialog.ts index 836273f07f..3feedb9a50 100644 --- a/src/dialogs/more-info/ha-more-info-dialog.ts +++ b/src/dialogs/more-info/ha-more-info-dialog.ts @@ -285,8 +285,8 @@ export class MoreInfoDialog extends LitElement { text: this.hass.localize( "ui.dialogs.more_info_control.restored.confirm_remove_text" ), - confirmText: this.hass.localize("ui.common.yes"), - dismissText: this.hass.localize("ui.common.no"), + confirmText: this.hass.localize("ui.common.remove"), + dismissText: this.hass.localize("ui.common.cancel"), confirm: () => { removeEntityRegistryEntry(this.hass, entityId); }, diff --git a/src/panels/config/areas/ha-config-area-page.ts b/src/panels/config/areas/ha-config-area-page.ts index ec0085aacd..d03ebebbba 100644 --- a/src/panels/config/areas/ha-config-area-page.ts +++ b/src/panels/config/areas/ha-config-area-page.ts @@ -312,8 +312,8 @@ class HaConfigAreaPage extends LitElement { text: this.hass.localize( "ui.panel.config.areas.delete.confirmation_text" ), - dismissText: this.hass.localize("ui.common.no"), - confirmText: this.hass.localize("ui.common.yes"), + dismissText: this.hass.localize("ui.common.cancel"), + confirmText: this.hass.localize("ui.common.delete"), })) ) { return false; diff --git a/src/panels/config/automation/action/ha-automation-action-row.ts b/src/panels/config/automation/action/ha-automation-action-row.ts index e4cfebe8c7..4cc20c8c04 100644 --- a/src/panels/config/automation/action/ha-automation-action-row.ts +++ b/src/panels/config/automation/action/ha-automation-action-row.ts @@ -276,8 +276,8 @@ export default class HaAutomationActionRow extends LitElement { text: this.hass.localize( "ui.panel.config.automation.editor.actions.delete_confirm" ), - dismissText: this.hass.localize("ui.common.no"), - confirmText: this.hass.localize("ui.common.yes"), + dismissText: this.hass.localize("ui.common.cancel"), + confirmText: this.hass.localize("ui.common.delete"), confirm: () => { fireEvent(this, "value-changed", { value: null }); }, diff --git a/src/panels/config/automation/condition/ha-automation-condition-row.ts b/src/panels/config/automation/condition/ha-automation-condition-row.ts index 1c9b1552a3..6b824a60fc 100644 --- a/src/panels/config/automation/condition/ha-automation-condition-row.ts +++ b/src/panels/config/automation/condition/ha-automation-condition-row.ts @@ -123,8 +123,8 @@ export default class HaAutomationConditionRow extends LitElement { text: this.hass.localize( "ui.panel.config.automation.editor.conditions.delete_confirm" ), - dismissText: this.hass.localize("ui.common.no"), - confirmText: this.hass.localize("ui.common.yes"), + dismissText: this.hass.localize("ui.common.cancel"), + confirmText: this.hass.localize("ui.common.delete"), confirm: () => { fireEvent(this, "value-changed", { value: null }); }, diff --git a/src/panels/config/automation/ha-automation-editor.ts b/src/panels/config/automation/ha-automation-editor.ts index 44e6c34e6c..47d8160e86 100644 --- a/src/panels/config/automation/ha-automation-editor.ts +++ b/src/panels/config/automation/ha-automation-editor.ts @@ -651,8 +651,8 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) { text: this.hass!.localize( "ui.panel.config.automation.editor.unsaved_confirm" ), - confirmText: this.hass!.localize("ui.common.yes"), - dismissText: this.hass!.localize("ui.common.no"), + confirmText: this.hass!.localize("ui.common.leave"), + dismissText: this.hass!.localize("ui.common.stay"), confirm: () => history.back(), }); } else { @@ -667,8 +667,8 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) { text: this.hass!.localize( "ui.panel.config.automation.editor.unsaved_confirm" ), - confirmText: this.hass!.localize("ui.common.yes"), - dismissText: this.hass!.localize("ui.common.no"), + confirmText: this.hass!.localize("ui.common.leave"), + dismissText: this.hass!.localize("ui.common.stay"), })) ) { return; @@ -690,8 +690,8 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) { text: this.hass.localize( "ui.panel.config.automation.picker.delete_confirm" ), - confirmText: this.hass!.localize("ui.common.yes"), - dismissText: this.hass!.localize("ui.common.no"), + confirmText: this.hass!.localize("ui.common.delete"), + dismissText: this.hass!.localize("ui.common.cancel"), confirm: () => this._delete(), }); } diff --git a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts index 687889c634..944c57044d 100644 --- a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts +++ b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts @@ -196,8 +196,8 @@ export default class HaAutomationTriggerRow extends LitElement { text: this.hass.localize( "ui.panel.config.automation.editor.triggers.delete_confirm" ), - dismissText: this.hass.localize("ui.common.no"), - confirmText: this.hass.localize("ui.common.yes"), + dismissText: this.hass.localize("ui.common.cancel"), + confirmText: this.hass.localize("ui.common.delete"), confirm: () => { fireEvent(this, "value-changed", { value: null }); }, diff --git a/src/panels/config/cloud/dialog-manage-cloudhook/dialog-manage-cloudhook.ts b/src/panels/config/cloud/dialog-manage-cloudhook/dialog-manage-cloudhook.ts index 1561ed7420..9357e45c75 100644 --- a/src/panels/config/cloud/dialog-manage-cloudhook/dialog-manage-cloudhook.ts +++ b/src/panels/config/cloud/dialog-manage-cloudhook/dialog-manage-cloudhook.ts @@ -119,8 +119,8 @@ export class DialogManageCloudhook extends LitElement { text: this.hass!.localize( "ui.panel.config.cloud.dialog_cloudhook.confirm_disable" ), - dismissText: this.hass!.localize("ui.common.no"), - confirmText: this.hass!.localize("ui.common.yes"), + dismissText: this.hass!.localize("ui.common.cancel"), + confirmText: this.hass!.localize("ui.common.disable"), confirm: () => { this._params!.disableHook(); this._closeDialog(); diff --git a/src/panels/config/devices/ha-config-device-page.ts b/src/panels/config/devices/ha-config-device-page.ts index 15a471bd6c..dfe1286905 100644 --- a/src/panels/config/devices/ha-config-device-page.ts +++ b/src/panels/config/devices/ha-config-device-page.ts @@ -587,7 +587,7 @@ export class HaConfigDevicePage extends LitElement { text: this.hass.localize( "ui.panel.config.devices.confirm_rename_entity_ids_warning" ), - confirmText: this.hass.localize("ui.common.yes"), + confirmText: this.hass.localize("ui.common.rename"), dismissText: this.hass.localize("ui.common.no"), warning: true, })); diff --git a/src/panels/config/entities/ha-config-entities.ts b/src/panels/config/entities/ha-config-entities.ts index e13e688026..8520489164 100644 --- a/src/panels/config/entities/ha-config-entities.ts +++ b/src/panels/config/entities/ha-config-entities.ts @@ -698,8 +698,8 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) { text: this.hass.localize( "ui.panel.config.entities.picker.enable_selected.confirm_text" ), - confirmText: this.hass.localize("ui.common.yes"), - dismissText: this.hass.localize("ui.common.no"), + confirmText: this.hass.localize("ui.common.enable"), + dismissText: this.hass.localize("ui.common.cancel"), confirm: async () => { let require_restart = false; let reload_delay = 0; @@ -748,8 +748,8 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) { text: this.hass.localize( "ui.panel.config.entities.picker.disable_selected.confirm_text" ), - confirmText: this.hass.localize("ui.common.yes"), - dismissText: this.hass.localize("ui.common.no"), + confirmText: this.hass.localize("ui.common.disable"), + dismissText: this.hass.localize("ui.common.cancel"), confirm: () => { this._selectedEntities.forEach((entity) => updateEntityRegistryEntry(this.hass, entity, { @@ -788,8 +788,8 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) { "selected", this._selectedEntities.length ), - confirmText: this.hass.localize("ui.common.yes"), - dismissText: this.hass.localize("ui.common.no"), + confirmText: this.hass.localize("ui.common.remove"), + dismissText: this.hass.localize("ui.common.cancel"), confirm: () => { removeableEntities.forEach((entity) => removeEntityRegistryEntry(this.hass, entity) diff --git a/src/panels/config/lovelace/resources/ha-config-lovelace-resources.ts b/src/panels/config/lovelace/resources/ha-config-lovelace-resources.ts index 77d77f73e2..96a9faa036 100644 --- a/src/panels/config/lovelace/resources/ha-config-lovelace-resources.ts +++ b/src/panels/config/lovelace/resources/ha-config-lovelace-resources.ts @@ -190,6 +190,8 @@ export class HaConfigLovelaceRescources extends LitElement { text: this.hass!.localize( "ui.panel.config.lovelace.resources.refresh_body" ), + confirmText: this.hass.localize("ui.common.refresh"), + dismissText: this.hass.localize("ui.common.not_now"), confirm: () => location.reload(), }); return true; diff --git a/src/panels/config/person/ha-config-person.ts b/src/panels/config/person/ha-config-person.ts index b1f40224d1..3ae66b1d24 100644 --- a/src/panels/config/person/ha-config-person.ts +++ b/src/panels/config/person/ha-config-person.ts @@ -248,8 +248,8 @@ class HaConfigPerson extends LitElement { !(await showConfirmationDialog(this, { title: this.hass!.localize("ui.panel.config.person.confirm_delete"), text: this.hass!.localize("ui.panel.config.person.confirm_delete2"), - dismissText: this.hass!.localize("ui.common.no"), - confirmText: this.hass!.localize("ui.common.yes"), + dismissText: this.hass!.localize("ui.common.cancel"), + confirmText: this.hass!.localize("ui.common.delete"), })) ) { return false; diff --git a/src/panels/config/scene/ha-scene-editor.ts b/src/panels/config/scene/ha-scene-editor.ts index d06ddce676..1781e62ac9 100644 --- a/src/panels/config/scene/ha-scene-editor.ts +++ b/src/panels/config/scene/ha-scene-editor.ts @@ -646,8 +646,8 @@ export class HaSceneEditor extends SubscribeMixin( text: this.hass!.localize( "ui.panel.config.scene.editor.unsaved_confirm" ), - confirmText: this.hass!.localize("ui.common.yes"), - dismissText: this.hass!.localize("ui.common.no"), + confirmText: this.hass!.localize("ui.common.leave"), + dismissText: this.hass!.localize("ui.common.stay"), confirm: () => this._goBack(), }); } else { @@ -663,8 +663,8 @@ export class HaSceneEditor extends SubscribeMixin( private _deleteTapped(): void { showConfirmationDialog(this, { text: this.hass!.localize("ui.panel.config.scene.picker.delete_confirm"), - confirmText: this.hass!.localize("ui.common.yes"), - dismissText: this.hass!.localize("ui.common.no"), + confirmText: this.hass!.localize("ui.common.delete"), + dismissText: this.hass!.localize("ui.common.cancel"), confirm: () => this._delete(), }); } diff --git a/src/panels/config/script/ha-script-editor.ts b/src/panels/config/script/ha-script-editor.ts index 00dc89bca5..8dddca7c3d 100644 --- a/src/panels/config/script/ha-script-editor.ts +++ b/src/panels/config/script/ha-script-editor.ts @@ -542,8 +542,8 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) { text: this.hass!.localize( "ui.panel.config.common.editor.confirm_unsaved" ), - confirmText: this.hass!.localize("ui.common.yes"), - dismissText: this.hass!.localize("ui.common.no"), + confirmText: this.hass!.localize("ui.common.leave"), + dismissText: this.hass!.localize("ui.common.stay"), confirm: () => history.back(), }); } else { @@ -554,8 +554,8 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) { private async _deleteConfirm() { showConfirmationDialog(this, { text: this.hass.localize("ui.panel.config.script.editor.delete_confirm"), - confirmText: this.hass!.localize("ui.common.yes"), - dismissText: this.hass!.localize("ui.common.no"), + confirmText: this.hass!.localize("ui.common.delete"), + dismissText: this.hass!.localize("ui.common.cancel"), confirm: () => this._delete(), }); } diff --git a/src/panels/config/tags/ha-config-tags.ts b/src/panels/config/tags/ha-config-tags.ts index fb3293dace..9a30fc06fe 100644 --- a/src/panels/config/tags/ha-config-tags.ts +++ b/src/panels/config/tags/ha-config-tags.ts @@ -312,12 +312,14 @@ export class HaConfigTags extends SubscribeMixin(LitElement) { private async _removeTag(selectedTag: Tag) { if ( !(await showConfirmationDialog(this, { - title: "Remove tag?", - text: `Are you sure you want to remove tag ${ + title: this.hass!.localize("ui.panel.config.tags.confirm_remove_title"), + text: this.hass.localize( + "ui.panel.config.tags.confirm_remove", + "tag", selectedTag.name || selectedTag.id - }?`, - dismissText: this.hass!.localize("ui.common.no"), - confirmText: this.hass!.localize("ui.common.yes"), + ), + dismissText: this.hass!.localize("ui.common.cancel"), + confirmText: this.hass!.localize("ui.common.remove"), })) ) { return false; diff --git a/src/panels/config/users/ha-config-users.ts b/src/panels/config/users/ha-config-users.ts index 2a0139030f..496d634200 100644 --- a/src/panels/config/users/ha-config-users.ts +++ b/src/panels/config/users/ha-config-users.ts @@ -138,8 +138,8 @@ export class HaConfigUsers extends LitElement { "name", entry.name ), - dismissText: this.hass!.localize("ui.common.no"), - confirmText: this.hass!.localize("ui.common.yes"), + dismissText: this.hass!.localize("ui.common.cancel"), + confirmText: this.hass!.localize("ui.common.delete"), })) ) { return false; diff --git a/src/panels/config/zone/ha-config-zone.ts b/src/panels/config/zone/ha-config-zone.ts index 36bae59ae8..c96a3ec8f1 100644 --- a/src/panels/config/zone/ha-config-zone.ts +++ b/src/panels/config/zone/ha-config-zone.ts @@ -441,9 +441,8 @@ export class HaConfigZone extends SubscribeMixin(LitElement) { if ( !(await showConfirmationDialog(this, { title: this.hass!.localize("ui.panel.config.zone.confirm_delete"), - text: this.hass!.localize("ui.panel.config.zone.confirm_delete2"), - dismissText: this.hass!.localize("ui.common.no"), - confirmText: this.hass!.localize("ui.common.yes"), + dismissText: this.hass!.localize("ui.common.cancel"), + confirmText: this.hass!.localize("ui.common.delete"), })) ) { return false; diff --git a/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts b/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts index 6c67151292..9d03370036 100755 --- a/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts +++ b/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts @@ -308,8 +308,8 @@ export class HuiDialogEditCard extends LitElement text: this.hass!.localize( "ui.panel.lovelace.editor.edit_card.confirm_cancel" ), - dismissText: this.hass!.localize("ui.common.no"), - confirmText: this.hass!.localize("ui.common.yes"), + dismissText: this.hass!.localize("ui.common.stay"), + confirmText: this.hass!.localize("ui.common.leave"), }); if (confirm) { this._cancel(); diff --git a/src/panels/lovelace/ha-panel-lovelace.ts b/src/panels/lovelace/ha-panel-lovelace.ts index e7baf8a427..a955e59056 100644 --- a/src/panels/lovelace/ha-panel-lovelace.ts +++ b/src/panels/lovelace/ha-panel-lovelace.ts @@ -184,7 +184,7 @@ class LovelacePanel extends LitElement { message: this.hass!.localize("ui.panel.lovelace.changed_toast.message"), action: { action: () => this._fetchConfig(false), - text: this.hass!.localize("ui.panel.lovelace.changed_toast.refresh"), + text: this.hass!.localize("ui.common.refresh"), }, duration: 0, dismissable: false, diff --git a/src/panels/lovelace/hui-editor.ts b/src/panels/lovelace/hui-editor.ts index 84a9f86fe1..24909716a7 100644 --- a/src/panels/lovelace/hui-editor.ts +++ b/src/panels/lovelace/hui-editor.ts @@ -173,8 +173,8 @@ class LovelaceFullConfigEditor extends LitElement { text: this.hass.localize( "ui.panel.lovelace.editor.raw_editor.confirm_unsaved_changes" ), - dismissText: this.hass!.localize("ui.common.no"), - confirmText: this.hass!.localize("ui.common.yes"), + dismissText: this.hass!.localize("ui.common.leave"), + confirmText: this.hass!.localize("ui.common.stay"), })) ) { return; @@ -217,8 +217,8 @@ class LovelaceFullConfigEditor extends LitElement { text: this.hass.localize( "ui.panel.lovelace.editor.raw_editor.confirm_remove_config_text" ), - confirmText: this.hass.localize("ui.common.yes"), - dismissText: this.hass.localize("ui.common.no"), + confirmText: this.hass.localize("ui.common.remove"), + dismissText: this.hass.localize("ui.common.cancel"), confirm: () => this._removeConfig(), }); return; diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index 77f0ca4199..9f14c9c9b6 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -284,15 +284,13 @@ class HUIRoot extends LitElement { ? html` ${this.hass!.localize( - "ui.panel.lovelace.menu.refresh" - )}${this.hass!.localize("ui.common.refresh")} location.reload(), }); } @@ -805,7 +805,8 @@ class HUIRoot extends LitElement { margin-left: max(env(safe-area-inset-left), 12px); margin-right: env(safe-area-inset-right); } - ha-tabs, paper-tabs { + ha-tabs, + paper-tabs { --paper-tabs-selection-bar-color: var(--text-primary-color, #fff); text-transform: uppercase; } diff --git a/src/translations/en.json b/src/translations/en.json index 240f4a4438..c365044443 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -269,18 +269,26 @@ "refresh": "Refresh", "cancel": "Cancel", "delete": "Delete", + "remove": "Remove", + "enable": "Enable", + "disable": "Disable", "close": "Close", + "leave": "Leave", + "stay": "Stay", "next": "Next", + "back": "Back", "undo": "Undo", "save": "Save", + "rename": "Rename", "yes": "Yes", "no": "No", + "not_now": "Not now", "skip": "Skip", "menu": "Menu", "overflow_menu": "Overflow menu", "successfully_saved": "Successfully saved", "successfully_deleted": "Successfully deleted", - "back": "Back", + "error_required": "Required", "copied": "Copied" }, @@ -446,7 +454,7 @@ "season": "Season", "track": "Track", "tv_show": "TV Show", - "url": "Url", + "url": "URL", "video": "Video" } } @@ -789,6 +797,8 @@ "edit": "Edit", "never_scanned": "Never scanned", "create_automation": "Create automation with tag", + "confirm_remove_title": "Remove tag?", + "confirm_remove": "Are you sure you want to remove tag {tag}?", "automation_title": "Tag {name} is scanned", "headers": { "name": "Name", @@ -963,7 +973,7 @@ "icon": "Icon", "title": "Title", "title_required": "Title is required.", - "url": "Url", + "url": "URL", "url_error_msg": "The URL should contain a - and cannot contain spaces or special characters, except for _ and -", "require_admin": "Admin only", "delete": "Delete", @@ -983,7 +993,7 @@ }, "picker": { "headers": { - "url": "Url", + "url": "URL", "type": "Type" }, "no_resources": "No resources", @@ -991,15 +1001,15 @@ }, "confirm_delete": "Are you sure you want to delete this resource?", "refresh_header": "Do you want to refresh?", - "refresh_body": "You have to refresh the page to complete the removal, do you want to refresh now?", + "refresh_body": "You have to refresh the page to complete the removal. Do you want to refresh now?", "cant_edit_yaml": "You are using Lovelace in YAML mode, therefore you cannot manage your resources through the UI. Manage them in configuration.yaml.", "detail": { "new_resource": "Add new resource", "dismiss": "Close", "warning_header": "Be cautious!", "warning_text": "Adding resources can be dangerous, make sure you know the source of the resource and trust them. Bad resources could seriously harm your system.", - "url": "Url", - "url_error_msg": "Url is a required field", + "url": "URL", + "url_error_msg": "URL is a required field", "type": "Resource type", "delete": "Delete", "update": "Update", @@ -1660,7 +1670,7 @@ }, "dialog_cloudhook": { "webhook_for": "Webhook for {name}", - "available_at": "The webhook is available at the following url:", + "available_at": "The webhook is available at the following URL:", "managed_by_integration": "This webhook is managed by an integration and cannot be disabled.", "info_disable_webhook": "If you no longer want to use this webhook, you can", "link_disable_webhook": "disable it", @@ -1770,18 +1780,18 @@ "selected": "{number} selected", "enable_selected": { "button": "Enable selected", - "confirm_title": "Do you want to enable {number} entities?", + "confirm_title": "Do you want to enable {number} {number, plural,\n one {entity}\n other {entities}\n}?", "confirm_text": "This will make them available in Home Assistant again if they are now disabled." }, "disable_selected": { "button": "Disable selected", - "confirm_title": "Do you want to disable {number} entities?", + "confirm_title": "Do you want to disable {number} {number, plural,\n one {entity}\n other {entities}\n}?", "confirm_text": "Disabled entities will not be added to Home Assistant." }, "remove_selected": { "button": "Remove selected", - "confirm_title": "Do you want to remove {number} entities?", - "confirm_partly_title": "Only {number} selected entities can be removed.", + "confirm_title": "Do you want to remove {number} {number, plural,\n one {entity}\n other {entities}\n}?", + "confirm_partly_title": "Only {number} {number, plural,\n one {selected entity}\n other {selected entities}\n} can be removed.", "confirm_text": "You should remove them from your Lovelace config and automations if they contain these entities.", "confirm_partly_text": "You can only remove {removable} of the selected {selected} entities. Entities can only be removed when the integration is no longer providing the entities. Sometimes you have to restart Home Assistant before you can remove the entities of a removed integration. Are you sure you want to remove the removable entities?" } @@ -2353,7 +2363,6 @@ "menu": { "configure_ui": "Edit Dashboard", "help": "Help", - "refresh": "Refresh", "start_conversation": "Start conversation", "reload_resources": "Reload resources", "exit_edit_mode": "Exit UI edit mode", @@ -2361,7 +2370,7 @@ }, "reload_resources": { "refresh_header": "Do you want to refresh?", - "refresh_body": "You have to refresh the page to complete the reload, do you want to refresh now?" + "refresh_body": "You have to refresh the page to complete the reload. Do you want to refresh now?" }, "editor": { "header": "Edit UI", @@ -2467,7 +2476,7 @@ }, "action-editor": { "navigation_path": "Navigation Path", - "url_path": "Url Path", + "url_path": "URL Path", "editor_service_data": "Service data can only be entered in the code editor", "actions": { "default_action": "Default Action", @@ -2475,7 +2484,7 @@ "more-info": "More Info", "toggle": "Toggle", "navigate": "Navigate", - "url": "Url", + "url": "URL", "none": "No Action" } }, @@ -2620,7 +2629,7 @@ "theme": "Theme", "no_theme": "No theme", "unit": "Unit", - "url": "Url", + "url": "URL", "state": "State", "secondary_info_attribute": "Secondary Info Attribute", "search": "Search", @@ -2736,8 +2745,7 @@ "starting": "Home Assistant is starting, not everything may be available yet" }, "changed_toast": { - "message": "The Lovelace UI configuration for this dashboard was updated, refresh to see changes?", - "refresh": "Refresh" + "message": "The Lovelace UI configuration for this dashboard was updated. Refresh to see changes?" }, "reload_lovelace": "Reload UI" },