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>
<mwc-button @click=${this._createFlow} unelevated
>${this.hass.localize(
"ui.panel.config.integrations.add"
"ui.panel.config.integrations.add_integration"
)}</mwc-button
>
</div>

View File

@ -93,7 +93,11 @@ export class HaIntegrationCard extends LitElement {
html`<paper-item
.entryId=${item.entry_id}
@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
></paper-item>`
)}

View File

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