diff options
author | Jian Liew <jianloongliew@gmail.com> | 2020-11-12 12:48:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 12:48:55 +0300 |
commit | ae732f39317e4619770bc086e08ac21a256fa0e3 (patch) | |
tree | c662ecb7bc289d1dc011ea484f1dda54afa40875 /layouts | |
parent | c3a66e9b4d8b3b58708d4682e7c779af00ef496c (diff) |
Added binary prefix for kilobyte using i18n (#461)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/attachments.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/attachments.html b/layouts/shortcodes/attachments.html index 1725fc4..d688b71 100644 --- a/layouts/shortcodes/attachments.html +++ b/layouts/shortcodes/attachments.html @@ -18,7 +18,7 @@ <a href="{{ (printf "%s%s/%s" $fileDir ($.Scratch.Get "filesName") .Name) | relURL }}" > {{.Name}} </a> - ({{div .Size 1024 }} ko) + ({{div .Size 1024 }} {{T "BinaryPrefix-kilobyte"}}) </li> {{end}} {{else}} @@ -26,7 +26,7 @@ <a href="{{ (printf "%s%s/%s" $fileDir ($.Scratch.Get "filesName") .Name) | relURL }}" > {{.Name}} </a> - ({{div .Size 1024 }} ko) + ({{div .Size 1024 }} {{T "BinaryPrefix-kilobyte"}}) </li> {{end}} {{end}} |