{"action":"created","comment":{"url":"https://api.github.com/repos/netlify/netlify-cms/pulls/comments/209582456","pull_request_review_id":145620892,"id":209582456,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTU4MjQ1Ng==","diff_hunk":"@@ -264,15 +266,17 @@ export default class ListControl extends React.Component {\n     const items = value || List();\n     const label = field.get('label');\n     const labelSingular = field.get('label_singular') || field.get('label');\n-    const listLabel = items.size === 1 ? labelSingular.toLowerCase() : label.toLowerCase();\n+    const listLabel = items.size < 2 ? labelSingular.toLowerCase() : label.toLowerCase();","path":"packages/netlify-cms-widget-list/src/ListControl.js","position":null,"original_position":28,"commit_id":"130cb40dbd4e3f2d9abef986da127a1b98b3081c","original_commit_id":"441e2cfde26489ba4563f70cf7e40ab8ea0c7d28","user":{"login":"Dammmien","id":3051737,"node_id":"MDQ6VXNlcjMwNTE3Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/3051737?v=4","gravatar_id":"","url":"https://api.github.com/users/Dammmien","html_url":"https://github.com/Dammmien","followers_url":"https://api.github.com/users/Dammmien/followers","following_url":"https://api.github.com/users/Dammmien/following{/other_user}","gists_url":"https://api.github.com/users/Dammmien/gists{/gist_id}","starred_url":"https://api.github.com/users/Dammmien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dammmien/subscriptions","organizations_url":"https://api.github.com/users/Dammmien/orgs","repos_url":"https://api.github.com/users/Dammmien/repos","events_url":"https://api.github.com/users/Dammmien/events{/privacy}","received_events_url":"https://api.github.com/users/Dammmien/received_events","type":"User","site_admin":false},"body":"It is surprising to see how languages work differently, I reverted it.","created_at":"2018-08-13T12:00:27Z","updated_at":"2018-08-13T12:00:27Z","html_url":"https://github.com/netlify/netlify-cms/pull/1527#discussion_r209582456","pull_request_url":"https://api.github.com/repos/netlify/netlify-cms/pulls/1527","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/netlify/netlify-cms/pulls/comments/209582456"},"html":{"href":"https://github.com/netlify/netlify-cms/pull/1527#discussion_r209582456"},"pull_request":{"href":"https://api.github.com/repos/netlify/netlify-cms/pulls/1527"}},"in_reply_to_id":209550418},"pull_request":{"url":"https://api.github.com/repos/netlify/netlify-cms/pulls/1527","id":204463518,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NDYzNTE4","html_url":"https://github.com/netlify/netlify-cms/pull/1527","diff_url":"https://github.com/netlify/netlify-cms/pull/1527.diff","patch_url":"https://github.com/netlify/netlify-cms/pull/1527.patch","issue_url":"https://api.github.com/repos/netlify/netlify-cms/issues/1527","number":1527,"state":"open","locked":false,"title":"#1480 Add minimum & maximum number of items in the list","user":{"login":"Dammmien","id":3051737,"node_id":"MDQ6VXNlcjMwNTE3Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/3051737?v=4","gravatar_id":"","url":"https://api.github.com/users/Dammmien","html_url":"https://github.com/Dammmien","followers_url":"https://api.github.com/users/Dammmien/followers","following_url":"https://api.github.com/users/Dammmien/following{/other_user}","gists_url":"https://api.github.com/users/Dammmien/gists{/gist_id}","starred_url":"https://api.github.com/users/Dammmien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dammmien/subscriptions","organizations_url":"https://api.github.com/users/Dammmien/orgs","repos_url":"https://api.github.com/users/Dammmien/repos","events_url":"https://api.github.com/users/Dammmien/events{/privacy}","received_events_url":"https://api.github.com/users/Dammmien/received_events","type":"User","site_admin":false},"body":"## #1480 Add minimum & maximum number of items in the list\r\n\r\n- Add options to set a minimum & maximum number of items in the list.\r\n\r\n- Fix the `Add ...` button label which was pluralized / singuralized depending of the list size.\r\n  Now it's always singuralized.\r\n\r\n- Fix the header label which was pluralized when the list size was 0.\r\n\r\n","created_at":"2018-07-27T15:21:50Z","updated_at":"2018-08-13T12:00:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cb736822eac000e86200f06195e22b927d210e9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/netlify/netlify-cms/pulls/1527/commits","review_comments_url":"https://api.github.com/repos/netlify/netlify-cms/pulls/1527/comments","review_comment_url":"https://api.github.com/repos/netlify/netlify-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/netlify/netlify-cms/issues/1527/comments","statuses_url":"https://api.github.com/repos/netlify/netlify-cms/statuses/130cb40dbd4e3f2d9abef986da127a1b98b3081c","head":{"label":"Dammmien:1480_min_max_list_widget","ref":"1480_min_max_list_widget","sha":"130cb40dbd4e3f2d9abef986da127a1b98b3081c","user":{"login":"Dammmien","id":3051737,"node_id":"MDQ6VXNlcjMwNTE3Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/3051737?v=4","gravatar_id":"","url":"https://api.github.com/users/Dammmien","html_url":"https://github.com/Dammmien","followers_url":"https://api.github.com/users/Dammmien/followers","following_url":"https://api.github.com/users/Dammmien/following{/other_user}","gists_url":"https://api.github.com/users/Dammmien/gists{/gist_id}","starred_url":"https://api.github.com/users/Dammmien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dammmien/subscriptions","organizations_url":"https://api.github.com/users/Dammmien/orgs","repos_url":"https://api.github.com/users/Dammmien/repos","events_url":"https://api.github.com/users/Dammmien/events{/privacy}","received_events_url":"https://api.github.com/users/Dammmien/received_events","type":"User","site_admin":false},"repo":{"id":97951531,"node_id":"MDEwOlJlcG9zaXRvcnk5Nzk1MTUzMQ==","name":"netlify-cms","full_name":"Dammmien/netlify-cms","owner":{"login":"Dammmien","id":3051737,"node_id":"MDQ6VXNlcjMwNTE3Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/3051737?v=4","gravatar_id":"","url":"https://api.github.com/users/Dammmien","html_url":"https://github.com/Dammmien","followers_url":"https://api.github.com/users/Dammmien/followers","following_url":"https://api.github.com/users/Dammmien/following{/other_user}","gists_url":"https://api.github.com/users/Dammmien/gists{/gist_id}","starred_url":"https://api.github.com/users/Dammmien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dammmien/subscriptions","organizations_url":"https://api.github.com/users/Dammmien/orgs","repos_url":"https://api.github.com/users/Dammmien/repos","events_url":"https://api.github.com/users/Dammmien/events{/privacy}","received_events_url":"https://api.github.com/users/Dammmien/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dammmien/netlify-cms","description":"A CMS for Static Site Generators","fork":true,"url":"https://api.github.com/repos/Dammmien/netlify-cms","forks_url":"https://api.github.com/repos/Dammmien/netlify-cms/forks","keys_url":"https://api.github.com/repos/Dammmien/netlify-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dammmien/netlify-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dammmien/netlify-cms/teams","hooks_url":"https://api.github.com/repos/Dammmien/netlify-cms/hooks","issue_events_url":"https://api.github.com/repos/Dammmien/netlify-cms/issues/events{/number}","events_url":"https://api.github.com/repos/Dammmien/netlify-cms/events","assignees_url":"https://api.github.com/repos/Dammmien/netlify-cms/assignees{/user}","branches_url":"https://api.github.com/repos/Dammmien/netlify-cms/branches{/branch}","tags_url":"https://api.github.com/repos/Dammmien/netlify-cms/tags","blobs_url":"https://api.github.com/repos/Dammmien/netlify-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dammmien/netlify-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dammmien/netlify-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dammmien/netlify-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dammmien/netlify-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/Dammmien/netlify-cms/languages","stargazers_url":"https://api.github.com/repos/Dammmien/netlify-cms/stargazers","contributors_url":"https://api.github.com/repos/Dammmien/netlify-cms/contributors","subscribers_url":"https://api.github.com/repos/Dammmien/netlify-cms/subscribers","subscription_url":"https://api.github.com/repos/Dammmien/netlify-cms/subscription","commits_url":"https://api.github.com/repos/Dammmien/netlify-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dammmien/netlify-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dammmien/netlify-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dammmien/netlify-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dammmien/netlify-cms/contents/{+path}","compare_url":"https://api.github.com/repos/Dammmien/netlify-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dammmien/netlify-cms/merges","archive_url":"https://api.github.com/repos/Dammmien/netlify-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dammmien/netlify-cms/downloads","issues_url":"https://api.github.com/repos/Dammmien/netlify-cms/issues{/number}","pulls_url":"https://api.github.com/repos/Dammmien/netlify-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/Dammmien/netlify-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/Dammmien/netlify-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dammmien/netlify-cms/labels{/name}","releases_url":"https://api.github.com/repos/Dammmien/netlify-cms/releases{/id}","deployments_url":"https://api.github.com/repos/Dammmien/netlify-cms/deployments","created_at":"2017-07-21T13:42:50Z","updated_at":"2018-07-27T14:03:10Z","pushed_at":"2018-08-13T11:57:36Z","git_url":"git://github.com/Dammmien/netlify-cms.git","ssh_url":"git@github.com:Dammmien/netlify-cms.git","clone_url":"https://github.com/Dammmien/netlify-cms.git","svn_url":"https://github.com/Dammmien/netlify-cms","homepage":"https://www.netlifycms.org","size":19741,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"netlify:master","ref":"master","sha":"0cd82f11cc0a42d61f2c14b9f0a91aa51f41082a","user":{"login":"netlify","id":7892489,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7892489?v=4","gravatar_id":"","url":"https://api.github.com/users/netlify","html_url":"https://github.com/netlify","followers_url":"https://api.github.com/users/netlify/followers","following_url":"https://api.github.com/users/netlify/following{/other_user}","gists_url":"https://api.github.com/users/netlify/gists{/gist_id}","starred_url":"https://api.github.com/users/netlify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netlify/subscriptions","organizations_url":"https://api.github.com/users/netlify/orgs","repos_url":"https://api.github.com/users/netlify/repos","events_url":"https://api.github.com/users/netlify/events{/privacy}","received_events_url":"https://api.github.com/users/netlify/received_events","type":"Organization","site_admin":false},"repo":{"id":29514104,"node_id":"MDEwOlJlcG9zaXRvcnkyOTUxNDEwNA==","name":"netlify-cms","full_name":"netlify/netlify-cms","owner":{"login":"netlify","id":7892489,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7892489?v=4","gravatar_id":"","url":"https://api.github.com/users/netlify","html_url":"https://github.com/netlify","followers_url":"https://api.github.com/users/netlify/followers","following_url":"https://api.github.com/users/netlify/following{/other_user}","gists_url":"https://api.github.com/users/netlify/gists{/gist_id}","starred_url":"https://api.github.com/users/netlify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netlify/subscriptions","organizations_url":"https://api.github.com/users/netlify/orgs","repos_url":"https://api.github.com/users/netlify/repos","events_url":"https://api.github.com/users/netlify/events{/privacy}","received_events_url":"https://api.github.com/users/netlify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netlify/netlify-cms","description":"A CMS for Static Site Generators","fork":false,"url":"https://api.github.com/repos/netlify/netlify-cms","forks_url":"https://api.github.com/repos/netlify/netlify-cms/forks","keys_url":"https://api.github.com/repos/netlify/netlify-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netlify/netlify-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netlify/netlify-cms/teams","hooks_url":"https://api.github.com/repos/netlify/netlify-cms/hooks","issue_events_url":"https://api.github.com/repos/netlify/netlify-cms/issues/events{/number}","events_url":"https://api.github.com/repos/netlify/netlify-cms/events","assignees_url":"https://api.github.com/repos/netlify/netlify-cms/assignees{/user}","branches_url":"https://api.github.com/repos/netlify/netlify-cms/branches{/branch}","tags_url":"https://api.github.com/repos/netlify/netlify-cms/tags","blobs_url":"https://api.github.com/repos/netlify/netlify-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netlify/netlify-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netlify/netlify-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/netlify/netlify-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netlify/netlify-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/netlify/netlify-cms/languages","stargazers_url":"https://api.github.com/repos/netlify/netlify-cms/stargazers","contributors_url":"https://api.github.com/repos/netlify/netlify-cms/contributors","subscribers_url":"https://api.github.com/repos/netlify/netlify-cms/subscribers","subscription_url":"https://api.github.com/repos/netlify/netlify-cms/subscription","commits_url":"https://api.github.com/repos/netlify/netlify-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/netlify/netlify-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/netlify/netlify-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/netlify/netlify-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/netlify/netlify-cms/contents/{+path}","compare_url":"https://api.github.com/repos/netlify/netlify-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netlify/netlify-cms/merges","archive_url":"https://api.github.com/repos/netlify/netlify-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netlify/netlify-cms/downloads","issues_url":"https://api.github.com/repos/netlify/netlify-cms/issues{/number}","pulls_url":"https://api.github.com/repos/netlify/netlify-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/netlify/netlify-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/netlify/netlify-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netlify/netlify-cms/labels{/name}","releases_url":"https://api.github.com/repos/netlify/netlify-cms/releases{/id}","deployments_url":"https://api.github.com/repos/netlify/netlify-cms/deployments","created_at":"2015-01-20T05:47:47Z","updated_at":"2018-08-13T11:00:28Z","pushed_at":"2018-08-13T11:57:38Z","git_url":"git://github.com/netlify/netlify-cms.git","ssh_url":"git@github.com:netlify/netlify-cms.git","clone_url":"https://github.com/netlify/netlify-cms.git","svn_url":"https://github.com/netlify/netlify-cms","homepage":"https://www.netlifycms.org","size":20946,"stargazers_count":6007,"watchers_count":6007,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":852,"mirror_url":null,"archived":false,"open_issues_count":326,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":852,"open_issues":326,"watchers":6007,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/netlify/netlify-cms/pulls/1527"},"html":{"href":"https://github.com/netlify/netlify-cms/pull/1527"},"issue":{"href":"https://api.github.com/repos/netlify/netlify-cms/issues/1527"},"comments":{"href":"https://api.github.com/repos/netlify/netlify-cms/issues/1527/comments"},"review_comments":{"href":"https://api.github.com/repos/netlify/netlify-cms/pulls/1527/comments"},"review_comment":{"href":"https://api.github.com/repos/netlify/netlify-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/netlify/netlify-cms/pulls/1527/commits"},"statuses":{"href":"https://api.github.com/repos/netlify/netlify-cms/statuses/130cb40dbd4e3f2d9abef986da127a1b98b3081c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Dammmien"}}