File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2635,7 +2635,8 @@ release.tag_name_invalid = The tag name is not valid.
2635
2635
release.tag_name_protected = The tag name is protected.
2636
2636
release.tag_already_exist = This tag name already exists.
2637
2637
release.downloads = Downloads
2638
- release.download_count = %s downloads
2638
+ release.download_count_one = %s download
2639
+ release.download_count_few = %s downloads
2639
2640
release.add_tag_msg = Use the title and content of release as tag message.
2640
2641
release.add_tag = Create Tag Only
2641
2642
release.releases_for = Releases for %s
Original file line number Diff line number Diff line change 89
89
<strong>{{svg "octicon-package" 16 "tw-mr-1"}}{{.Name}}</strong>
90
90
</a>
91
91
<div>
92
- <span class="text grey">{{ctx.Locale.Tr "repo.release.download_count " (ctx.Locale.PrettyNumber .DownloadCount)}} · {{.Size | ctx.Locale.TrSize}}</span>
92
+ <span class="text grey">{{ctx.Locale.TrN .DownloadCount "repo.release.download_count_one" "repo.release.download_count_few " (ctx.Locale.PrettyNumber .DownloadCount)}} · {{.Size | ctx.Locale.TrSize}}</span>
93
93
</div>
94
94
</li>
95
95
{{end}}
Original file line number Diff line number Diff line change 64
64
<div class="flex-text-inline tw-flex-1">
65
65
<input name="attachment-edit-{{.UUID}}" class="attachment_edit" required value="{{.Name}}">
66
66
<input name="attachment-del-{{.UUID}}" type="hidden" value="false">
67
- <span class="ui text grey tw-whitespace-nowrap">{{ctx.Locale.Tr "repo.release.download_count " (ctx.Locale.PrettyNumber .DownloadCount)}} · {{.Size | ctx.Locale.TrSize}}</span>
67
+ <span class="ui text grey tw-whitespace-nowrap">{{ctx.Locale.TrN .DownloadCount "repo.release.download_count_one" "repo.release.download_count_few " (ctx.Locale.PrettyNumber .DownloadCount)}} · {{.Size | ctx.Locale.TrSize}}</span>
68
68
</div>
69
69
<a class="ui mini compact red button remove-rel-attach" data-id="{{.ID}}" data-uuid="{{.UUID}}">
70
70
{{ctx.Locale.Tr "remove"}}
You can’t perform that action at this time.
0 commit comments