Fix translations for integration config panel (#5854)

This commit is contained in:
Bram Kragten 2020-05-13 20:49:01 +02:00 committed by GitHub
parent 16ad8a3c01
commit 86bbac430c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -428,7 +428,7 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) {
</p> </p>
<mwc-button @click=${this._createFlow} unelevated <mwc-button @click=${this._createFlow} unelevated
>${this.hass.localize( >${this.hass.localize(
"ui.panel.config.integrations.add" "ui.panel.config.integrations.add_integration"
)}</mwc-button )}</mwc-button
> >
</div> </div>

View File

@ -93,7 +93,11 @@ export class HaIntegrationCard extends LitElement {
html`<paper-item html`<paper-item
.entryId=${item.entry_id} .entryId=${item.entry_id}
@click=${this._selectConfigEntry} @click=${this._selectConfigEntry}
><paper-item-body>${item.title}</paper-item-body ><paper-item-body
>${item.title ||
this.hass.localize(
"ui.panel.config.integrations.config_entry.unnamed_entry"
)}</paper-item-body
><ha-icon-next></ha-icon-next ><ha-icon-next></ha-icon-next
></paper-item>` ></paper-item>`
)} )}

View File

@ -1391,6 +1391,7 @@
"manuf": "by {manufacturer}", "manuf": "by {manufacturer}",
"hub": "Connected via", "hub": "Connected via",
"firmware": "Firmware: {version}", "firmware": "Firmware: {version}",
"unnamed_entry": "Unnamed entry",
"device_unavailable": "device unavailable", "device_unavailable": "device unavailable",
"entity_unavailable": "entity unavailable", "entity_unavailable": "entity unavailable",
"area": "In {area}", "area": "In {area}",