Przeglądaj źródła

Singular form for files that has only one line (#8416)

tags/v1.10.0-rc1
Lauris BH 4 lat temu
rodzic
commit
28d5347cf3
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1
    0
      options/locale/locale_en-US.ini
  2. 1
    1
      templates/repo/view_file.tmpl

+ 1
- 0
options/locale/locale_en-US.ini Wyświetl plik

@@ -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 Wyświetl plik

@@ -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}}

Ładowanie…
Anuluj
Zapisz