Refer to local files as "local" instead of "files"

This commit is contained in:
Christian Rocha 2020-07-20 18:34:06 -04:00 committed by Christian Muehlhaeuser
parent 01de366703
commit 45163be06f

View file

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