From 82a0d9a4131800ddb9e623cb85ba9a8dc1311a3f Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Mon, 23 Mar 2026 11:08:31 +0100 Subject: [PATCH] Add translations --- src/components/ha-windows-98.ts | 16 ++++++++-------- src/translations/en.json | 7 ++++++- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/components/ha-windows-98.ts b/src/components/ha-windows-98.ts index bdc11c7abb..00551585e0 100644 --- a/src/components/ha-windows-98.ts +++ b/src/components/ha-windows-98.ts @@ -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`
-

Home Assistant

+

+ ${this.hass!.localize("ui.panel.windows_98.bsod_title")} +

- 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")}

- * Don't worry, nothing is actually broken.
- * Your automations are still running. Probably. + * ${this.hass!.localize("ui.panel.windows_98.bsod_line_1")}
+ * ${this.hass!.localize("ui.panel.windows_98.bsod_line_2")}

- Press any key or click to continue + ${this.hass!.localize("ui.panel.windows_98.bsod_continue")} _

diff --git a/src/translations/en.json b/src/translations/en.json index 54b3615494..7a23c40e9b 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -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": {