mirror of https://github.com/go-gitea/gitea.git
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 <andre.jaenisch@posteo.de> Co-authored-by: Lauris BH <lauris@nix.lv>pull/19921/head
parent
d78ea362d4
commit
c1c07e533c
|
@ -717,7 +717,9 @@ generate_token_success = Your new token has been generated. Copy it now as it wi
|
||||||
generate_token_name_duplicate = <strong>%s</strong> has been used as an application name already. Please use a new one.
|
generate_token_name_duplicate = <strong>%s</strong> has been used as an application name already. Please use a new one.
|
||||||
delete_token = Delete
|
delete_token = Delete
|
||||||
access_token_deletion = Delete Access Token
|
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.
|
delete_token_success = The token has been deleted. Applications using it no longer have access to your account.
|
||||||
|
|
||||||
manage_oauth2_applications = Manage OAuth2 Applications
|
manage_oauth2_applications = Manage OAuth2 Applications
|
||||||
|
|
|
@ -71,11 +71,11 @@
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="ui cancel button">
|
<div class="ui cancel button">
|
||||||
<i class="remove icon"></i>
|
<i class="remove icon"></i>
|
||||||
{{.i18n.Tr "modal.no"}}
|
{{.i18n.Tr "settings.access_token_deletion_cancel_action"}}
|
||||||
</div>
|
</div>
|
||||||
<div class="ui red basic inverted ok button">
|
<div class="ui red basic inverted ok button">
|
||||||
<i class="checkmark icon"></i>
|
<i class="checkmark icon"></i>
|
||||||
{{.i18n.Tr "modal.yes"}}
|
{{.i18n.Tr "settings.access_token_deletion_confirm_action"}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue