Migrate more strings to translation keys (#11498)

This commit is contained in:
Michael Telatynski 2023-08-31 11:22:10 +01:00 committed by GitHub
parent 9329b896b3
commit 6b3243b27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 1495 additions and 1491 deletions

View file

@ -163,7 +163,7 @@ export default class LoginWithQRFlow extends React.Component<IProps> {
kind="primary"
onClick={this.handleClick(Click.Approve)}
>
{_t("Approve")}
{_t("action|approve")}
</AccessibleButton>
</>
);

View file

@ -536,7 +536,12 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
public render(): ReactNode {
const registerButton = (
<input className="mx_Login_submit" type="submit" value={_t("Register")} disabled={!this.props.canSubmit} />
<input
className="mx_Login_submit"
type="submit"
value={_t("action|register")}
disabled={!this.props.canSubmit}
/>
);
let emailHelperText: JSX.Element | undefined;