More info panel: Replace "Dismiss dialog" tooltip with "Close info" (#24449)

* More info panel: Replace "Dismiss dialog" tooltip with "Close info"

Dismiss should only be used for closing dialogs like notifications that cannot be reopened.

Therefore the "Dismiss dialog" tooltip for the More info dialog is misleading, especially in translations that might emphasize the destructive meaning of "dismiss".

Matching the "Back to info" tooltip shown to return to the initial view from the entity settings this is changed to "Close info".

* use common close

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Norbert Rittel
2025-02-28 16:06:03 +01:00
committed by GitHub
parent f1d04e5178
commit ed6659ad8f
4 changed files with 3 additions and 13 deletions

View File

@@ -229,9 +229,7 @@ class DataEntryFlowDialog extends LitElement {
`
: ""}
<ha-icon-button
.label=${this.hass.localize(
"ui.panel.config.integrations.config_flow.dismiss"
)}
.label=${this.hass.localize("ui.common.close")}
.path=${mdiClose}
dialogAction="close"
></ha-icon-button>