forked from gitea/gitea
Fix incorrect locale Tr for gpg command (#29754)
This commit is contained in:
parent
e01b0014de
commit
df60dbfb99
|
@ -804,7 +804,6 @@ gpg_invalid_token_signature = The provided GPG key, signature and token do not m
|
||||||
gpg_token_required = You must provide a signature for the below token
|
gpg_token_required = You must provide a signature for the below token
|
||||||
gpg_token = Token
|
gpg_token = Token
|
||||||
gpg_token_help = You can generate a signature using:
|
gpg_token_help = You can generate a signature using:
|
||||||
gpg_token_code = echo "%s" | gpg -a --default-key %s --detach-sig
|
|
||||||
gpg_token_signature = Armored GPG signature
|
gpg_token_signature = Armored GPG signature
|
||||||
key_signature_gpg_placeholder = Begins with '-----BEGIN PGP SIGNATURE-----'
|
key_signature_gpg_placeholder = Begins with '-----BEGIN PGP SIGNATURE-----'
|
||||||
verify_gpg_key_success = GPG key "%s" has been verified.
|
verify_gpg_key_success = GPG key "%s" has been verified.
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<input readonly="" value="{{.TokenToSign}}">
|
<input readonly="" value="{{.TokenToSign}}">
|
||||||
<div class="help">
|
<div class="help">
|
||||||
<p>{{ctx.Locale.Tr "settings.gpg_token_help"}}</p>
|
<p>{{ctx.Locale.Tr "settings.gpg_token_help"}}</p>
|
||||||
<p><code>{{ctx.Locale.Tr "settings.gpg_token_code" .TokenToSign .PaddedKeyID}}</code></p>
|
<p><code>{{printf `echo "%s" | gpg -a --default-key %s --detach-sig` .TokenToSign .PaddedKeyID}}</code></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
<input readonly="" value="{{$.TokenToSign}}">
|
<input readonly="" value="{{$.TokenToSign}}">
|
||||||
<div class="help">
|
<div class="help">
|
||||||
<p>{{ctx.Locale.Tr "settings.gpg_token_help"}}</p>
|
<p>{{ctx.Locale.Tr "settings.gpg_token_help"}}</p>
|
||||||
<p><code>{{ctx.Locale.Tr "settings.gpg_token_code" $.TokenToSign .PaddedKeyID}}</code></p>
|
<p><code>{{printf `echo "%s" | gpg -a --default-key %s --detach-sig` $.TokenToSign .PaddedKeyID}}</code></p>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue