Added missing label to translations (#6362)

This commit is contained in:
Yosi Levy 2020-07-11 23:17:14 +03:00 committed by GitHub
parent 914b47f340
commit 077802f972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,7 @@ declare global {
@customElement("hui-lovelace-editor") @customElement("hui-lovelace-editor")
export class HuiLovelaceEditor extends LitElement { export class HuiLovelaceEditor extends LitElement {
@property() public hass?: HomeAssistant; @property() public hass!: HomeAssistant;
@property() public config?: LovelaceConfig; @property() public config?: LovelaceConfig;
@ -38,7 +38,9 @@ export class HuiLovelaceEditor extends LitElement {
${configElementStyle} ${configElementStyle}
<div class="card-config"> <div class="card-config">
<paper-input <paper-input
label="Title" .label=${this.hass.localize(
"ui.panel.lovelace.editor.edit_lovelace.title"
)}
.value="${this._title}" .value="${this._title}"
.configValue="${"title"}" .configValue="${"title"}"
@value-changed="${this._valueChanged}" @value-changed="${this._valueChanged}"

View File

@ -1845,7 +1845,8 @@
"edit_lovelace": { "edit_lovelace": {
"header": "Title of your Lovelace UI", "header": "Title of your Lovelace UI",
"explanation": "This title is shown above all your views in the Lovelace UI.", "explanation": "This title is shown above all your views in the Lovelace UI.",
"edit_title": "Edit title" "edit_title": "Edit title",
"title": "Title"
}, },
"edit_view": { "edit_view": {
"header": "View Configuration", "header": "View Configuration",