From 7ab9257f5e51cb22a3dced002a027dfb2645164c Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 29 Jan 2020 19:01:35 +0100 Subject: [PATCH] Fix translation advanced mode (#4647) --- src/panels/config/dashboard/ha-config-dashboard.ts | 4 ++-- src/translations/en.json | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/panels/config/dashboard/ha-config-dashboard.ts b/src/panels/config/dashboard/ha-config-dashboard.ts index 5114a62631..2f3b90ce8b 100644 --- a/src/panels/config/dashboard/ha-config-dashboard.ts +++ b/src/panels/config/dashboard/ha-config-dashboard.ts @@ -88,11 +88,11 @@ class HaConfigDashboard extends LitElement { ? html`
${this.hass.localize( - "ui.panel.profile.advanced_mode.hint_enable" + "ui.panel.config.advanced_mode.hint_enable" )} ${this.hass.localize( - "ui.panel.profile.advanced_mode.link_profile_page" + "ui.panel.config.advanced_mode.link_profile_page" )}.
diff --git a/src/translations/en.json b/src/translations/en.json index 02f233872a..6eaae9ff61 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -712,6 +712,10 @@ "config": { "header": "Configure Home Assistant", "introduction": "Here it is possible to configure your components and Home Assistant. Not everything is possible to configure from the UI yet, but we're working on it.", + "advanced_mode": { + "hint_enable": "Missing config options? Enable advanced mode on", + "link_profile_page": "your profile page" + }, "common": { "editor": { "confirm_unsaved": "You have unsaved changes. Are you sure you want to leave?" @@ -1972,8 +1976,6 @@ "advanced_mode": { "title": "Advanced Mode", "description": "Unlocks advanced features.", - "hint_enable": "Missing config options? Enable advanced mode on", - "link_profile_page": "your profile page", "link_promo": "Learn more" }, "refresh_tokens": {