summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2019-10-08 02:38:41 +0300
committertechknowlogick <techknowlogick@gitea.io>2019-10-07 19:38:41 -0400
commit28d5347cf3da0a0e3c192f39b553c0ae6df53a09 (patch)
tree6b1ba15c7f9c0cdbb6f51fe8d2ce060dbcd7a8ad /templates
parent662a40ea29261167f43bdd3f695a6b22e2958de0 (diff)
downloadgitea-28d5347cf3da0a0e3c192f39b553c0ae6df53a09.tar.gz
gitea-28d5347cf3da0a0e3c192f39b553c0ae6df53a09.zip
Singular form for files that has only one line (#8416)
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/view_file.tmpl2
1 files changed, 1 insertions, 1 deletions
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}}