From 293df61872b8d1cc06aa6f0ff1f55084af153d7b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 26 Apr 2022 22:01:40 -0700 Subject: [PATCH] Add a tip for my shortcut (#12462) --- src/panels/config/dashboard/ha-config-dashboard.ts | 6 +++--- src/translations/en.json | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/panels/config/dashboard/ha-config-dashboard.ts b/src/panels/config/dashboard/ha-config-dashboard.ts index f4ad00f027..326f173499 100644 --- a/src/panels/config/dashboard/ha-config-dashboard.ts +++ b/src/panels/config/dashboard/ha-config-dashboard.ts @@ -1,6 +1,6 @@ import type { ActionDetail } from "@material/mwc-list"; import "@material/mwc-list/mwc-list-item"; -import { mdiCloudLock, mdiDotsVertical, mdiMagnify, mdiNewBox } from "@mdi/js"; +import { mdiCloudLock, mdiDotsVertical, mdiMagnify } from "@mdi/js"; import "@polymer/app-layout/app-header/app-header"; import "@polymer/app-layout/app-toolbar/app-toolbar"; import { HassEntities } from "home-assistant-js-websocket"; @@ -81,12 +81,12 @@ const randomTip = (hass: HomeAssistant) => { rel="noreferrer" >Newsletter - ` + ` ), weight: 2, }, { content: hass.localize("ui.tips.key_c_hint"), weight: 1 }, + { content: hass.localize("ui.tips.key_m_hint"), weight: 1 }, ]; tips.forEach((tip) => { diff --git a/src/translations/en.json b/src/translations/en.json index 606c63338a..412bbd4272 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1085,7 +1085,7 @@ "integration_starting": "Starting {integration}, not everything will be available until it is finished.", "triggered": "Triggered {name}", "dismiss": "Dismiss", - "no_matching_link_found": "No matching my link found for {path}" + "no_matching_link_found": "No matching My link found for {path}" }, "sidebar": { "external_app_configuration": "App Configuration", @@ -4286,7 +4286,8 @@ }, "tips": { "key_c_hint": "Press 'c' on any page to open the command dialog", - "key_e_hint": "Press 'e' on any page to open the entity search dialog" + "key_e_hint": "Press 'e' on any page to open the entity search dialog", + "key_m_hint": "Press 'm' on any page to get the My Home Assistant link" } }, "supervisor": {