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