Translated Advanced mode toggle (#3997)

This commit is contained in:
springstan 2019-10-13 22:39:08 +02:00 committed by Bram Kragten
parent b94da1bd19
commit 4f30cae6aa
2 changed files with 8 additions and 5 deletions

View File

@ -23,7 +23,9 @@ class AdvancedModeCard extends LitElement {
return html`
<ha-card>
<div class="card-header">
<div class="title">Advanced mode</div>
<div class="title">
${this.hass.localize("ui.panel.profile.advanced_mode.title")}
</div>
<ha-switch
.checked=${this.coreUserData && this.coreUserData.showAdvanced}
.disabled=${this.coreUserData === undefined}
@ -31,10 +33,7 @@ class AdvancedModeCard extends LitElement {
></ha-switch>
</div>
<div class="card-content">
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")}
</div>
</ha-card>
`;

View File

@ -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.",