From 371405782d4dab437adb23e94213c2c5b00b1827 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Tue, 20 Feb 2024 12:14:22 +0000 Subject: [PATCH] Fix branding in "migrating crypto" message (#12265) Fixes https://github.com/element-hq/element-web/issues/27021 --- src/components/structures/auth/LoginSplashView.tsx | 3 ++- src/i18n/strings/en_EN.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/structures/auth/LoginSplashView.tsx b/src/components/structures/auth/LoginSplashView.tsx index 808b97ff41..2ae13ce147 100644 --- a/src/components/structures/auth/LoginSplashView.tsx +++ b/src/components/structures/auth/LoginSplashView.tsx @@ -23,6 +23,7 @@ import ProgressBar from "../../views/elements/ProgressBar"; import AccessibleButton, { ButtonEvent } from "../../views/elements/AccessibleButton"; import { _t } from "../../../languageHandler"; import { useTypedEventEmitterState } from "../../../hooks/useEventEmitter"; +import SdkConfig from "../../../SdkConfig"; interface Props { /** The matrix client which is logging in */ @@ -65,7 +66,7 @@ export function LoginSplashView(props: Props): React.JSX.Element { if (migrationState.totalSteps !== -1) { spinnerOrProgress = (
{_t("migrating_crypto")}
+{_t("migrating_crypto", { brand: SdkConfig.get().brand })}