Create more action_* common strings (#11438)

This commit is contained in:
Michael Telatynski 2023-08-23 11:57:22 +01:00 committed by GitHub
parent e79b03a2df
commit d5cacff6c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
202 changed files with 2046 additions and 2105 deletions

View file

@ -564,7 +564,7 @@ export default class LoginComponent extends React.PureComponent<IProps, IState>
<AuthHeader disableLanguageSelector={this.props.isSyncing || this.state.busyLoggingIn} />
<AuthBody>
<h1>
{_t("Sign in")}
{_t("action|sign_in")}
{loader}
</h1>
{errorTextSection}

View file

@ -609,7 +609,7 @@ export default class Registration extends React.Component<IProps, IState> {
if (this.state.doingUIAuth) {
goBack = (
<AccessibleButton kind="link" className="mx_AuthBody_changeFlow" onClick={this.onGoToFormClicked}>
{_t("Go back")}
{_t("action|go_back")}
</AccessibleButton>
);
}

View file

@ -262,7 +262,7 @@ export default class SetupEncryptionBody extends React.Component<IProps, IState>
{_t("I'll verify later")}
</AccessibleButton>
<AccessibleButton kind="primary" onClick={this.onSkipBackClick}>
{_t("Go Back")}
{_t("action|go_back")}
</AccessibleButton>
</div>
</div>
@ -286,7 +286,7 @@ export default class SetupEncryptionBody extends React.Component<IProps, IState>
{_t("Proceed with reset")}
</AccessibleButton>
<AccessibleButton kind="primary" onClick={this.onResetBackClick}>
{_t("Go Back")}
{_t("action|go_back")}
</AccessibleButton>
</div>
</div>

View file

@ -245,7 +245,7 @@ export default class SoftLogout extends React.Component<IProps, IState> {
type="submit"
disabled={this.state.busy}
>
{_t("Sign In")}
{_t("action|sign_in")}
</AccessibleButton>
<AccessibleButton onClick={this.onForgotPassword} kind="link">
{_t("Forgotten your password?")}
@ -340,7 +340,7 @@ export default class SoftLogout extends React.Component<IProps, IState> {
<AuthBody>
<h1>{_t("You're signed out")}</h1>
<h2>{_t("Sign in")}</h2>
<h2>{_t("action|sign_in")}</h2>
<div>{this.renderSignInSection()}</div>
<h2>{_t("Clear personal data")}</h2>

View file

@ -76,7 +76,7 @@ export const CheckEmail: React.FC<CheckEmailProps> = ({
aria-describedby={tooltipVisible ? tooltipId : undefined}
>
<RetryIcon className="mx_Icon mx_Icon_16" />
{_t("Resend")}
{_t("action|resend")}
<Tooltip
id={tooltipId}
label={_t("Verification link email resent!")}

View file

@ -73,7 +73,7 @@ export const VerifyEmailModal: React.FC<Props> = ({
aria-describedby={tooltipVisible ? tooltipId : undefined}
>
<RetryIcon className="mx_Icon mx_Icon_16" />
{_t("Resend")}
{_t("action|resend")}
<Tooltip
id={tooltipId}
label={_t("Verification link email resent!")}