mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-28 03:00:03 +02:00
Rename ByteSize to ReadableSize
This commit is contained in:
parent
d2cd1342bf
commit
470886bf52
4 changed files with 10 additions and 9 deletions
|
@ -31,8 +31,8 @@ func (l MockLocale) TrN(cnt any, key1, keyN string, args ...any) template.HTML {
|
|||
return template.HTML(key1)
|
||||
}
|
||||
|
||||
func (l MockLocale) TrSize(s int64) ByteSize {
|
||||
return ByteSize{fmt.Sprint(s), ""}
|
||||
func (l MockLocale) TrSize(s int64) ReadableSize {
|
||||
return ReadableSize{fmt.Sprint(s), ""}
|
||||
}
|
||||
|
||||
func (l MockLocale) PrettyNumber(v any) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue