Skip to content

Commit fc223d9

Browse files
committed
Rename openid show/hide keys and make strings more descriptive
1 parent 92800d1 commit fc223d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,6 @@ key_name = Key Name
357357
key_content = Content
358358
add_key_success = Your new SSH key '%s' has been added successfully!
359359
delete_key = Delete
360-
show_key = Show
361-
hide_key = Hide
362360
ssh_key_deletion = SSH Key Deletion
363361
ssh_key_deletion_desc = Delete this SSH key will disable all access using this SSH key for your account. Do you want to continue?
364362
ssh_key_deletion_success = SSH key has been deleted successfully!
@@ -367,6 +365,8 @@ last_used = Last used on
367365
no_activity = No recent activity
368366
key_state_desc = This key is used in last 7 days
369367
token_state_desc = This token is used in last 7 days
368+
show_openid = Show in profile
369+
hide_openid = Hide from profile
370370

371371
manage_social = Manage Associated Social Accounts
372372
social_desc = This is a list of associated social accounts. For security reasons, please make sure you recognize all of these entries, as they can be used to log in to your account.

templates/user/settings/openid.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
{{if .Show}}
2828
<button class="ui tiny button">
2929
<i class="icon fa-eye"></i>
30-
{{$.i18n.Tr "settings.hide_key"}}
30+
{{$.i18n.Tr "settings.hide_openid"}}
3131
</button>
3232
{{else}}
3333
<button class="ui tiny button">
3434
<i class="icon fa-eye-slash"></i>
35-
{{$.i18n.Tr "settings.show_key"}}
35+
{{$.i18n.Tr "settings.show_openid"}}
3636
</button>
3737
{{end}}
3838
</button>

0 commit comments

Comments
 (0)