Migrate more strings to translation keys (#11599)
This commit is contained in:
committed by
GitHub
parent
0583fc8090
commit
d00ba74aaa
@@ -50,7 +50,7 @@ const QRCode: React.FC<IProps> = ({ data, className, ...options }) => {
|
||||
|
||||
return (
|
||||
<div className={classNames("mx_QRCode", className)}>
|
||||
{dataUri ? <img src={dataUri} className="mx_VerificationQRCode" alt={_t("QR Code")} /> : <Spinner />}
|
||||
{dataUri ? <img src={dataUri} className="mx_VerificationQRCode" alt={_t("common|qr_code")} /> : <Spinner />}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -92,11 +92,11 @@ const SSOButton: React.FC<ISSOButtonProps> = ({
|
||||
}) => {
|
||||
let label: string;
|
||||
if (idp) {
|
||||
label = _t("Continue with %(provider)s", { provider: idp.name });
|
||||
label = _t("auth|continue_with_idp", { provider: idp.name });
|
||||
} else if (DELEGATED_OIDC_COMPATIBILITY.findIn<boolean>(flow)) {
|
||||
label = _t("action|continue");
|
||||
} else {
|
||||
label = _t("Sign in with single sign-on");
|
||||
label = _t("auth|sign_in_with_sso");
|
||||
}
|
||||
|
||||
const onClick = (): void => {
|
||||
|
||||
Reference in New Issue
Block a user