mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 21:17:47 +00:00
localize
This commit is contained in:
parent
bc14d6dfcb
commit
b77ce9fc0e
@ -15,15 +15,12 @@ class SupervisorConnectivity extends LitElement {
|
|||||||
@property({ attribute: false }) public supervisor!: Supervisor;
|
@property({ attribute: false }) public supervisor!: Supervisor;
|
||||||
|
|
||||||
protected render(): TemplateResult {
|
protected render(): TemplateResult {
|
||||||
if (
|
if (this.supervisor.network.supervisor_internet) {
|
||||||
!this.supervisor.network.host_internet &&
|
|
||||||
this.supervisor.network.supervisor_internet
|
|
||||||
) {
|
|
||||||
return html``;
|
return html``;
|
||||||
}
|
}
|
||||||
|
|
||||||
return html`<div class="connectivity">
|
return html`<div class="connectivity">
|
||||||
<span>The supervisor has lost connectivity.</span>
|
<span>${this.supervisor.localize("common.error.lost_connectivity")}</span>
|
||||||
</div>`;
|
</div>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3618,7 +3618,8 @@
|
|||||||
|
|
||||||
"error": {
|
"error": {
|
||||||
"unknown": "Unknown error",
|
"unknown": "Unknown error",
|
||||||
"update_failed": "Update failed"
|
"update_failed": "Update failed",
|
||||||
|
"lost_connectivity": "The Supervisor has lost connectivity, check the Supervisor logs and your network settings."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"confirm": {
|
"confirm": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user