diff options
-rw-r--r-- | options/locale/locale_en-US.ini | 1 | ||||
-rw-r--r-- | templates/repo/view_file.tmpl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index d9d27af26f..ca09b6120d 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -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 diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 71607bd1f8..e3d346db3e 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -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}} |