From a3471b73b1b693c5ce4cf9470796f768ed488910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jaenisch?= Date: Tue, 7 Jun 2022 18:43:02 +0200 Subject: [PATCH] Improve wording on delete access token modal 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 --- 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 d52fe05569496..a263add5f2449 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 6386eb3391d1a..e3a9a251f37e1 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"}}