1
0
Fork 0
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:
0ko 2024-03-19 15:52:32 +05:00
parent 7b9c346cde
commit 29cc80d849
19 changed files with 69 additions and 29 deletions

View file

@ -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}}