mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-08 11:25:20 +02:00
Provide a way to translate data units
This commit is contained in:
parent
7b9c346cde
commit
29cc80d849
19 changed files with 69 additions and 29 deletions
|
@ -43,7 +43,7 @@
|
|||
{{range .Release.Attachments}}
|
||||
<li>
|
||||
<a target="_blank" rel="noopener noreferrer" href="{{.DownloadURL}}">
|
||||
<strong>{{.Name}} ({{.Size | FileSize}})</strong>
|
||||
<strong>{{.Name}} ({{.Size | $.locale.TrSize}})</strong>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue