summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-04-26 15:10:43 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-04-26 21:10:43 +0800
commit8371f94d06cefbd65392af3b5c0f1fd1057429f7 (patch)
treed6bf49ee4406be76e5429bc70da4a5dee22e3cab /options
parentb7da5a6cb7c725232c1053a1ca705a6ac0dad467 (diff)
downloadgitea-8371f94d06cefbd65392af3b5c0f1fd1057429f7.tar.gz
gitea-8371f94d06cefbd65392af3b5c0f1fd1057429f7.zip
Rework SSH key management UI to add GPG (#1293)
* Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini17
1 files changed, 15 insertions, 2 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 04b5f44d2c..160f8e7ab1 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -258,6 +258,7 @@ user_not_exist = The given user does not exist.
last_org_owner = Removing the last user from a owner team isn't allowed because there must always be at least one owner in any given organization.
invalid_ssh_key = Sorry, we're not able to verify your SSH key: %s
+invalid_gpg_key = Sorry, we're not able to verify your GPG key: %s
unable_verify_ssh_key = Gitea cannot verify your SSH key, but we are assuming that it is valid, please double-check it.
auth_failed = Authentication failed: %v
@@ -285,7 +286,7 @@ form.name_pattern_not_allowed = Username pattern '%s' is not allowed.
profile = Profile
password = Password
avatar = Avatar
-ssh_keys = SSH Keys
+ssh_gpg_keys = SSH / GPG Keys
social = Social Accounts
applications = Applications
orgs = Organizations
@@ -349,20 +350,33 @@ keep_email_private_popup = Your email address will be hidden from other users if
openid_desc = Your OpenID addresses will let you delegate authentication to your provider of choice
manage_ssh_keys = Manage SSH Keys
+manage_gpg_keys = Manage GPG Keys
add_key = Add Key
ssh_desc = This is a list of SSH keys associated with your account. Because these keys allow anyone using them to gain access to your repositories, it is highly important that you make sure you recognize them.
+gpg_desc = This is a list of GPG keys associated with your account. Because these keys allow verification of commit, it is highly important that you keep safe the corresponding private key.
ssh_helper = <strong>Don't know how?</strong> Check out GitHub's guide to <a href="%s">create your own SSH keys</a> or solve <a href="%s">common problems</a> you might encounter using SSH.
+gpg_helper = <strong>Don't know how?</strong> Check out GitHub's guide <a href="%s">about GPG</a>.
add_new_key = Add SSH Key
+add_new_gpg_key = Add GPG Key
ssh_key_been_used = Public key content has already been used.
ssh_key_name_used = Public key with same name already exists.
+gpg_key_id_used = Public GPG key with same id already exists.
+gpg_key_email_not_found = The email attached to the GPG key couldn't be found or is not yet confirmed: %s
+subkeys = Subkeys
+key_id = Key ID
key_name = Key Name
key_content = Content
add_key_success = Your new SSH key '%s' has been added successfully!
+add_gpg_key_success = Your new GPG key '%s' has been added successfully!
delete_key = Delete
ssh_key_deletion = SSH Key Deletion
+gpg_key_deletion = GPG Key Deletion
ssh_key_deletion_desc = Delete this SSH key will disable all access using this SSH key for your account. Do you want to continue?
+gpg_key_deletion_desc = Delete this GPG key will disable all commit verification sign with this GPG key. Do you want to continue?
ssh_key_deletion_success = SSH key has been deleted successfully!
+gpg_key_deletion_success = GPG key has been deleted successfully!
add_on = Added on
+valid_until = Valid until
last_used = Last used on
no_activity = No recent activity
key_state_desc = This key is used in last 7 days
@@ -1364,7 +1378,6 @@ mark_as_unread = Mark as unread
error.extract_sign = Failed to extract signature
error.generate_hash = Failed to generate hash of commit
error.no_committer_account = No account linked to committer email
-error.no_gpg_keys_found = "Failed to retrieve publics keys of committer"
error.no_gpg_keys_found = "No known key found for this signature in database"
error.not_signed_commit = "Not a signed commit"
error.failed_retrieval_gpg_keys = "Failed to retrieve any key attached to the commiter account"