mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 06:04:18 +00:00
TIL: 'News' is singular
This commit is contained in:
parent
89965743a1
commit
7500d88e93
1 changed files with 0 additions and 3 deletions
|
@ -892,9 +892,6 @@ func stashHeaderView(m stashModel) string {
|
||||||
divider = dividerDot
|
divider = dividerDot
|
||||||
}
|
}
|
||||||
si := common.Subtle(fmt.Sprintf("%d News", newsItems))
|
si := common.Subtle(fmt.Sprintf("%d News", newsItems))
|
||||||
if newsItems == 1 {
|
|
||||||
si = common.Subtle(fmt.Sprintf("%d New", newsItems))
|
|
||||||
}
|
|
||||||
|
|
||||||
s += fmt.Sprintf("%s%s", divider, si)
|
s += fmt.Sprintf("%s%s", divider, si)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue