From 45163be06faaeed5500541ffab4387d3bd85b273 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 20 Jul 2020 18:34:06 -0400 Subject: [PATCH] Refer to local files as "local" instead of "files" --- ui/stash.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/stash.go b/ui/stash.go index e42b4bf..65bc72b 100644 --- a/ui/stash.go +++ b/ui/stash.go @@ -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