mirror of https://github.com/vector-im/riot-web
Update verification request toast button labels (#10259)
parent
9e5c4e95f9
commit
4f1e5a71de
|
@ -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}
|
||||
|
|
|
@ -1244,7 +1244,9 @@
|
|||
"Complete these to get the most out of %(brand)s": "Complete these to get the most out of %(brand)s",
|
||||
"Your server isn't responding to some <a>requests</a>.": "Your server isn't responding to some <a>requests</a>.",
|
||||
"%(deviceId)s from %(ip)s": "%(deviceId)s from %(ip)s",
|
||||
"Decline (%(counter)s)": "Decline (%(counter)s)",
|
||||
"Ignore": "Ignore",
|
||||
"Ignore (%(counter)s)": "Ignore (%(counter)s)",
|
||||
"Verify Session": "Verify Session",
|
||||
"Accept <policyLink /> to continue:": "Accept <policyLink /> to continue:",
|
||||
"Quick settings": "Quick settings",
|
||||
"All settings": "All settings",
|
||||
|
@ -1604,7 +1606,6 @@
|
|||
"Your personal ban list holds all the users/servers you personally don't want to see messages from. After ignoring your first user/server, a new room will show up in your room list named '%(myBanList)s' - stay in this room to keep the ban list in effect.": "Your personal ban list holds all the users/servers you personally don't want to see messages from. After ignoring your first user/server, a new room will show up in your room list named '%(myBanList)s' - stay in this room to keep the ban list in effect.",
|
||||
"Server or user ID to ignore": "Server or user ID to ignore",
|
||||
"eg: @bot:* or example.org": "eg: @bot:* or example.org",
|
||||
"Ignore": "Ignore",
|
||||
"Subscribed lists": "Subscribed lists",
|
||||
"Subscribing to a ban list will cause you to join it!": "Subscribing to a ban list will cause you to join it!",
|
||||
"If this isn't what you want, please use a different tool to ignore users.": "If this isn't what you want, please use a different tool to ignore users.",
|
||||
|
|
Loading…
Reference in New Issue