Fix branding in "migrating crypto" message (#12265)
Fixes https://github.com/element-hq/element-web/issues/27021
This commit is contained in:
parent
0e22413885
commit
371405782d
2 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@ import ProgressBar from "../../views/elements/ProgressBar";
|
||||||
import AccessibleButton, { ButtonEvent } from "../../views/elements/AccessibleButton";
|
import AccessibleButton, { ButtonEvent } from "../../views/elements/AccessibleButton";
|
||||||
import { _t } from "../../../languageHandler";
|
import { _t } from "../../../languageHandler";
|
||||||
import { useTypedEventEmitterState } from "../../../hooks/useEventEmitter";
|
import { useTypedEventEmitterState } from "../../../hooks/useEventEmitter";
|
||||||
|
import SdkConfig from "../../../SdkConfig";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
/** The matrix client which is logging in */
|
/** The matrix client which is logging in */
|
||||||
|
@ -65,7 +66,7 @@ export function LoginSplashView(props: Props): React.JSX.Element {
|
||||||
if (migrationState.totalSteps !== -1) {
|
if (migrationState.totalSteps !== -1) {
|
||||||
spinnerOrProgress = (
|
spinnerOrProgress = (
|
||||||
<div className="mx_LoginSplashView_migrationProgress">
|
<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} />
|
<ProgressBar value={migrationState.progress} max={migrationState.totalSteps} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -1590,7 +1590,7 @@
|
||||||
},
|
},
|
||||||
"member_list_back_action_label": "Room members",
|
"member_list_back_action_label": "Room members",
|
||||||
"message_edit_dialog_title": "Message edits",
|
"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": {
|
"mobile_guide": {
|
||||||
"toast_accept": "Use app",
|
"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.",
|
"toast_description": "%(brand)s is experimental on a mobile web browser. For a better experience and the latest features, use our free native app.",
|
||||||
|
|
Loading…
Reference in a new issue