From 4f30cae6aa7900eb28180711ba189fdf89a7c54a Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Sun, 13 Oct 2019 22:39:08 +0200 Subject: [PATCH] Translated Advanced mode toggle (#3997) --- src/panels/profile/ha-advanced-mode-card.ts | 9 ++++----- src/translations/en.json | 4 ++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/panels/profile/ha-advanced-mode-card.ts b/src/panels/profile/ha-advanced-mode-card.ts index 75fbf2ef1b..74b959917d 100644 --- a/src/panels/profile/ha-advanced-mode-card.ts +++ b/src/panels/profile/ha-advanced-mode-card.ts @@ -23,7 +23,9 @@ class AdvancedModeCard extends LitElement { return html`
-
Advanced mode
+
+ ${this.hass.localize("ui.panel.profile.advanced_mode.title")} +
- Home Assistant hides advanced features and options by default. You can - make these features accessible by checking this toggle. This is a - user-specific setting and does not impact other users using Home - Assistant. + ${this.hass.localize("ui.panel.profile.advanced_mode.description")}
`; diff --git a/src/translations/en.json b/src/translations/en.json index 96fd75e38b..abd73af154 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1592,6 +1592,10 @@ "close": "Close", "submit": "Submit" }, + "advanced_mode": { + "title": "Advanced Mode", + "description": "Home Assistant hides advanced features and options by default. You can make these features accessible by checking this toggle. This is a user-specific setting and does not impact other users using Home Assistant." + }, "refresh_tokens": { "header": "Refresh Tokens", "description": "Each refresh token represents a login session. Refresh tokens will be automatically removed when you click log out. The following refresh tokens are currently active for your account.",