mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 14:14:17 +00:00
Refer to local files as "local" instead of "files"
This commit is contained in:
parent
01de366703
commit
45163be06f
1 changed files with 1 additions and 5 deletions
|
@ -556,11 +556,7 @@ func stashHeaderView(m stashModel) string {
|
||||||
// There are local and/or stashed files, so display counts.
|
// There are local and/or stashed files, so display counts.
|
||||||
var s string
|
var s string
|
||||||
if localItems > 0 {
|
if localItems > 0 {
|
||||||
var plural string
|
s += fmt.Sprintf("%d Local", localItems)
|
||||||
if localItems > 1 {
|
|
||||||
plural = "s"
|
|
||||||
}
|
|
||||||
s += fmt.Sprintf("%d File%s", localItems, plural)
|
|
||||||
}
|
}
|
||||||
if stashedItems > 0 {
|
if stashedItems > 0 {
|
||||||
var divider string
|
var divider string
|
||||||
|
|
Loading…
Reference in a new issue