Skip to content

Commit

Permalink
Singular form for files that has only one line (#8416)
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks authored and techknowlogick committed Oct 7, 2019
1 parent 662a40e commit 28d5347
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ stored_lfs = Stored with Git LFS
commit_graph = Commit Graph
blame = Blame
normal_view = Normal View
line = line
lines = lines
editor.new_file = New File
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/view_file.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="file-info text grey normal mono">
{{if .NumLines}}
<div class="file-info-entry">
{{.NumLines}} {{.i18n.Tr "repo.lines"}}
{{.NumLines}} {{.i18n.Tr (TrN .i18n.Lang .NumLines "repo.line" "repo.lines") }}
</div>
{{end}}
{{if .FileSize}}
Expand Down

0 comments on commit 28d5347

Please sign in to comment.