This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Singular form for files that has only one line (
#8416
)
for-closed-social
Lauris BH
5 years ago
committed by
techknowlogick
parent
662a40ea29
commit
28d5347cf3
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
options/locale/locale_en-US.ini
+1
-1
templates/repo/view_file.tmpl
+ 1
- 0
options/locale/locale_en-US.ini
View File
@ -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
+ 1
- 1
templates/repo/view_file.tmpl
View File
@ -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}}
Write
Preview
Loading…
Cancel
Save