Clarify title of the dialog (#3629)

* Clarify title of the dialog

* translate
This commit is contained in:
Bram Kragten 2019-09-06 16:36:58 +02:00 committed by GitHub
parent c8d3293ae9
commit b97e24283c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -55,8 +55,15 @@ export class HuiDialogEditLovelace extends LitElement {
protected render(): TemplateResult | void {
return html`
<ha-paper-dialog with-backdrop>
<h2>Edit Lovelace</h2>
<h2>
${this.hass!.localize(
"ui.panel.lovelace.editor.edit_lovelace.header"
)}
</h2>
<paper-dialog-scrollable>
${this.hass!.localize(
"ui.panel.lovelace.editor.edit_lovelace.explanation"
)}
<hui-lovelace-editor
.hass="${this.hass}"
.config="${this._config}"

View File

@ -1060,6 +1060,10 @@
"unsaved_changes": "Unsaved changes",
"saved": "Saved"
},
"edit_lovelace": {
"header": "Title of your Lovelace UI",
"explanation": "This title is shown above all your views in Lovelace."
},
"edit_view": {
"header": "View Configuration",
"add": "Add view",