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}

View file

@ -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.",