{"action":"created","comment":{"url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/comments/126779800","pull_request_review_id":49297545,"id":126779800,"diff_hunk":"@@ -17,6 +17,7 @@ class App extends React.Component {\n \n   componentDidMount() {\n     this.props.dispatch(retrieveUserFromSession());\n+    window.language = this.props.language; // for non react-intl localizations","path":"src/App.js","position":4,"original_position":4,"commit_id":"dba8d3bb9d3135b4e5b8d01ab438be1ee1e4fb74","original_commit_id":"dba8d3bb9d3135b4e5b8d01ab438be1ee1e4fb74","user":{"login":"akx","id":58669,"avatar_url":"https://avatars1.githubusercontent.com/u/58669?v=3","gravatar_id":"","url":"https://api.github.com/users/akx","html_url":"https://github.com/akx","followers_url":"https://api.github.com/users/akx/followers","following_url":"https://api.github.com/users/akx/following{/other_user}","gists_url":"https://api.github.com/users/akx/gists{/gist_id}","starred_url":"https://api.github.com/users/akx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akx/subscriptions","organizations_url":"https://api.github.com/users/akx/orgs","repos_url":"https://api.github.com/users/akx/repos","events_url":"https://api.github.com/users/akx/events{/privacy}","received_events_url":"https://api.github.com/users/akx/received_events","type":"User","site_admin":false},"body":"Why pollute `window`, when you have a perfectly cromulent [`config`](https://github.com/City-of-Helsinki/kerrokantasi-ui/blob/master/src/config.js) object?","created_at":"2017-07-11T19:03:42Z","updated_at":"2017-07-11T19:08:03Z","html_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui/pull/350#discussion_r126779800","pull_request_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/350","_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/comments/126779800"},"html":{"href":"https://github.com/City-of-Helsinki/kerrokantasi-ui/pull/350#discussion_r126779800"},"pull_request":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/350"}}},"pull_request":{"url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/350","id":129660613,"html_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui/pull/350","diff_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui/pull/350.diff","patch_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui/pull/350.patch","issue_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues/350","number":350,"state":"open","locked":false,"title":"Add localized error messages","user":{"login":"Rikuoja","id":9367712,"avatar_url":"https://avatars2.githubusercontent.com/u/9367712?v=3","gravatar_id":"","url":"https://api.github.com/users/Rikuoja","html_url":"https://github.com/Rikuoja","followers_url":"https://api.github.com/users/Rikuoja/followers","following_url":"https://api.github.com/users/Rikuoja/following{/other_user}","gists_url":"https://api.github.com/users/Rikuoja/gists{/gist_id}","starred_url":"https://api.github.com/users/Rikuoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rikuoja/subscriptions","organizations_url":"https://api.github.com/users/Rikuoja/orgs","repos_url":"https://api.github.com/users/Rikuoja/repos","events_url":"https://api.github.com/users/Rikuoja/events{/privacy}","received_events_url":"https://api.github.com/users/Rikuoja/received_events","type":"User","site_admin":false},"body":"Fixes #344 ","created_at":"2017-07-10T11:50:29Z","updated_at":"2017-07-11T19:08:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37663b2f3a238dc549ff4fe79c30c8e9c23cfd75","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/350/commits","review_comments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/350/comments","review_comment_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues/350/comments","statuses_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/statuses/dba8d3bb9d3135b4e5b8d01ab438be1ee1e4fb74","head":{"label":"City-of-Helsinki:add-localized-error-messages","ref":"add-localized-error-messages","sha":"dba8d3bb9d3135b4e5b8d01ab438be1ee1e4fb74","user":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars3.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"repo":{"id":44660727,"name":"kerrokantasi-ui","full_name":"City-of-Helsinki/kerrokantasi-ui","owner":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars3.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui","description":"Kerro kantasi participatory democracy UI","fork":false,"url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui","forks_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/forks","keys_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/teams","hooks_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/hooks","issue_events_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues/events{/number}","events_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/events","assignees_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/assignees{/user}","branches_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/branches{/branch}","tags_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/tags","blobs_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/languages","stargazers_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/stargazers","contributors_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/contributors","subscribers_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/subscribers","subscription_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/subscription","commits_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/contents/{+path}","compare_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/merges","archive_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/downloads","issues_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues{/number}","pulls_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/labels{/name}","releases_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/releases{/id}","deployments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/deployments","created_at":"2015-10-21T07:48:35Z","updated_at":"2017-07-05T13:22:06Z","pushed_at":"2017-07-11T13:36:53Z","git_url":"git://github.com/City-of-Helsinki/kerrokantasi-ui.git","ssh_url":"git@github.com:City-of-Helsinki/kerrokantasi-ui.git","clone_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui.git","svn_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui","homepage":null,"size":2930,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":114,"forks":9,"open_issues":114,"watchers":0,"default_branch":"master"}},"base":{"label":"City-of-Helsinki:master","ref":"master","sha":"b9f296224895a5eba2bcd1bb5a69e31e22e8f7b9","user":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars3.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"repo":{"id":44660727,"name":"kerrokantasi-ui","full_name":"City-of-Helsinki/kerrokantasi-ui","owner":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars3.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui","description":"Kerro kantasi participatory democracy UI","fork":false,"url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui","forks_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/forks","keys_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/teams","hooks_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/hooks","issue_events_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues/events{/number}","events_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/events","assignees_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/assignees{/user}","branches_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/branches{/branch}","tags_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/tags","blobs_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/languages","stargazers_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/stargazers","contributors_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/contributors","subscribers_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/subscribers","subscription_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/subscription","commits_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/contents/{+path}","compare_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/merges","archive_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/downloads","issues_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues{/number}","pulls_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/labels{/name}","releases_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/releases{/id}","deployments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/deployments","created_at":"2015-10-21T07:48:35Z","updated_at":"2017-07-05T13:22:06Z","pushed_at":"2017-07-11T13:36:53Z","git_url":"git://github.com/City-of-Helsinki/kerrokantasi-ui.git","ssh_url":"git@github.com:City-of-Helsinki/kerrokantasi-ui.git","clone_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui.git","svn_url":"https://github.com/City-of-Helsinki/kerrokantasi-ui","homepage":null,"size":2930,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":114,"forks":9,"open_issues":114,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/350"},"html":{"href":"https://github.com/City-of-Helsinki/kerrokantasi-ui/pull/350"},"issue":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues/350"},"comments":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/issues/350/comments"},"review_comments":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/350/comments"},"review_comment":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/pulls/350/commits"},"statuses":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi-ui/statuses/dba8d3bb9d3135b4e5b8d01ab438be1ee1e4fb74"}}}}
{"actor":{"display_login":"akx"}}