mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Fix translations for Z-Wave & Zigbee (#5606)
This commit is contained in:
parent
1ef2d3c7f2
commit
8420f73919
@ -42,7 +42,8 @@ class HaConfigNavigation extends LitElement {
|
||||
<ha-icon .icon=${page.icon} slot="item-icon"></ha-icon>
|
||||
<paper-item-body two-line>
|
||||
${this.hass.localize(
|
||||
`ui.panel.config.${page.component}.caption`
|
||||
page.translationKey ||
|
||||
`ui.panel.config.${page.component}.caption`
|
||||
)}
|
||||
${page.component === "cloud" && (page.info as CloudStatus)
|
||||
? page.info.logged_in
|
||||
|
@ -132,13 +132,13 @@ export const configSections: { [name: string]: PageNavigation[] } = {
|
||||
{
|
||||
component: "zha",
|
||||
path: "/config/zha",
|
||||
translationKey: "ui.panel.config.zha.caption",
|
||||
translationKey: "component.zha.title",
|
||||
icon: "hass:zigbee",
|
||||
},
|
||||
{
|
||||
component: "zwave",
|
||||
path: "/config/zwave",
|
||||
translationKey: "ui.panel.config.zwave.caption",
|
||||
translationKey: "component.zwave.title",
|
||||
icon: "hass:z-wave",
|
||||
},
|
||||
],
|
||||
|
@ -113,7 +113,7 @@ class ZHAConfigDashboard extends LitElement {
|
||||
|
||||
protected render(): TemplateResult {
|
||||
return html`
|
||||
<hass-subpage .header=${this.hass.localize("ui.panel.config.zha.title")}>
|
||||
<hass-subpage .header=${this.hass.localize("component.zha.title")}>
|
||||
<ha-config-section .narrow=${this.narrow} .isWide=${this.isWide}>
|
||||
<div slot="header">
|
||||
${this.hass.localize("ui.panel.config.zha.header")}
|
||||
|
@ -1431,8 +1431,6 @@
|
||||
}
|
||||
},
|
||||
"zha": {
|
||||
"caption": "ZHA",
|
||||
"title": "Zigbee Home Automation",
|
||||
"header": "Configure Zigbee Home Automation",
|
||||
"introduction": "Here it is possible to configure the ZHA component. Not everything is possible to configure from the UI yet, but we're working on it.",
|
||||
"description": "Zigbee Home Automation network management",
|
||||
|
Loading…
x
Reference in New Issue
Block a user