mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Added title attributes and translated them in Configure UI Mode
This commit is contained in:
parent
9078e41855
commit
971865e4f9
@ -87,6 +87,9 @@ class HUIRoot extends LitElement {
|
||||
? html`
|
||||
<app-toolbar class="edit-mode">
|
||||
<paper-icon-button
|
||||
title="${this.hass!.localize(
|
||||
"ui.panel.lovelace.menu.close"
|
||||
)}"
|
||||
icon="hass:close"
|
||||
@click="${this._editModeDisable}"
|
||||
></paper-icon-button>
|
||||
@ -94,6 +97,9 @@ class HUIRoot extends LitElement {
|
||||
${this.config.title ||
|
||||
this.hass!.localize("ui.panel.lovelace.editor.header")}
|
||||
<paper-icon-button
|
||||
title="${this.hass!.localize(
|
||||
"ui.panel.lovelace.editor.edit_lovelace.edit_title"
|
||||
)}"
|
||||
icon="hass:pencil"
|
||||
class="edit-icon"
|
||||
@click="${this._editLovelace}"
|
||||
@ -113,6 +119,9 @@ class HUIRoot extends LitElement {
|
||||
aria-label=${this.hass!.localize(
|
||||
"ui.panel.lovelace.editor.menu.open"
|
||||
)}
|
||||
title="${this.hass!.localize(
|
||||
"ui.panel.lovelace.editor.menu.open"
|
||||
)}"
|
||||
icon="hass:dots-vertical"
|
||||
slot="dropdown-trigger"
|
||||
></paper-icon-button>
|
||||
|
@ -1398,7 +1398,8 @@
|
||||
"configure_ui": "Configure UI",
|
||||
"unused_entities": "Unused entities",
|
||||
"help": "Help",
|
||||
"refresh": "Refresh"
|
||||
"refresh": "Refresh",
|
||||
"close": "Close"
|
||||
},
|
||||
"editor": {
|
||||
"header": "Edit UI",
|
||||
@ -1414,7 +1415,8 @@
|
||||
},
|
||||
"edit_lovelace": {
|
||||
"header": "Title of your Lovelace UI",
|
||||
"explanation": "This title is shown above all your views in Lovelace."
|
||||
"explanation": "This title is shown above all your views in Lovelace.",
|
||||
"edit_title": "Edit title"
|
||||
},
|
||||
"edit_view": {
|
||||
"header": "View Configuration",
|
||||
|
Loading…
x
Reference in New Issue
Block a user