Skip to content

Commit 28d5347

Browse files
lafrikstechknowlogick
authored andcommitted
Singular form for files that has only one line (#8416)
1 parent 662a40e commit 28d5347

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

options/locale/locale_en-US.ini

+1
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ stored_lfs = Stored with Git LFS
681681
commit_graph = Commit Graph
682682
blame = Blame
683683
normal_view = Normal View
684+
line = line
684685
lines = lines
685686
686687
editor.new_file = New File

templates/repo/view_file.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="file-info text grey normal mono">
99
{{if .NumLines}}
1010
<div class="file-info-entry">
11-
{{.NumLines}} {{.i18n.Tr "repo.lines"}}
11+
{{.NumLines}} {{.i18n.Tr (TrN .i18n.Lang .NumLines "repo.line" "repo.lines") }}
1212
</div>
1313
{{end}}
1414
{{if .FileSize}}

0 commit comments

Comments
 (0)