Change wording and icon for default thread router (#17593)

This commit is contained in:
Bram Kragten 2023-08-16 14:25:29 +02:00 committed by GitHub
parent bd5264308f
commit 51d9271c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -5,7 +5,7 @@ import {
mdiDevices,
mdiDotsVertical,
mdiInformationOutline,
mdiStar,
mdiCellphoneKey,
} from "@mdi/js";
import { LitElement, PropertyValues, TemplateResult, css, html } from "lit";
import { customElement, property, state } from "lit/decorators";
@ -195,11 +195,12 @@ export class ThreadConfigPanel extends SubscribeMixin(LitElement) {
? html`${network.dataset &&
router.border_agent_id ===
network.dataset.preferred_border_agent_id
? html`<ha-svg-icon .path=${mdiStar} slot="meta">
${this.hass.localize(
? html`<ha-svg-icon
.path=${mdiCellphoneKey}
.title=${this.hass.localize(
"ui.panel.config.thread.default_router"
)}
</ha-svg-icon>`
></ha-svg-icon>`
: ""}
<ha-button-menu
slot="meta"

View File

@ -3707,8 +3707,9 @@
"add_open_thread_border_router": "Add an OpenThread border router",
"reset_border_router": "Reset border router",
"add_to_my_network": "Add to preferred network",
"default_router": "Default router for network",
"set_default_router": "Set as default router for network",
"default_router_not_found": "The border router used for Android + iOS credentials for this network could not be found.",
"default_router": "Used for Android + iOS credentials",
"set_default_router": "Use router for Android + iOS credentials",
"no_routers_otbr_network": "No border routers where found, maybe the border router is not configured correctly. You can try to reset it to the factory settings.",
"add_dataset_from_tlv": "Add dataset from TLV",
"add_dataset": "Add Thread dataset",