mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-18 17:00:02 +02:00
Fix typos (#21947)
Two typos The `recieve` typo is also present in a translation.5f38acd9a0/options/locale/locale_sv-SE.ini (L1760)
Someone with a Crowdin account should fix that. ... and in a license file but I don't think we can change that because that's the official text.5f38acd9a0/options/license/xinetd (L21)
This commit is contained in:
parent
5f38acd9a0
commit
4b5a6e5ef0
2 changed files with 5 additions and 5 deletions
|
@ -43,7 +43,7 @@ func EncodeSha1(str string) string {
|
|||
return hex.EncodeToString(h.Sum(nil))
|
||||
}
|
||||
|
||||
// EncodeSha256 string to sha1 hex value.
|
||||
// EncodeSha256 string to sha256 hex value.
|
||||
func EncodeSha256(str string) string {
|
||||
h := sha256.New()
|
||||
_, _ = h.Write([]byte(str))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue