{"action":"created","comment":{"url":"https://api.github.com/repos/zotonic/zotonic/pulls/comments/83589044","pull_request_review_id":4422476,"id":83589044,"diff_hunk":"@@ -344,22 +344,13 @@ event(#postback{message={translation_reload, _Args}}, Context) ->\n \n %% @doc Strip the language code from the location (if the language code is recognized).\n %%      For instance: `<<\"/nl-nl/admin/translation\">>' becomes `<<\"/admin/translation\">>'\n-url_strip_language([$/,A,B,$/ | Rest] = Url) ->\n-    url_strip_language1(Url, [A,B], Rest);\n-url_strip_language([$/,A,B,$-,C,D,$/ | Rest] = Url) ->\n-    url_strip_language1(Url, [A,B,\"-\",C,D], Rest);\n url_strip_language(<<$/,A,B,$/, Rest/binary>> = Url) ->\n     url_strip_language1(Url, [A,B], Rest);\n url_strip_language(<<$/,A,B,$-,C,D,$/, Rest/binary>> = Url) ->","path":"modules/mod_translation/mod_translation.erl","position":10,"original_position":10,"commit_id":"1c19d73329eeb9b8c11c6e03e1c74fa6ed1849dd","original_commit_id":"1c19d73329eeb9b8c11c6e03e1c74fa6ed1849dd","user":{"login":"elvisci","id":8136322,"avatar_url":"https://avatars.githubusercontent.com/u/8136322?v=3","gravatar_id":"","url":"https://api.github.com/users/elvisci","html_url":"https://github.com/elvisci","followers_url":"https://api.github.com/users/elvisci/followers","following_url":"https://api.github.com/users/elvisci/following{/other_user}","gists_url":"https://api.github.com/users/elvisci/gists{/gist_id}","starred_url":"https://api.github.com/users/elvisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvisci/subscriptions","organizations_url":"https://api.github.com/users/elvisci/orgs","repos_url":"https://api.github.com/users/elvisci/repos","events_url":"https://api.github.com/users/elvisci/events{/privacy}","received_events_url":"https://api.github.com/users/elvisci/received_events","type":"User","site_admin":false},"body":"Missing space right \",\" on line 349","created_at":"2016-10-17T07:34:14Z","updated_at":"2016-10-17T07:34:14Z","html_url":"https://github.com/zotonic/zotonic/pull/1370#discussion_r83589044","pull_request_url":"https://api.github.com/repos/zotonic/zotonic/pulls/1370","_links":{"self":{"href":"https://api.github.com/repos/zotonic/zotonic/pulls/comments/83589044"},"html":{"href":"https://github.com/zotonic/zotonic/pull/1370#discussion_r83589044"},"pull_request":{"href":"https://api.github.com/repos/zotonic/zotonic/pulls/1370"}}},"pull_request":{"url":"https://api.github.com/repos/zotonic/zotonic/pulls/1370","id":80344657,"html_url":"https://github.com/zotonic/zotonic/pull/1370","diff_url":"https://github.com/zotonic/zotonic/pull/1370.diff","patch_url":"https://github.com/zotonic/zotonic/pull/1370.patch","issue_url":"https://api.github.com/repos/zotonic/zotonic/issues/1370","number":1370,"state":"open","locked":false,"title":"build: Run rebar3 dialyzer","user":{"login":"ddeboer","id":89267,"avatar_url":"https://avatars.githubusercontent.com/u/89267?v=3","gravatar_id":"","url":"https://api.github.com/users/ddeboer","html_url":"https://github.com/ddeboer","followers_url":"https://api.github.com/users/ddeboer/followers","following_url":"https://api.github.com/users/ddeboer/following{/other_user}","gists_url":"https://api.github.com/users/ddeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/ddeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddeboer/subscriptions","organizations_url":"https://api.github.com/users/ddeboer/orgs","repos_url":"https://api.github.com/users/ddeboer/repos","events_url":"https://api.github.com/users/ddeboer/events{/privacy}","received_events_url":"https://api.github.com/users/ddeboer/received_events","type":"User","site_admin":false},"body":"Fix #1322.\r\n\r\nThis will probably break the build badly, as I guess we’ll have quite some type fixing to do. :wink:\r\n\r\nStatus: **462** warnings (out of 880) remaining.","created_at":"2016-08-06T16:38:55Z","updated_at":"2016-10-17T07:34:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a511dc26860a8e08be3e4f27cbaa79d3b7d64f8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zotonic/zotonic/pulls/1370/commits","review_comments_url":"https://api.github.com/repos/zotonic/zotonic/pulls/1370/comments","review_comment_url":"https://api.github.com/repos/zotonic/zotonic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zotonic/zotonic/issues/1370/comments","statuses_url":"https://api.github.com/repos/zotonic/zotonic/statuses/1c19d73329eeb9b8c11c6e03e1c74fa6ed1849dd","head":{"label":"zotonic:travis-dialyzer","ref":"travis-dialyzer","sha":"1c19d73329eeb9b8c11c6e03e1c74fa6ed1849dd","user":{"login":"zotonic","id":829753,"avatar_url":"https://avatars.githubusercontent.com/u/829753?v=3","gravatar_id":"","url":"https://api.github.com/users/zotonic","html_url":"https://github.com/zotonic","followers_url":"https://api.github.com/users/zotonic/followers","following_url":"https://api.github.com/users/zotonic/following{/other_user}","gists_url":"https://api.github.com/users/zotonic/gists{/gist_id}","starred_url":"https://api.github.com/users/zotonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zotonic/subscriptions","organizations_url":"https://api.github.com/users/zotonic/orgs","repos_url":"https://api.github.com/users/zotonic/repos","events_url":"https://api.github.com/users/zotonic/events{/privacy}","received_events_url":"https://api.github.com/users/zotonic/received_events","type":"Organization","site_admin":false},"repo":{"id":1847706,"name":"zotonic","full_name":"zotonic/zotonic","owner":{"login":"zotonic","id":829753,"avatar_url":"https://avatars.githubusercontent.com/u/829753?v=3","gravatar_id":"","url":"https://api.github.com/users/zotonic","html_url":"https://github.com/zotonic","followers_url":"https://api.github.com/users/zotonic/followers","following_url":"https://api.github.com/users/zotonic/following{/other_user}","gists_url":"https://api.github.com/users/zotonic/gists{/gist_id}","starred_url":"https://api.github.com/users/zotonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zotonic/subscriptions","organizations_url":"https://api.github.com/users/zotonic/orgs","repos_url":"https://api.github.com/users/zotonic/repos","events_url":"https://api.github.com/users/zotonic/events{/privacy}","received_events_url":"https://api.github.com/users/zotonic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zotonic/zotonic","description":"Zotonic - The Erlang Web Framework & CMS","fork":false,"url":"https://api.github.com/repos/zotonic/zotonic","forks_url":"https://api.github.com/repos/zotonic/zotonic/forks","keys_url":"https://api.github.com/repos/zotonic/zotonic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zotonic/zotonic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zotonic/zotonic/teams","hooks_url":"https://api.github.com/repos/zotonic/zotonic/hooks","issue_events_url":"https://api.github.com/repos/zotonic/zotonic/issues/events{/number}","events_url":"https://api.github.com/repos/zotonic/zotonic/events","assignees_url":"https://api.github.com/repos/zotonic/zotonic/assignees{/user}","branches_url":"https://api.github.com/repos/zotonic/zotonic/branches{/branch}","tags_url":"https://api.github.com/repos/zotonic/zotonic/tags","blobs_url":"https://api.github.com/repos/zotonic/zotonic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zotonic/zotonic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zotonic/zotonic/git/refs{/sha}","trees_url":"https://api.github.com/repos/zotonic/zotonic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zotonic/zotonic/statuses/{sha}","languages_url":"https://api.github.com/repos/zotonic/zotonic/languages","stargazers_url":"https://api.github.com/repos/zotonic/zotonic/stargazers","contributors_url":"https://api.github.com/repos/zotonic/zotonic/contributors","subscribers_url":"https://api.github.com/repos/zotonic/zotonic/subscribers","subscription_url":"https://api.github.com/repos/zotonic/zotonic/subscription","commits_url":"https://api.github.com/repos/zotonic/zotonic/commits{/sha}","git_commits_url":"https://api.github.com/repos/zotonic/zotonic/git/commits{/sha}","comments_url":"https://api.github.com/repos/zotonic/zotonic/comments{/number}","issue_comment_url":"https://api.github.com/repos/zotonic/zotonic/issues/comments{/number}","contents_url":"https://api.github.com/repos/zotonic/zotonic/contents/{+path}","compare_url":"https://api.github.com/repos/zotonic/zotonic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zotonic/zotonic/merges","archive_url":"https://api.github.com/repos/zotonic/zotonic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zotonic/zotonic/downloads","issues_url":"https://api.github.com/repos/zotonic/zotonic/issues{/number}","pulls_url":"https://api.github.com/repos/zotonic/zotonic/pulls{/number}","milestones_url":"https://api.github.com/repos/zotonic/zotonic/milestones{/number}","notifications_url":"https://api.github.com/repos/zotonic/zotonic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zotonic/zotonic/labels{/name}","releases_url":"https://api.github.com/repos/zotonic/zotonic/releases{/id}","deployments_url":"https://api.github.com/repos/zotonic/zotonic/deployments","created_at":"2011-06-04T18:43:30Z","updated_at":"2016-10-14T07:38:17Z","pushed_at":"2016-10-17T07:30:17Z","git_url":"git://github.com/zotonic/zotonic.git","ssh_url":"git@github.com:zotonic/zotonic.git","clone_url":"https://github.com/zotonic/zotonic.git","svn_url":"https://github.com/zotonic/zotonic","homepage":"http://zotonic.com/","size":51705,"stargazers_count":467,"watchers_count":467,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":150,"mirror_url":null,"open_issues_count":193,"forks":150,"open_issues":193,"watchers":467,"default_branch":"master"}},"base":{"label":"zotonic:master","ref":"master","sha":"3d69095ad585ebda6e752ee5c687094f978b0996","user":{"login":"zotonic","id":829753,"avatar_url":"https://avatars.githubusercontent.com/u/829753?v=3","gravatar_id":"","url":"https://api.github.com/users/zotonic","html_url":"https://github.com/zotonic","followers_url":"https://api.github.com/users/zotonic/followers","following_url":"https://api.github.com/users/zotonic/following{/other_user}","gists_url":"https://api.github.com/users/zotonic/gists{/gist_id}","starred_url":"https://api.github.com/users/zotonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zotonic/subscriptions","organizations_url":"https://api.github.com/users/zotonic/orgs","repos_url":"https://api.github.com/users/zotonic/repos","events_url":"https://api.github.com/users/zotonic/events{/privacy}","received_events_url":"https://api.github.com/users/zotonic/received_events","type":"Organization","site_admin":false},"repo":{"id":1847706,"name":"zotonic","full_name":"zotonic/zotonic","owner":{"login":"zotonic","id":829753,"avatar_url":"https://avatars.githubusercontent.com/u/829753?v=3","gravatar_id":"","url":"https://api.github.com/users/zotonic","html_url":"https://github.com/zotonic","followers_url":"https://api.github.com/users/zotonic/followers","following_url":"https://api.github.com/users/zotonic/following{/other_user}","gists_url":"https://api.github.com/users/zotonic/gists{/gist_id}","starred_url":"https://api.github.com/users/zotonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zotonic/subscriptions","organizations_url":"https://api.github.com/users/zotonic/orgs","repos_url":"https://api.github.com/users/zotonic/repos","events_url":"https://api.github.com/users/zotonic/events{/privacy}","received_events_url":"https://api.github.com/users/zotonic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zotonic/zotonic","description":"Zotonic - The Erlang Web Framework & CMS","fork":false,"url":"https://api.github.com/repos/zotonic/zotonic","forks_url":"https://api.github.com/repos/zotonic/zotonic/forks","keys_url":"https://api.github.com/repos/zotonic/zotonic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zotonic/zotonic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zotonic/zotonic/teams","hooks_url":"https://api.github.com/repos/zotonic/zotonic/hooks","issue_events_url":"https://api.github.com/repos/zotonic/zotonic/issues/events{/number}","events_url":"https://api.github.com/repos/zotonic/zotonic/events","assignees_url":"https://api.github.com/repos/zotonic/zotonic/assignees{/user}","branches_url":"https://api.github.com/repos/zotonic/zotonic/branches{/branch}","tags_url":"https://api.github.com/repos/zotonic/zotonic/tags","blobs_url":"https://api.github.com/repos/zotonic/zotonic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zotonic/zotonic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zotonic/zotonic/git/refs{/sha}","trees_url":"https://api.github.com/repos/zotonic/zotonic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zotonic/zotonic/statuses/{sha}","languages_url":"https://api.github.com/repos/zotonic/zotonic/languages","stargazers_url":"https://api.github.com/repos/zotonic/zotonic/stargazers","contributors_url":"https://api.github.com/repos/zotonic/zotonic/contributors","subscribers_url":"https://api.github.com/repos/zotonic/zotonic/subscribers","subscription_url":"https://api.github.com/repos/zotonic/zotonic/subscription","commits_url":"https://api.github.com/repos/zotonic/zotonic/commits{/sha}","git_commits_url":"https://api.github.com/repos/zotonic/zotonic/git/commits{/sha}","comments_url":"https://api.github.com/repos/zotonic/zotonic/comments{/number}","issue_comment_url":"https://api.github.com/repos/zotonic/zotonic/issues/comments{/number}","contents_url":"https://api.github.com/repos/zotonic/zotonic/contents/{+path}","compare_url":"https://api.github.com/repos/zotonic/zotonic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zotonic/zotonic/merges","archive_url":"https://api.github.com/repos/zotonic/zotonic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zotonic/zotonic/downloads","issues_url":"https://api.github.com/repos/zotonic/zotonic/issues{/number}","pulls_url":"https://api.github.com/repos/zotonic/zotonic/pulls{/number}","milestones_url":"https://api.github.com/repos/zotonic/zotonic/milestones{/number}","notifications_url":"https://api.github.com/repos/zotonic/zotonic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zotonic/zotonic/labels{/name}","releases_url":"https://api.github.com/repos/zotonic/zotonic/releases{/id}","deployments_url":"https://api.github.com/repos/zotonic/zotonic/deployments","created_at":"2011-06-04T18:43:30Z","updated_at":"2016-10-14T07:38:17Z","pushed_at":"2016-10-17T07:30:17Z","git_url":"git://github.com/zotonic/zotonic.git","ssh_url":"git@github.com:zotonic/zotonic.git","clone_url":"https://github.com/zotonic/zotonic.git","svn_url":"https://github.com/zotonic/zotonic","homepage":"http://zotonic.com/","size":51705,"stargazers_count":467,"watchers_count":467,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":150,"mirror_url":null,"open_issues_count":193,"forks":150,"open_issues":193,"watchers":467,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zotonic/zotonic/pulls/1370"},"html":{"href":"https://github.com/zotonic/zotonic/pull/1370"},"issue":{"href":"https://api.github.com/repos/zotonic/zotonic/issues/1370"},"comments":{"href":"https://api.github.com/repos/zotonic/zotonic/issues/1370/comments"},"review_comments":{"href":"https://api.github.com/repos/zotonic/zotonic/pulls/1370/comments"},"review_comment":{"href":"https://api.github.com/repos/zotonic/zotonic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zotonic/zotonic/pulls/1370/commits"},"statuses":{"href":"https://api.github.com/repos/zotonic/zotonic/statuses/1c19d73329eeb9b8c11c6e03e1c74fa6ed1849dd"}}}}
{"actor":{"display_login":"elvisci"}}