From f52b6f3315144235f52361955306f43ea27ee57b Mon Sep 17 00:00:00 2001 From: PineBale <272794187+PineBale@users.noreply.github.com> Date: Wed, 22 Apr 2026 09:13:45 +0100 Subject: [PATCH] Add URL to `Learn more about blocking a user` (#37355) Closes #29992 --- options/locale/locale_en-US.json | 10 ++-------- templates/shared/user/block_user_dialog.tmpl | 2 +- templates/shared/user/blocked_users.tmpl | 10 +--------- 3 files changed, 4 insertions(+), 18 deletions(-) diff --git a/options/locale/locale_en-US.json b/options/locale/locale_en-US.json index 13d197babd3..f8828f95c68 100644 --- a/options/locale/locale_en-US.json +++ b/options/locale/locale_en-US.json @@ -639,14 +639,8 @@ "user.block.unblock.failure": "Failed to unblock user: %s", "user.block.blocked": "You have blocked this user.", "user.block.title": "Block a user", - "user.block.info": "Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.", - "user.block.info_1": "Blocking a user prevents the following actions on your account and your repositories:", - "user.block.info_2": "following your account", - "user.block.info_3": "send you notifications by @mentioning your username", - "user.block.info_4": "inviting you as a collaborator to their repositories", - "user.block.info_5": "starring, forking or watching on repositories", - "user.block.info_6": "opening and commenting on issues or pull requests", - "user.block.info_7": "reacting to your comments in issues or pull requests", + "user.block.info": "Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues.", + "user.block.info.docs": "Learn more about blocking a user.", "user.block.user_to_block": "User to block", "user.block.note": "Note", "user.block.note.title": "Optional note:", diff --git a/templates/shared/user/block_user_dialog.tmpl b/templates/shared/user/block_user_dialog.tmpl index 33b85eddaef..bc2b454b4ef 100644 --- a/templates/shared/user/block_user_dialog.tmpl +++ b/templates/shared/user/block_user_dialog.tmpl @@ -1,7 +1,7 @@