mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
parent
f1fabd09a6
commit
deeb0146c7
@ -145,9 +145,12 @@ export class HuiCardEditor extends LitElement {
|
||||
<mwc-button
|
||||
@click=${this.toggleMode}
|
||||
?disabled=${this._warning || this._error}
|
||||
?unelevated=${this._GUImode === false}
|
||||
>
|
||||
<ha-icon icon="mdi:code-braces"></ha-icon>
|
||||
${this.hass!.localize(
|
||||
this._GUImode
|
||||
? "ui.panel.lovelace.editor.edit_card.show_code_editor"
|
||||
: "ui.panel.lovelace.editor.edit_card.show_visual_editor"
|
||||
)}
|
||||
</mwc-button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1368,6 +1368,8 @@
|
||||
"header": "Card Configuration",
|
||||
"pick_card": "Pick the card you want to add.",
|
||||
"toggle_editor": "Toggle Editor",
|
||||
"show_visual_editor": "Show Visual Editor",
|
||||
"show_code_editor": "Show Code Editor",
|
||||
"add": "Add Card",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
|
Loading…
x
Reference in New Issue
Block a user