mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
Translated Advanced mode toggle (#3997)
This commit is contained in:
parent
b94da1bd19
commit
4f30cae6aa
@ -23,7 +23,9 @@ class AdvancedModeCard extends LitElement {
|
|||||||
return html`
|
return html`
|
||||||
<ha-card>
|
<ha-card>
|
||||||
<div class="card-header">
|
<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
|
<ha-switch
|
||||||
.checked=${this.coreUserData && this.coreUserData.showAdvanced}
|
.checked=${this.coreUserData && this.coreUserData.showAdvanced}
|
||||||
.disabled=${this.coreUserData === undefined}
|
.disabled=${this.coreUserData === undefined}
|
||||||
@ -31,10 +33,7 @@ class AdvancedModeCard extends LitElement {
|
|||||||
></ha-switch>
|
></ha-switch>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
Home Assistant hides advanced features and options by default. You can
|
${this.hass.localize("ui.panel.profile.advanced_mode.description")}
|
||||||
make these features accessible by checking this toggle. This is a
|
|
||||||
user-specific setting and does not impact other users using Home
|
|
||||||
Assistant.
|
|
||||||
</div>
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
`;
|
`;
|
||||||
|
@ -1592,6 +1592,10 @@
|
|||||||
"close": "Close",
|
"close": "Close",
|
||||||
"submit": "Submit"
|
"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": {
|
"refresh_tokens": {
|
||||||
"header": "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.",
|
"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.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user