{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular/pulls/comments/54041126","id":54041126,"diff_hunk":"@@ -429,6 +429,8 @@ var NG_COMMON = [\n   'ObservableListDiffFactory:dart',\n   'PercentPipe',\n   'PercentPipe.transform()',\n+  'I18nPluralPipe',","path":"modules/angular2/test/public_api_spec.ts","position":4,"original_position":4,"commit_id":"ccc89d5643d0a55e85f78923d2e013a13e2ae1a2","original_commit_id":"ccc89d5643d0a55e85f78923d2e013a13e2ae1a2","user":{"login":"vsavkin","id":35996,"avatar_url":"https://avatars.githubusercontent.com/u/35996?v=3","gravatar_id":"","url":"https://api.github.com/users/vsavkin","html_url":"https://github.com/vsavkin","followers_url":"https://api.github.com/users/vsavkin/followers","following_url":"https://api.github.com/users/vsavkin/following{/other_user}","gists_url":"https://api.github.com/users/vsavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/vsavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsavkin/subscriptions","organizations_url":"https://api.github.com/users/vsavkin/orgs","repos_url":"https://api.github.com/users/vsavkin/repos","events_url":"https://api.github.com/users/vsavkin/events{/privacy}","received_events_url":"https://api.github.com/users/vsavkin/received_events","type":"User","site_admin":false},"body":"I am pretty sure you will have to modify the second public api spec too. ","created_at":"2016-02-25T02:27:07Z","updated_at":"2016-02-25T02:27:07Z","html_url":"https://github.com/angular/angular/pull/7268#discussion_r54041126","pull_request_url":"https://api.github.com/repos/angular/angular/pulls/7268","_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/comments/54041126"},"html":{"href":"https://github.com/angular/angular/pull/7268#discussion_r54041126"},"pull_request":{"href":"https://api.github.com/repos/angular/angular/pulls/7268"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/7268","id":60602187,"html_url":"https://github.com/angular/angular/pull/7268","diff_url":"https://github.com/angular/angular/pull/7268.diff","patch_url":"https://github.com/angular/angular/pull/7268.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/7268","number":7268,"state":"open","locked":false,"title":"feat(plural): add plural and select pipes","user":{"login":"kara","id":3871688,"avatar_url":"https://avatars.githubusercontent.com/u/3871688?v=3","gravatar_id":"","url":"https://api.github.com/users/kara","html_url":"https://github.com/kara","followers_url":"https://api.github.com/users/kara/followers","following_url":"https://api.github.com/users/kara/following{/other_user}","gists_url":"https://api.github.com/users/kara/gists{/gist_id}","starred_url":"https://api.github.com/users/kara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kara/subscriptions","organizations_url":"https://api.github.com/users/kara/orgs","repos_url":"https://api.github.com/users/kara/repos","events_url":"https://api.github.com/users/kara/events{/privacy}","received_events_url":"https://api.github.com/users/kara/received_events","type":"User","site_admin":false},"body":"@mhevery @vsavkin  Review?\r\n\r\n**i18n plural pipe**\r\n\r\n Maps a value to a string that pluralizes the value properly.\r\n\r\n ## Usage\r\n\r\n expression | i18nPlural:mapping\r\n\r\n where `expression` is a number and `mapping` is an object that indicates the proper text for\r\n  when the `expression` evaluates to 0, 1, or some other number.  You can interpolate the actual\r\n value into the text using the `#` sign.\r\n\r\n ## Example\r\n\r\n ```\r\n  <div [title]=\"messages.length | i18nPlural: messageMapping\">\r\n  </div>\r\n\r\n  class MyApp {\r\n    messages: any[];\r\n    messageMapping: any = {\r\n      '=0': 'No messages.',\r\n      '=1': 'One message.',\r\n      'other': '# messages.'\r\n    }\r\n    ...\r\n  }\r\n  ```\r\n\r\n**i18n select pipe**\r\n\r\nGeneric selector that displays the string that matches the current value.\r\n\r\n  ## Usage\r\n\r\n  expression | i18nSelect:mapping\r\n\r\nwhere `mapping` is an object that indicates the text that should be displayed for different values of the provided `expression`.\r\n\r\n  ## Example\r\n\r\n  ```\r\n  <div [title]=\"gender | i18nSelect: inviteMap\">\r\n  </div>\r\n\r\n  class MyApp {\r\n    gender: string = 'male';\r\n    inviteMap: any = {\r\n      'male': 'Invite her.',\r\n      'female': 'Invite him.',\r\n      'other': 'Invite them.'\r\n    }\r\n    ...\r\n  }\r\n  ```","created_at":"2016-02-25T00:05:10Z","updated_at":"2016-02-25T02:27:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ea3838c1abc3dd5f552e05780cfd85002ab13cf","assignee":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular/pulls/7268/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/7268/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/7268/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/ccc89d5643d0a55e85f78923d2e013a13e2ae1a2","head":{"label":"kara:ngplural","ref":"ngplural","sha":"ccc89d5643d0a55e85f78923d2e013a13e2ae1a2","user":{"login":"kara","id":3871688,"avatar_url":"https://avatars.githubusercontent.com/u/3871688?v=3","gravatar_id":"","url":"https://api.github.com/users/kara","html_url":"https://github.com/kara","followers_url":"https://api.github.com/users/kara/followers","following_url":"https://api.github.com/users/kara/following{/other_user}","gists_url":"https://api.github.com/users/kara/gists{/gist_id}","starred_url":"https://api.github.com/users/kara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kara/subscriptions","organizations_url":"https://api.github.com/users/kara/orgs","repos_url":"https://api.github.com/users/kara/repos","events_url":"https://api.github.com/users/kara/events{/privacy}","received_events_url":"https://api.github.com/users/kara/received_events","type":"User","site_admin":false},"repo":{"id":30559627,"name":"angular","full_name":"kara/angular","owner":{"login":"kara","id":3871688,"avatar_url":"https://avatars.githubusercontent.com/u/3871688?v=3","gravatar_id":"","url":"https://api.github.com/users/kara","html_url":"https://github.com/kara","followers_url":"https://api.github.com/users/kara/followers","following_url":"https://api.github.com/users/kara/following{/other_user}","gists_url":"https://api.github.com/users/kara/gists{/gist_id}","starred_url":"https://api.github.com/users/kara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kara/subscriptions","organizations_url":"https://api.github.com/users/kara/orgs","repos_url":"https://api.github.com/users/kara/repos","events_url":"https://api.github.com/users/kara/events{/privacy}","received_events_url":"https://api.github.com/users/kara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kara/angular","description":"","fork":true,"url":"https://api.github.com/repos/kara/angular","forks_url":"https://api.github.com/repos/kara/angular/forks","keys_url":"https://api.github.com/repos/kara/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kara/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kara/angular/teams","hooks_url":"https://api.github.com/repos/kara/angular/hooks","issue_events_url":"https://api.github.com/repos/kara/angular/issues/events{/number}","events_url":"https://api.github.com/repos/kara/angular/events","assignees_url":"https://api.github.com/repos/kara/angular/assignees{/user}","branches_url":"https://api.github.com/repos/kara/angular/branches{/branch}","tags_url":"https://api.github.com/repos/kara/angular/tags","blobs_url":"https://api.github.com/repos/kara/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kara/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kara/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/kara/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kara/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/kara/angular/languages","stargazers_url":"https://api.github.com/repos/kara/angular/stargazers","contributors_url":"https://api.github.com/repos/kara/angular/contributors","subscribers_url":"https://api.github.com/repos/kara/angular/subscribers","subscription_url":"https://api.github.com/repos/kara/angular/subscription","commits_url":"https://api.github.com/repos/kara/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/kara/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/kara/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/kara/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/kara/angular/contents/{+path}","compare_url":"https://api.github.com/repos/kara/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kara/angular/merges","archive_url":"https://api.github.com/repos/kara/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kara/angular/downloads","issues_url":"https://api.github.com/repos/kara/angular/issues{/number}","pulls_url":"https://api.github.com/repos/kara/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/kara/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/kara/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kara/angular/labels{/name}","releases_url":"https://api.github.com/repos/kara/angular/releases{/id}","deployments_url":"https://api.github.com/repos/kara/angular/deployments","created_at":"2015-02-09T21:32:22Z","updated_at":"2016-01-24T16:23:07Z","pushed_at":"2016-02-25T02:08:52Z","git_url":"git://github.com/kara/angular.git","ssh_url":"git@github.com:kara/angular.git","clone_url":"https://github.com/kara/angular.git","svn_url":"https://github.com/kara/angular","homepage":null,"size":16340,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"d1abada5b71b9dbd2fcd2859a617394348b8fa6a","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular/deployments","created_at":"2014-09-18T16:12:01Z","updated_at":"2016-02-25T02:17:15Z","pushed_at":"2016-02-25T02:12:10Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":"https://angular.io","size":203484,"stargazers_count":9286,"watchers_count":9286,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2408,"mirror_url":null,"open_issues_count":1225,"forks":2408,"open_issues":1225,"watchers":9286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/7268"},"html":{"href":"https://github.com/angular/angular/pull/7268"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/7268"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/7268/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/7268/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/7268/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/ccc89d5643d0a55e85f78923d2e013a13e2ae1a2"}}}}