Update verification request toast button labels (#10259)

This commit is contained in:
Michael Weimann 2023-03-01 14:12:17 +01:00 committed by GitHub
parent 9e5c4e95f9
commit 4f1e5a71de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -174,13 +174,13 @@ export default class VerificationRequestToast extends React.PureComponent<IProps
}
}
const declineLabel =
this.state.counter === 0 ? _t("Decline") : _t("Decline (%(counter)s)", { counter: this.state.counter });
this.state.counter === 0 ? _t("Ignore") : _t("Ignore (%(counter)s)", { counter: this.state.counter });
return (
<GenericToast
description={description}
detail={detail}
acceptLabel={_t("Accept")}
acceptLabel={_t("Verify Session")}
onAccept={this.accept}
rejectLabel={declineLabel}
onReject={this.cancel}