about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/directory/components/account_card.js
diff options
context:
space:
mode:
authorprplecake <me@prplecake.com>2022-10-18 17:12:55 -0500
committerGitHub <noreply@github.com>2022-10-19 00:12:55 +0200
commit1b83040bd45770ff831ff697418aaa2468a1516a (patch)
treefcea342cd9a520762e78d427ff594f1a2b16a128 /app/javascript/mastodon/features/directory/components/account_card.js
parent4adb267f9177f6036f8f27cd37544c54b97f3dd2 (diff)
Don't use "unfollow language" when cancelling follow requests (#19363)
* Don't use "unfollow language" when cancelling follow requests

- Adds two new i18n keys: `confirmations.cancel_follow_request.confirm`
  and `confirmations.cancel_follow_request.message`
- Update the header container to use new language

* "Withdraw follow request" instead of "cancel follow request"
Diffstat (limited to 'app/javascript/mastodon/features/directory/components/account_card.js')
-rw-r--r--app/javascript/mastodon/features/directory/components/account_card.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/directory/components/account_card.js b/app/javascript/mastodon/features/directory/components/account_card.js
index 27ba4e7f4..7c675a147 100644
--- a/app/javascript/mastodon/features/directory/components/account_card.js
+++ b/app/javascript/mastodon/features/directory/components/account_card.js
@@ -23,7 +23,7 @@ import classNames from 'classnames';
 const messages = defineMessages({
   unfollow: { id: 'account.unfollow', defaultMessage: 'Unfollow' },
   follow: { id: 'account.follow', defaultMessage: 'Follow' },
-  cancel_follow_request: { id: 'account.cancel_follow_request', defaultMessage: 'Cancel follow request' },
+  cancel_follow_request: { id: 'account.cancel_follow_request', defaultMessage: 'Withdraw follow request' },
   requested: { id: 'account.requested', defaultMessage: 'Awaiting approval. Click to cancel follow request' },
   unblock: { id: 'account.unblock_short', defaultMessage: 'Unblock' },
   unmute: { id: 'account.unmute_short', defaultMessage: 'Unmute' },