mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 03:19:44 +00:00
localize
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user