{"action":"created","comment":{"url":"https://api.github.com/repos/discourse/discourse/pulls/comments/40535775","id":40535775,"diff_hunk":"@@ -2080,6 +2082,9 @@ en:\n \n         If the above link is not clickable, try copying and pasting it into the address bar of your web browser.\n \n+    push:\n+      body: You have %{count} new notifications.","path":"config/locales/server.en.yml","position":14,"original_position":14,"commit_id":"6833685d21d69f3f4fafb3302ce8f1ad41ed97e7","original_commit_id":"6833685d21d69f3f4fafb3302ce8f1ad41ed97e7","user":{"login":"tgxworld","id":4335742,"avatar_url":"https://avatars.githubusercontent.com/u/4335742?v=3","gravatar_id":"","url":"https://api.github.com/users/tgxworld","html_url":"https://github.com/tgxworld","followers_url":"https://api.github.com/users/tgxworld/followers","following_url":"https://api.github.com/users/tgxworld/following{/other_user}","gists_url":"https://api.github.com/users/tgxworld/gists{/gist_id}","starred_url":"https://api.github.com/users/tgxworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgxworld/subscriptions","organizations_url":"https://api.github.com/users/tgxworld/orgs","repos_url":"https://api.github.com/users/tgxworld/repos","events_url":"https://api.github.com/users/tgxworld/events{/privacy}","received_events_url":"https://api.github.com/users/tgxworld/received_events","type":"User","site_admin":false},"body":"hmm I could add that in but currently, we won't call the translation when we only have one notification.","created_at":"2015-09-28T10:02:45Z","updated_at":"2015-09-28T10:02:45Z","html_url":"https://github.com/discourse/discourse/pull/3815#discussion_r40535775","pull_request_url":"https://api.github.com/repos/discourse/discourse/pulls/3815","_links":{"self":{"href":"https://api.github.com/repos/discourse/discourse/pulls/comments/40535775"},"html":{"href":"https://github.com/discourse/discourse/pull/3815#discussion_r40535775"},"pull_request":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3815"}}},"pull_request":{"url":"https://api.github.com/repos/discourse/discourse/pulls/3815","id":45986946,"html_url":"https://github.com/discourse/discourse/pull/3815","diff_url":"https://github.com/discourse/discourse/pull/3815.diff","patch_url":"https://github.com/discourse/discourse/pull/3815.patch","issue_url":"https://api.github.com/repos/discourse/discourse/issues/3815","number":3815,"state":"open","locked":false,"title":"FEATURE: Push Notifications for Chrome.","user":{"login":"tgxworld","id":4335742,"avatar_url":"https://avatars.githubusercontent.com/u/4335742?v=3","gravatar_id":"","url":"https://api.github.com/users/tgxworld","html_url":"https://github.com/tgxworld","followers_url":"https://api.github.com/users/tgxworld/followers","following_url":"https://api.github.com/users/tgxworld/following{/other_user}","gists_url":"https://api.github.com/users/tgxworld/gists{/gist_id}","starred_url":"https://api.github.com/users/tgxworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgxworld/subscriptions","organizations_url":"https://api.github.com/users/tgxworld/orgs","repos_url":"https://api.github.com/users/tgxworld/repos","events_url":"https://api.github.com/users/tgxworld/events{/privacy}","received_events_url":"https://api.github.com/users/tgxworld/received_events","type":"User","site_admin":false},"body":"![bug_report-19](https://cloud.githubusercontent.com/assets/4335742/10095990/873ca7d6-63a0-11e5-9e9a-59c459c5f2b1.gif)\r\n\r\n- [x] Handle config of push notifications properly\r\n- [x] Fallback to Desktop notification when push notification is disabled.\r\n","created_at":"2015-09-25T08:15:49Z","updated_at":"2015-09-28T10:02:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8aad9043f029572afc23639ef91f99a19340804f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/discourse/discourse/pulls/3815/commits","review_comments_url":"https://api.github.com/repos/discourse/discourse/pulls/3815/comments","review_comment_url":"https://api.github.com/repos/discourse/discourse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/discourse/discourse/issues/3815/comments","statuses_url":"https://api.github.com/repos/discourse/discourse/statuses/6833685d21d69f3f4fafb3302ce8f1ad41ed97e7","head":{"label":"tgxworld:service_worker","ref":"service_worker","sha":"6833685d21d69f3f4fafb3302ce8f1ad41ed97e7","user":{"login":"tgxworld","id":4335742,"avatar_url":"https://avatars.githubusercontent.com/u/4335742?v=3","gravatar_id":"","url":"https://api.github.com/users/tgxworld","html_url":"https://github.com/tgxworld","followers_url":"https://api.github.com/users/tgxworld/followers","following_url":"https://api.github.com/users/tgxworld/following{/other_user}","gists_url":"https://api.github.com/users/tgxworld/gists{/gist_id}","starred_url":"https://api.github.com/users/tgxworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgxworld/subscriptions","organizations_url":"https://api.github.com/users/tgxworld/orgs","repos_url":"https://api.github.com/users/tgxworld/repos","events_url":"https://api.github.com/users/tgxworld/events{/privacy}","received_events_url":"https://api.github.com/users/tgxworld/received_events","type":"User","site_admin":false},"repo":{"id":21684234,"name":"discourse","full_name":"tgxworld/discourse","owner":{"login":"tgxworld","id":4335742,"avatar_url":"https://avatars.githubusercontent.com/u/4335742?v=3","gravatar_id":"","url":"https://api.github.com/users/tgxworld","html_url":"https://github.com/tgxworld","followers_url":"https://api.github.com/users/tgxworld/followers","following_url":"https://api.github.com/users/tgxworld/following{/other_user}","gists_url":"https://api.github.com/users/tgxworld/gists{/gist_id}","starred_url":"https://api.github.com/users/tgxworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgxworld/subscriptions","organizations_url":"https://api.github.com/users/tgxworld/orgs","repos_url":"https://api.github.com/users/tgxworld/repos","events_url":"https://api.github.com/users/tgxworld/events{/privacy}","received_events_url":"https://api.github.com/users/tgxworld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgxworld/discourse","description":"A platform for community discussion. Free, open, simple.","fork":true,"url":"https://api.github.com/repos/tgxworld/discourse","forks_url":"https://api.github.com/repos/tgxworld/discourse/forks","keys_url":"https://api.github.com/repos/tgxworld/discourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgxworld/discourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgxworld/discourse/teams","hooks_url":"https://api.github.com/repos/tgxworld/discourse/hooks","issue_events_url":"https://api.github.com/repos/tgxworld/discourse/issues/events{/number}","events_url":"https://api.github.com/repos/tgxworld/discourse/events","assignees_url":"https://api.github.com/repos/tgxworld/discourse/assignees{/user}","branches_url":"https://api.github.com/repos/tgxworld/discourse/branches{/branch}","tags_url":"https://api.github.com/repos/tgxworld/discourse/tags","blobs_url":"https://api.github.com/repos/tgxworld/discourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgxworld/discourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgxworld/discourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgxworld/discourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgxworld/discourse/statuses/{sha}","languages_url":"https://api.github.com/repos/tgxworld/discourse/languages","stargazers_url":"https://api.github.com/repos/tgxworld/discourse/stargazers","contributors_url":"https://api.github.com/repos/tgxworld/discourse/contributors","subscribers_url":"https://api.github.com/repos/tgxworld/discourse/subscribers","subscription_url":"https://api.github.com/repos/tgxworld/discourse/subscription","commits_url":"https://api.github.com/repos/tgxworld/discourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgxworld/discourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgxworld/discourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgxworld/discourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgxworld/discourse/contents/{+path}","compare_url":"https://api.github.com/repos/tgxworld/discourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgxworld/discourse/merges","archive_url":"https://api.github.com/repos/tgxworld/discourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgxworld/discourse/downloads","issues_url":"https://api.github.com/repos/tgxworld/discourse/issues{/number}","pulls_url":"https://api.github.com/repos/tgxworld/discourse/pulls{/number}","milestones_url":"https://api.github.com/repos/tgxworld/discourse/milestones{/number}","notifications_url":"https://api.github.com/repos/tgxworld/discourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgxworld/discourse/labels{/name}","releases_url":"https://api.github.com/repos/tgxworld/discourse/releases{/id}","created_at":"2014-07-10T07:23:21Z","updated_at":"2014-12-23T06:13:52Z","pushed_at":"2015-09-28T05:34:04Z","git_url":"git://github.com/tgxworld/discourse.git","ssh_url":"git@github.com:tgxworld/discourse.git","clone_url":"https://github.com/tgxworld/discourse.git","svn_url":"https://github.com/tgxworld/discourse","homepage":"http://www.discourse.org","size":100474,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"discourse:master","ref":"master","sha":"d5ae7e54f9d174703e48824547724d801927d66a","user":{"login":"discourse","id":3220138,"avatar_url":"https://avatars.githubusercontent.com/u/3220138?v=3","gravatar_id":"","url":"https://api.github.com/users/discourse","html_url":"https://github.com/discourse","followers_url":"https://api.github.com/users/discourse/followers","following_url":"https://api.github.com/users/discourse/following{/other_user}","gists_url":"https://api.github.com/users/discourse/gists{/gist_id}","starred_url":"https://api.github.com/users/discourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discourse/subscriptions","organizations_url":"https://api.github.com/users/discourse/orgs","repos_url":"https://api.github.com/users/discourse/repos","events_url":"https://api.github.com/users/discourse/events{/privacy}","received_events_url":"https://api.github.com/users/discourse/received_events","type":"Organization","site_admin":false},"repo":{"id":7569578,"name":"discourse","full_name":"discourse/discourse","owner":{"login":"discourse","id":3220138,"avatar_url":"https://avatars.githubusercontent.com/u/3220138?v=3","gravatar_id":"","url":"https://api.github.com/users/discourse","html_url":"https://github.com/discourse","followers_url":"https://api.github.com/users/discourse/followers","following_url":"https://api.github.com/users/discourse/following{/other_user}","gists_url":"https://api.github.com/users/discourse/gists{/gist_id}","starred_url":"https://api.github.com/users/discourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discourse/subscriptions","organizations_url":"https://api.github.com/users/discourse/orgs","repos_url":"https://api.github.com/users/discourse/repos","events_url":"https://api.github.com/users/discourse/events{/privacy}","received_events_url":"https://api.github.com/users/discourse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/discourse/discourse","description":"A platform for community discussion. Free, open, simple.","fork":false,"url":"https://api.github.com/repos/discourse/discourse","forks_url":"https://api.github.com/repos/discourse/discourse/forks","keys_url":"https://api.github.com/repos/discourse/discourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discourse/discourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discourse/discourse/teams","hooks_url":"https://api.github.com/repos/discourse/discourse/hooks","issue_events_url":"https://api.github.com/repos/discourse/discourse/issues/events{/number}","events_url":"https://api.github.com/repos/discourse/discourse/events","assignees_url":"https://api.github.com/repos/discourse/discourse/assignees{/user}","branches_url":"https://api.github.com/repos/discourse/discourse/branches{/branch}","tags_url":"https://api.github.com/repos/discourse/discourse/tags","blobs_url":"https://api.github.com/repos/discourse/discourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discourse/discourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discourse/discourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/discourse/discourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discourse/discourse/statuses/{sha}","languages_url":"https://api.github.com/repos/discourse/discourse/languages","stargazers_url":"https://api.github.com/repos/discourse/discourse/stargazers","contributors_url":"https://api.github.com/repos/discourse/discourse/contributors","subscribers_url":"https://api.github.com/repos/discourse/discourse/subscribers","subscription_url":"https://api.github.com/repos/discourse/discourse/subscription","commits_url":"https://api.github.com/repos/discourse/discourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/discourse/discourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/discourse/discourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/discourse/discourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/discourse/discourse/contents/{+path}","compare_url":"https://api.github.com/repos/discourse/discourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discourse/discourse/merges","archive_url":"https://api.github.com/repos/discourse/discourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discourse/discourse/downloads","issues_url":"https://api.github.com/repos/discourse/discourse/issues{/number}","pulls_url":"https://api.github.com/repos/discourse/discourse/pulls{/number}","milestones_url":"https://api.github.com/repos/discourse/discourse/milestones{/number}","notifications_url":"https://api.github.com/repos/discourse/discourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discourse/discourse/labels{/name}","releases_url":"https://api.github.com/repos/discourse/discourse/releases{/id}","created_at":"2013-01-12T00:25:55Z","updated_at":"2015-09-28T09:05:18Z","pushed_at":"2015-09-28T08:43:58Z","git_url":"git://github.com/discourse/discourse.git","ssh_url":"git@github.com:discourse/discourse.git","clone_url":"https://github.com/discourse/discourse.git","svn_url":"https://github.com/discourse/discourse","homepage":"http://www.discourse.org","size":216432,"stargazers_count":15825,"watchers_count":15825,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4214,"mirror_url":null,"open_issues_count":17,"forks":4214,"open_issues":17,"watchers":15825,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3815"},"html":{"href":"https://github.com/discourse/discourse/pull/3815"},"issue":{"href":"https://api.github.com/repos/discourse/discourse/issues/3815"},"comments":{"href":"https://api.github.com/repos/discourse/discourse/issues/3815/comments"},"review_comments":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3815/comments"},"review_comment":{"href":"https://api.github.com/repos/discourse/discourse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3815/commits"},"statuses":{"href":"https://api.github.com/repos/discourse/discourse/statuses/6833685d21d69f3f4fafb3302ce8f1ad41ed97e7"}}}}