From c1c07e533c9ca3be13b4af057b6b989402c12f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jaenisch?= Date: Wed, 8 Jun 2022 02:28:10 +0200 Subject: [PATCH] Improve wording on delete access token modal (#19909) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR highlights the nature of the destructive action. It also rewords the action buttons to remove ambiguity. Signed-off-by: André Jaenisch Co-authored-by: Lauris BH --- options/locale/locale_en-US.ini | 4 +++- templates/user/settings/applications.tmpl | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 2c2e85ca2e..1cf35741ba 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -717,7 +717,9 @@ generate_token_success = Your new token has been generated. Copy it now as it wi generate_token_name_duplicate = %s has been used as an application name already. Please use a new one. delete_token = Delete access_token_deletion = Delete Access Token -access_token_deletion_desc = Deleting a token will revoke access to your account for applications using it. Continue? +access_token_deletion_cancel_action = Cancel +access_token_deletion_confirm_action = Delete +access_token_deletion_desc = Deleting a token will revoke access to your account for applications using it. This cannot be undone. Continue? delete_token_success = The token has been deleted. Applications using it no longer have access to your account. manage_oauth2_applications = Manage OAuth2 Applications diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 6386eb3391..e3a9a251f3 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -71,11 +71,11 @@
- {{.i18n.Tr "modal.no"}} + {{.i18n.Tr "settings.access_token_deletion_cancel_action"}}
- {{.i18n.Tr "modal.yes"}} + {{.i18n.Tr "settings.access_token_deletion_confirm_action"}}