mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-18 22:24:17 +02: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.
|
||||
var s string
|
||||
if localItems > 0 {
|
||||
var plural string
|
||||
if localItems > 1 {
|
||||
plural = "s"
|
||||
}
|
||||
s += fmt.Sprintf("%d File%s", localItems, plural)
|
||||
s += fmt.Sprintf("%d Local", localItems)
|
||||
}
|
||||
if stashedItems > 0 {
|
||||
var divider string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue