From c05c5231828f1aae099e2193b7b33965b306f966 Mon Sep 17 00:00:00 2001 From: Valere Date: Thu, 4 Jun 2026 15:30:59 +0200 Subject: [PATCH] fixup: ensure dynamic keys are extracted by i18n parser --- src/utils/errors.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/errors.ts b/src/utils/errors.ts index b2af2c5c..de19d2cb 100644 --- a/src/utils/errors.ts +++ b/src/utils/errors.ts @@ -251,6 +251,8 @@ export class PeerConnectionTimeoutError extends ElementCallError { ErrorCode.SFU_ERROR, ErrorCategory.NETWORK_CONNECTIVITY, ); + // Mark translation key for i18n extraction + // t("error.peer_connection_timeout_description"); this.localisedMessageKey = "error.peer_connection_timeout_description"; this.localisedMessageValues = { linkUrl: @@ -266,6 +268,8 @@ export class LivekitConnectionError extends ElementCallError { ErrorCode.SFU_ERROR, ErrorCategory.NETWORK_CONNECTIVITY, ); + // Mark translation key for i18n extraction + // t("error.livekit_connection_error_description"); this.localisedMessageKey = "error.livekit_connection_error_description"; this.localisedMessageValues = { reason: cause.reasonName }; }