mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-10 15:42:16 +01:00
Fix typos
This commit is contained in:
parent
265174bd5e
commit
b7d7431d05
2 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ func (r *Release) LoadArchiveDownloadCount(ctx context.Context) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// GetTotalDownloadCount returns the summary of all dowlaod count of files attached to the release
|
||||
// GetTotalDownloadCount returns the summary of all dowload count of files attached to the release
|
||||
func (r *Release) GetTotalDownloadCount(ctx context.Context) (int64, error) {
|
||||
var archiveCount int64
|
||||
if !r.HideArchiveLinks {
|
||||
|
|
|
@ -44,7 +44,7 @@ var fontCache = sync.OnceValues(func() (*truetype.Font, error) {
|
|||
return truetype.Parse(goregular.TTF)
|
||||
})
|
||||
|
||||
// DefaultSize returns the default sie for a card
|
||||
// DefaultSize returns the default size for a card
|
||||
func DefaultSize() (int, int) {
|
||||
return 1200, 600
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue