1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 00:27:49 +01:00

Add translations

This commit is contained in:
Paul Bottein
2026-03-23 11:08:31 +01:00
parent 1325acdba3
commit 82a0d9a413
2 changed files with 14 additions and 9 deletions

View File

@@ -328,7 +328,7 @@ export class HaWindows98 extends SubscribeMixin(LitElement) {
setTimeout(() => {
this._bsodReadyToDismiss = true;
document.addEventListener("keydown", this._boundDismissBsod);
}, 500);
}, BSOD_DISMISS_DELAY);
}
private _dismissBsod(): void {
@@ -417,18 +417,18 @@ export class HaWindows98 extends SubscribeMixin(LitElement) {
? html`
<div class="bsod" @click=${this._dismissBsod}>
<div class="bsod-content">
<h1 class="bsod-title">Home Assistant</h1>
<h1 class="bsod-title">
${this.hass!.localize("ui.panel.windows_98.bsod_title")}
</h1>
<p>
A fatal exception 0E has occurred at 0028:C0011E36 in VXD
HAcore(01) + 00010E36. The current automation will be
terminated.
${this.hass!.localize("ui.panel.windows_98.bsod_error")}
</p>
<p>
* Don't worry, nothing is actually broken.<br />
* Your automations are still running. Probably.
* ${this.hass!.localize("ui.panel.windows_98.bsod_line_1")}<br />
* ${this.hass!.localize("ui.panel.windows_98.bsod_line_2")}
</p>
<p class="bsod-prompt">
Press any key or click to continue
${this.hass!.localize("ui.panel.windows_98.bsod_continue")}
<span class="bsod-cursor">_</span>
</p>
</div>

View File

@@ -10732,7 +10732,12 @@
"tip_23": "There are two types of people: those who back up, and those who will.",
"tip_24": "My favorite color is #008080. Don't ask me why.",
"tip_25": "Automations are just spicy if-then statements.",
"dismiss": "Dismiss me"
"dismiss": "Dismiss me",
"bsod_title": "Home Assistant",
"bsod_error": "A fatal exception 0E has occurred at C0FF:EE15G00D in VXD L1GHT5(01) + 0FF. The current automation will be terminated.",
"bsod_line_1": "Don't worry, nothing is actually broken.",
"bsod_line_2": "Your automations are still running. Probably.",
"bsod_continue": "Press any key or click to continue"
}
},
"tips": {