mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-30 04:15:21 +00:00
Singular form for files that has only one line (#8416)
This commit is contained in:
parent
662a40ea29
commit
28d5347cf3
|
@ -681,6 +681,7 @@ stored_lfs = Stored with Git LFS
|
||||||
commit_graph = Commit Graph
|
commit_graph = Commit Graph
|
||||||
blame = Blame
|
blame = Blame
|
||||||
normal_view = Normal View
|
normal_view = Normal View
|
||||||
|
line = line
|
||||||
lines = lines
|
lines = lines
|
||||||
|
|
||||||
editor.new_file = New File
|
editor.new_file = New File
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<div class="file-info text grey normal mono">
|
<div class="file-info text grey normal mono">
|
||||||
{{if .NumLines}}
|
{{if .NumLines}}
|
||||||
<div class="file-info-entry">
|
<div class="file-info-entry">
|
||||||
{{.NumLines}} {{.i18n.Tr "repo.lines"}}
|
{{.NumLines}} {{.i18n.Tr (TrN .i18n.Lang .NumLines "repo.line" "repo.lines") }}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .FileSize}}
|
{{if .FileSize}}
|
||||||
|
|
Loading…
Reference in a new issue