mirror of
https://github.com/resume/resume.github.com.git
synced 2026-05-02 08:40:44 -05:00
Fix wording for 0 items
Should say "0 forks" instead of "0 fork".
This commit is contained in:
+2
-2
@@ -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