mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Fix translations for integration config panel (#5854)
This commit is contained in:
parent
16ad8a3c01
commit
86bbac430c
@ -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>
|
||||||
|
@ -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>`
|
||||||
)}
|
)}
|
||||||
|
@ -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}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user