Update verification request toast button labels (#10259)
This commit is contained in:
parent
9e5c4e95f9
commit
4f1e5a71de
2 changed files with 5 additions and 4 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue