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

Commit

Permalink
Fix branding in "migrating crypto" message (#12265)
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh authored Feb 20, 2024
1 parent 0e22413 commit 3714057
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/structures/auth/LoginSplashView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -65,7 +66,7 @@ export function LoginSplashView(props: Props): React.JSX.Element {
if (migrationState.totalSteps !== -1) {
spinnerOrProgress = (
<div className="mx_LoginSplashView_migrationProgress">
<p>{_t("migrating_crypto")}</p>
<p>{_t("migrating_crypto", { brand: SdkConfig.get().brand })}</p>
<ProgressBar value={migrationState.progress} max={migrationState.totalSteps} />
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@
},
"member_list_back_action_label": "Room members",
"message_edit_dialog_title": "Message edits",
"migrating_crypto": "Hang tight. We are updating Element to make encryption faster and more reliable.",
"migrating_crypto": "Hang tight. We are updating %(brand)s to make encryption faster and more reliable.",
"mobile_guide": {
"toast_accept": "Use app",
"toast_description": "%(brand)s is experimental on a mobile web browser. For a better experience and the latest features, use our free native app.",
Expand Down

0 comments on commit 3714057

Please sign in to comment.