Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 3714057

Browse files
authored
Fix branding in "migrating crypto" message (#12265)
Fixes element-hq/element-web#27021
1 parent 0e22413 commit 3714057

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/structures/auth/LoginSplashView.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import ProgressBar from "../../views/elements/ProgressBar";
2323
import AccessibleButton, { ButtonEvent } from "../../views/elements/AccessibleButton";
2424
import { _t } from "../../../languageHandler";
2525
import { useTypedEventEmitterState } from "../../../hooks/useEventEmitter";
26+
import SdkConfig from "../../../SdkConfig";
2627

2728
interface Props {
2829
/** The matrix client which is logging in */
@@ -65,7 +66,7 @@ export function LoginSplashView(props: Props): React.JSX.Element {
6566
if (migrationState.totalSteps !== -1) {
6667
spinnerOrProgress = (
6768
<div className="mx_LoginSplashView_migrationProgress">
68-
<p>{_t("migrating_crypto")}</p>
69+
<p>{_t("migrating_crypto", { brand: SdkConfig.get().brand })}</p>
6970
<ProgressBar value={migrationState.progress} max={migrationState.totalSteps} />
7071
</div>
7172
);

src/i18n/strings/en_EN.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@
15901590
},
15911591
"member_list_back_action_label": "Room members",
15921592
"message_edit_dialog_title": "Message edits",
1593-
"migrating_crypto": "Hang tight. We are updating Element to make encryption faster and more reliable.",
1593+
"migrating_crypto": "Hang tight. We are updating %(brand)s to make encryption faster and more reliable.",
15941594
"mobile_guide": {
15951595
"toast_accept": "Use app",
15961596
"toast_description": "%(brand)s is experimental on a mobile web browser. For a better experience and the latest features, use our free native app.",

0 commit comments

Comments
 (0)