Skip to content

Commit c1c07e5

Browse files
Ryuno-Kilafriks
andauthored
Improve wording on delete access token modal (#19909)
This PR highlights the nature of the destructive action. It also rewords the action buttons to remove ambiguity. Signed-off-by: André Jaenisch <[email protected]> Co-authored-by: Lauris BH <[email protected]>
1 parent d78ea36 commit c1c07e5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

options/locale/locale_en-US.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,9 @@ generate_token_success = Your new token has been generated. Copy it now as it wi
717717
generate_token_name_duplicate = <strong>%s</strong> has been used as an application name already. Please use a new one.
718718
delete_token = Delete
719719
access_token_deletion = Delete Access Token
720-
access_token_deletion_desc = Deleting a token will revoke access to your account for applications using it. Continue?
720+
access_token_deletion_cancel_action = Cancel
721+
access_token_deletion_confirm_action = Delete
722+
access_token_deletion_desc = Deleting a token will revoke access to your account for applications using it. This cannot be undone. Continue?
721723
delete_token_success = The token has been deleted. Applications using it no longer have access to your account.
722724
723725
manage_oauth2_applications = Manage OAuth2 Applications

templates/user/settings/applications.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@
7171
<div class="actions">
7272
<div class="ui cancel button">
7373
<i class="remove icon"></i>
74-
{{.i18n.Tr "modal.no"}}
74+
{{.i18n.Tr "settings.access_token_deletion_cancel_action"}}
7575
</div>
7676
<div class="ui red basic inverted ok button">
7777
<i class="checkmark icon"></i>
78-
{{.i18n.Tr "modal.yes"}}
78+
{{.i18n.Tr "settings.access_token_deletion_confirm_action"}}
7979
</div>
8080
</div>
8181
</div>

0 commit comments

Comments
 (0)