Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

New verification request toast button labels #10259

Merged
merged 2 commits into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/views/toasts/VerificationRequestToast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
5 changes: 3 additions & 2 deletions src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down