mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Add network adapter translations (#24096)
This commit is contained in:
parent
bf962b29af
commit
dcb04067b8
@ -64,9 +64,13 @@ export class HaNetwork extends LitElement {
|
|||||||
>
|
>
|
||||||
</ha-checkbox>
|
</ha-checkbox>
|
||||||
</span>
|
</span>
|
||||||
<span slot="heading" data-for="auto_configure"> Auto Configure </span>
|
<span slot="heading" data-for="auto_configure">
|
||||||
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.network.adapter.auto_configure"
|
||||||
|
)}
|
||||||
|
</span>
|
||||||
<span slot="description" data-for="auto_configure">
|
<span slot="description" data-for="auto_configure">
|
||||||
Detected:
|
${this.hass.localize("ui.panel.config.network.adapter.detected")}:
|
||||||
${format_auto_detected_interfaces(this.networkConfig.adapters)}
|
${format_auto_detected_interfaces(this.networkConfig.adapters)}
|
||||||
</span>
|
</span>
|
||||||
</ha-settings-row>
|
</ha-settings-row>
|
||||||
@ -85,18 +89,21 @@ export class HaNetwork extends LitElement {
|
|||||||
</ha-checkbox>
|
</ha-checkbox>
|
||||||
</span>
|
</span>
|
||||||
<span slot="heading">
|
<span slot="heading">
|
||||||
Adapter: ${adapter.name}
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.network.adapter.adapter"
|
||||||
|
)}:
|
||||||
|
${adapter.name}
|
||||||
${adapter.default
|
${adapter.default
|
||||||
? html`<ha-svg-icon .path=${mdiStar}></ha-svg-icon>
|
? html`<ha-svg-icon .path=${mdiStar}></ha-svg-icon>
|
||||||
(Default)`
|
(${this.hass.localize("ui.common.default")})`
|
||||||
: ""}
|
: nothing}
|
||||||
</span>
|
</span>
|
||||||
<span slot="description">
|
<span slot="description">
|
||||||
${format_addresses([...adapter.ipv4, ...adapter.ipv6])}
|
${format_addresses([...adapter.ipv4, ...adapter.ipv6])}
|
||||||
</span>
|
</span>
|
||||||
</ha-settings-row>`
|
</ha-settings-row>`
|
||||||
)
|
)
|
||||||
: ""}
|
: nothing}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6122,7 +6122,12 @@
|
|||||||
},
|
},
|
||||||
"network_adapter": "Network adapter",
|
"network_adapter": "Network adapter",
|
||||||
"network_adapter_info": "Configure which network adapters integrations will use. Currently this setting only affects multicast traffic. A restart is required for these settings to apply.",
|
"network_adapter_info": "Configure which network adapters integrations will use. Currently this setting only affects multicast traffic. A restart is required for these settings to apply.",
|
||||||
"ip_information": "IP Information"
|
"ip_information": "IP Information",
|
||||||
|
"adapter": {
|
||||||
|
"auto_configure": "Auto configure",
|
||||||
|
"detected": "Detected",
|
||||||
|
"adapter": "Adapter"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"storage": {
|
"storage": {
|
||||||
"caption": "Storage",
|
"caption": "Storage",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user