{"action":"opened","number":2834,"pull_request":{"url":"https://api.github.com/repos/spf13/hugo/pulls/2834","id":99382488,"html_url":"https://github.com/spf13/hugo/pull/2834","diff_url":"https://github.com/spf13/hugo/pull/2834.diff","patch_url":"https://github.com/spf13/hugo/pull/2834.patch","issue_url":"https://api.github.com/repos/spf13/hugo/issues/2834","number":2834,"state":"open","locked":false,"title":"hugolib: Fix IsTranslated for \"old\" node types","user":{"login":"bep","id":394382,"avatar_url":"https://avatars.githubusercontent.com/u/394382?v=3","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"body":"The new logic for creating Page objects from old node types\ndidn't include itself in the translation logic, so\n`IsTranslated` returned falsely false for sites with only two languages.\n\nThe `AllTranslations` method also returned to few pages in that case.\n\nThis commit fixes that.\n\nFixes #2812","created_at":"2016-12-26T17:18:02Z","updated_at":"2016-12-26T17:18:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/spf13/hugo/pulls/2834/commits","review_comments_url":"https://api.github.com/repos/spf13/hugo/pulls/2834/comments","review_comment_url":"https://api.github.com/repos/spf13/hugo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/2834/comments","statuses_url":"https://api.github.com/repos/spf13/hugo/statuses/d314a7ef89c088be9925737d5b8b8bfe2845271d","head":{"label":"bep:fix-istranslation","ref":"fix-istranslation","sha":"d314a7ef89c088be9925737d5b8b8bfe2845271d","user":{"login":"bep","id":394382,"avatar_url":"https://avatars.githubusercontent.com/u/394382?v=3","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"repo":{"id":23870368,"name":"hugo","full_name":"bep/hugo","owner":{"login":"bep","id":394382,"avatar_url":"https://avatars.githubusercontent.com/u/394382?v=3","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bep/hugo","description":"A Fast and Flexible Static Site Generator built with love by spf13 in GoLang","fork":true,"url":"https://api.github.com/repos/bep/hugo","forks_url":"https://api.github.com/repos/bep/hugo/forks","keys_url":"https://api.github.com/repos/bep/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bep/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bep/hugo/teams","hooks_url":"https://api.github.com/repos/bep/hugo/hooks","issue_events_url":"https://api.github.com/repos/bep/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/bep/hugo/events","assignees_url":"https://api.github.com/repos/bep/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/bep/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/bep/hugo/tags","blobs_url":"https://api.github.com/repos/bep/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bep/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bep/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/bep/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bep/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/bep/hugo/languages","stargazers_url":"https://api.github.com/repos/bep/hugo/stargazers","contributors_url":"https://api.github.com/repos/bep/hugo/contributors","subscribers_url":"https://api.github.com/repos/bep/hugo/subscribers","subscription_url":"https://api.github.com/repos/bep/hugo/subscription","commits_url":"https://api.github.com/repos/bep/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/bep/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/bep/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/bep/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/bep/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/bep/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bep/hugo/merges","archive_url":"https://api.github.com/repos/bep/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bep/hugo/downloads","issues_url":"https://api.github.com/repos/bep/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/bep/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/bep/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/bep/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bep/hugo/labels{/name}","releases_url":"https://api.github.com/repos/bep/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/bep/hugo/deployments","created_at":"2014-09-10T10:25:42Z","updated_at":"2016-05-15T09:05:09Z","pushed_at":"2016-12-26T17:17:54Z","git_url":"git://github.com/bep/hugo.git","ssh_url":"git@github.com:bep/hugo.git","clone_url":"https://github.com/bep/hugo.git","svn_url":"https://github.com/bep/hugo","homepage":"http://hugo.spf13.com","size":35684,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spf13:master","ref":"master","sha":"7d991ed89cd2ce5e35bd7d00fd79ff1e5330dc8b","user":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"repo":{"id":11180687,"name":"hugo","full_name":"spf13/hugo","owner":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spf13/hugo","description":"A Fast and Flexible Static Site Generator built with love in GoLang","fork":false,"url":"https://api.github.com/repos/spf13/hugo","forks_url":"https://api.github.com/repos/spf13/hugo/forks","keys_url":"https://api.github.com/repos/spf13/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spf13/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spf13/hugo/teams","hooks_url":"https://api.github.com/repos/spf13/hugo/hooks","issue_events_url":"https://api.github.com/repos/spf13/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/spf13/hugo/events","assignees_url":"https://api.github.com/repos/spf13/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/spf13/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/spf13/hugo/tags","blobs_url":"https://api.github.com/repos/spf13/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spf13/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spf13/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/spf13/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spf13/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/spf13/hugo/languages","stargazers_url":"https://api.github.com/repos/spf13/hugo/stargazers","contributors_url":"https://api.github.com/repos/spf13/hugo/contributors","subscribers_url":"https://api.github.com/repos/spf13/hugo/subscribers","subscription_url":"https://api.github.com/repos/spf13/hugo/subscription","commits_url":"https://api.github.com/repos/spf13/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/spf13/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/spf13/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/spf13/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/spf13/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/spf13/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spf13/hugo/merges","archive_url":"https://api.github.com/repos/spf13/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spf13/hugo/downloads","issues_url":"https://api.github.com/repos/spf13/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/spf13/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/spf13/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/spf13/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spf13/hugo/labels{/name}","releases_url":"https://api.github.com/repos/spf13/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/spf13/hugo/deployments","created_at":"2013-07-04T15:26:26Z","updated_at":"2016-12-26T16:26:16Z","pushed_at":"2016-12-26T13:52:58Z","git_url":"git://github.com/spf13/hugo.git","ssh_url":"git@github.com:spf13/hugo.git","clone_url":"https://github.com/spf13/hugo.git","svn_url":"https://github.com/spf13/hugo","homepage":"http://gohugo.io","size":32385,"stargazers_count":13913,"watchers_count":13913,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2108,"mirror_url":null,"open_issues_count":369,"forks":2108,"open_issues":369,"watchers":13913,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2834"},"html":{"href":"https://github.com/spf13/hugo/pull/2834"},"issue":{"href":"https://api.github.com/repos/spf13/hugo/issues/2834"},"comments":{"href":"https://api.github.com/repos/spf13/hugo/issues/2834/comments"},"review_comments":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2834/comments"},"review_comment":{"href":"https://api.github.com/repos/spf13/hugo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2834/commits"},"statuses":{"href":"https://api.github.com/repos/spf13/hugo/statuses/d314a7ef89c088be9925737d5b8b8bfe2845271d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":48,"deletions":8,"changed_files":3}}
{"actor":{"display_login":"bep"}}