mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 05:41:27 +01:00
[BRANDING] Replace links to GitHub with Codeberg guides about adding SSH/GPG keys
(cherry picked from commitf409deabe6
) (cherry picked from commita62a3d0cf6
) (cherry picked from commita28d2ddd5e
) (cherry picked from commit2f8ac92a17
) (cherry picked from commitd43c158a2f
) (cherry picked from commita2fc2dd1e2
) (cherry picked from commit00e6fa60d7
) (cherry picked from commit350f14bc8a
) Conflicts: templates/user/settings/keys_gpg.tmpl templates/user/settings/keys_ssh.tmpl https://codeberg.org/forgejo/forgejo/pulls/1420 (cherry picked from commitb325b2653f
) (cherry picked from commitcb5f0513f2
) (cherry picked from commit4d0fd211e0
) (cherry picked from commit91037812c3
) (cherry picked from commit636c505ad4
) (cherry picked from commitf9cb937256
) (cherry picked from commit72dd0c3cf2
) (cherry picked from commit66bf26533d
) (cherry picked from commit37e1d03331
) (cherry picked from commitfb04781877
) (cherry picked from commitdfe491bf09
) (cherry picked from commit2d40c7ad85
) (cherry picked from commitd7ca25f534
) (cherry picked from commit723deea27c
) (cherry picked from commit8320ea3e52
) (cherry picked from commit503c8ff3e2
) (cherry picked from commit73036c22d3
) (cherry picked from commitcf3bbc38b3
)
This commit is contained in:
parent
4832167235
commit
d42673bbcf
3 changed files with 4 additions and 4 deletions
|
@ -739,8 +739,8 @@ add_key = Add Key
|
||||||
ssh_desc = These public SSH keys are associated with your account. The corresponding private keys allow full access to your repositories.
|
ssh_desc = These public SSH keys are associated with your account. The corresponding private keys allow full access to your repositories.
|
||||||
principal_desc = These SSH certificate principals are associated with your account and allow full access to your repositories.
|
principal_desc = These SSH certificate principals are associated with your account and allow full access to your repositories.
|
||||||
gpg_desc = These public GPG keys are associated with your account. Keep your private keys safe as they allow commits to be verified.
|
gpg_desc = These public GPG keys are associated with your account. Keep your private keys safe as they allow commits to be verified.
|
||||||
ssh_helper = <strong>Need help?</strong> Have a look at GitHub's guide to <a href="%s">create your own SSH keys</a> or solve <a href="%s">common problems</a> you may encounter using SSH.
|
ssh_helper = <strong>Need help?</strong> Have a look at the guide to <a href="%s">create your own SSH keys</a> or solve <a href="%s">common problems</a> you may encounter using SSH.
|
||||||
gpg_helper = <strong>Need help?</strong> Have a look at GitHub's guide <a href="%s">about GPG</a>.
|
gpg_helper = <strong>Need help?</strong> Have a look at the guide <a href="%s">about GPG</a>.
|
||||||
add_new_key = Add SSH Key
|
add_new_key = Add SSH Key
|
||||||
add_new_gpg_key = Add GPG Key
|
add_new_gpg_key = Add GPG Key
|
||||||
key_content_ssh_placeholder = Begins with 'ssh-ed25519', 'ssh-rsa', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', 'ecdsa-sha2-nistp521', 'sk-ecdsa-sha2-nistp256@openssh.com', or 'sk-ssh-ed25519@openssh.com'
|
key_content_ssh_placeholder = Begins with 'ssh-ed25519', 'ssh-rsa', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', 'ecdsa-sha2-nistp521', 'sk-ecdsa-sha2-nistp256@openssh.com', or 'sk-ssh-ed25519@openssh.com'
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<div class="flex-item">
|
<div class="flex-item">
|
||||||
<p>
|
<p>
|
||||||
{{ctx.Locale.Tr "settings.gpg_desc"}}<br>
|
{{ctx.Locale.Tr "settings.gpg_desc"}}<br>
|
||||||
{{ctx.Locale.Tr "settings.gpg_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/about-commit-signature-verification#gpg-commit-signature-verification" | Str2html}}
|
{{ctx.Locale.Tr "settings.gpg_helper" "https://docs.codeberg.org/security/gpg-key/" | Str2html}}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{{range .GPGKeys}}
|
{{range .GPGKeys}}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<div class="flex-item">
|
<div class="flex-item">
|
||||||
<p>
|
<p>
|
||||||
{{ctx.Locale.Tr "settings.ssh_desc"}}<br>
|
{{ctx.Locale.Tr "settings.ssh_desc"}}<br>
|
||||||
{{ctx.Locale.Tr "settings.ssh_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/connecting-to-github-with-ssh" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/troubleshooting-ssh" | Str2html}}
|
{{ctx.Locale.Tr "settings.ssh_helper" "https://docs.codeberg.org/security/ssh-key/" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/troubleshooting-ssh" | Str2html}}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{{if .DisableSSH}}
|
{{if .DisableSSH}}
|
||||||
|
|
Loading…
Reference in a new issue