mirror of
https://github.com/resume/resume.github.com.git
synced 2026-02-18 11:29:35 -06:00
Merge pull request #54 from AndrewRadev/fix-plurality-for-zero-items
Fix wording for 0 items
This commit is contained in:
@@ -320,8 +320,8 @@ var run = function() {
|
||||
username: username,
|
||||
watchers: repo.info.watchers,
|
||||
forks: repo.info.forks,
|
||||
watchersLabel: repo.info.watchers > 1 ? 'watchers' : 'watcher',
|
||||
forksLabel: repo.info.forks > 1 ? 'forks' : 'fork',
|
||||
watchersLabel: repo.info.watchers == 0 || repo.info.watchers > 1 ? 'watchers' : 'watcher',
|
||||
forksLabel: repo.info.forks == 0 || repo.info.forks > 1 ? 'forks' : 'fork',
|
||||
};
|
||||
|
||||
if (itemCount == sorted.length - 1 || itemCount == maxItems - 1) {
|
||||
|
||||
Reference in New Issue
Block a user