{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/boboldehampsink/translate/pulls/20","id":120775021,"html_url":"https://github.com/boboldehampsink/translate/pull/20","diff_url":"https://github.com/boboldehampsink/translate/pull/20.diff","patch_url":"https://github.com/boboldehampsink/translate/pull/20.patch","issue_url":"https://api.github.com/repos/boboldehampsink/translate/issues/20","number":20,"state":"closed","locked":false,"title":"Added support for sites with a single locale","user":{"login":"janhenckens","id":755428,"avatar_url":"https://avatars3.githubusercontent.com/u/755428?v=3","gravatar_id":"","url":"https://api.github.com/users/janhenckens","html_url":"https://github.com/janhenckens","followers_url":"https://api.github.com/users/janhenckens/followers","following_url":"https://api.github.com/users/janhenckens/following{/other_user}","gists_url":"https://api.github.com/users/janhenckens/gists{/gist_id}","starred_url":"https://api.github.com/users/janhenckens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janhenckens/subscriptions","organizations_url":"https://api.github.com/users/janhenckens/orgs","repos_url":"https://api.github.com/users/janhenckens/repos","events_url":"https://api.github.com/users/janhenckens/events{/privacy}","received_events_url":"https://api.github.com/users/janhenckens/received_events","type":"User","site_admin":false},"body":"On sites that only have a single locale enabled, the plugin would not show translated strings in the translation overview. \r\n\r\nStrings will show up translated where they're used in templates so that works, just not in the plugin where you do the translating itself and that can be a bit confusing.\r\n\r\nThe PR checks if we have a locale and if we don't, it sets it locale to the primary (and only) locale defined on the site.","created_at":"2017-05-16T08:52:12Z","updated_at":"2017-06-12T10:18:32Z","closed_at":"2017-06-12T10:18:32Z","merged_at":"2017-06-12T10:18:32Z","merge_commit_sha":"85955502791ead1cc9e049dd376472abf18004c4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/boboldehampsink/translate/pulls/20/commits","review_comments_url":"https://api.github.com/repos/boboldehampsink/translate/pulls/20/comments","review_comment_url":"https://api.github.com/repos/boboldehampsink/translate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boboldehampsink/translate/issues/20/comments","statuses_url":"https://api.github.com/repos/boboldehampsink/translate/statuses/c89b8f61583311bbc56576691e494691584a554e","head":{"label":"janhenckens:single-locale","ref":"single-locale","sha":"c89b8f61583311bbc56576691e494691584a554e","user":{"login":"janhenckens","id":755428,"avatar_url":"https://avatars3.githubusercontent.com/u/755428?v=3","gravatar_id":"","url":"https://api.github.com/users/janhenckens","html_url":"https://github.com/janhenckens","followers_url":"https://api.github.com/users/janhenckens/followers","following_url":"https://api.github.com/users/janhenckens/following{/other_user}","gists_url":"https://api.github.com/users/janhenckens/gists{/gist_id}","starred_url":"https://api.github.com/users/janhenckens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janhenckens/subscriptions","organizations_url":"https://api.github.com/users/janhenckens/orgs","repos_url":"https://api.github.com/users/janhenckens/repos","events_url":"https://api.github.com/users/janhenckens/events{/privacy}","received_events_url":"https://api.github.com/users/janhenckens/received_events","type":"User","site_admin":false},"repo":{"id":91436168,"name":"translate","full_name":"janhenckens/translate","owner":{"login":"janhenckens","id":755428,"avatar_url":"https://avatars3.githubusercontent.com/u/755428?v=3","gravatar_id":"","url":"https://api.github.com/users/janhenckens","html_url":"https://github.com/janhenckens","followers_url":"https://api.github.com/users/janhenckens/followers","following_url":"https://api.github.com/users/janhenckens/following{/other_user}","gists_url":"https://api.github.com/users/janhenckens/gists{/gist_id}","starred_url":"https://api.github.com/users/janhenckens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janhenckens/subscriptions","organizations_url":"https://api.github.com/users/janhenckens/orgs","repos_url":"https://api.github.com/users/janhenckens/repos","events_url":"https://api.github.com/users/janhenckens/events{/privacy}","received_events_url":"https://api.github.com/users/janhenckens/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/janhenckens/translate","description":"Translate plugin for Craft CMS","fork":true,"url":"https://api.github.com/repos/janhenckens/translate","forks_url":"https://api.github.com/repos/janhenckens/translate/forks","keys_url":"https://api.github.com/repos/janhenckens/translate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/janhenckens/translate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/janhenckens/translate/teams","hooks_url":"https://api.github.com/repos/janhenckens/translate/hooks","issue_events_url":"https://api.github.com/repos/janhenckens/translate/issues/events{/number}","events_url":"https://api.github.com/repos/janhenckens/translate/events","assignees_url":"https://api.github.com/repos/janhenckens/translate/assignees{/user}","branches_url":"https://api.github.com/repos/janhenckens/translate/branches{/branch}","tags_url":"https://api.github.com/repos/janhenckens/translate/tags","blobs_url":"https://api.github.com/repos/janhenckens/translate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/janhenckens/translate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/janhenckens/translate/git/refs{/sha}","trees_url":"https://api.github.com/repos/janhenckens/translate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/janhenckens/translate/statuses/{sha}","languages_url":"https://api.github.com/repos/janhenckens/translate/languages","stargazers_url":"https://api.github.com/repos/janhenckens/translate/stargazers","contributors_url":"https://api.github.com/repos/janhenckens/translate/contributors","subscribers_url":"https://api.github.com/repos/janhenckens/translate/subscribers","subscription_url":"https://api.github.com/repos/janhenckens/translate/subscription","commits_url":"https://api.github.com/repos/janhenckens/translate/commits{/sha}","git_commits_url":"https://api.github.com/repos/janhenckens/translate/git/commits{/sha}","comments_url":"https://api.github.com/repos/janhenckens/translate/comments{/number}","issue_comment_url":"https://api.github.com/repos/janhenckens/translate/issues/comments{/number}","contents_url":"https://api.github.com/repos/janhenckens/translate/contents/{+path}","compare_url":"https://api.github.com/repos/janhenckens/translate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/janhenckens/translate/merges","archive_url":"https://api.github.com/repos/janhenckens/translate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/janhenckens/translate/downloads","issues_url":"https://api.github.com/repos/janhenckens/translate/issues{/number}","pulls_url":"https://api.github.com/repos/janhenckens/translate/pulls{/number}","milestones_url":"https://api.github.com/repos/janhenckens/translate/milestones{/number}","notifications_url":"https://api.github.com/repos/janhenckens/translate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/janhenckens/translate/labels{/name}","releases_url":"https://api.github.com/repos/janhenckens/translate/releases{/id}","deployments_url":"https://api.github.com/repos/janhenckens/translate/deployments","created_at":"2017-05-16T08:46:17Z","updated_at":"2017-05-16T08:46:19Z","pushed_at":"2017-05-16T09:14:31Z","git_url":"git://github.com/janhenckens/translate.git","ssh_url":"git@github.com:janhenckens/translate.git","clone_url":"https://github.com/janhenckens/translate.git","svn_url":"https://github.com/janhenckens/translate","homepage":null,"size":73,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"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":"develop"}},"base":{"label":"boboldehampsink:develop","ref":"develop","sha":"90d3a4f3b21edf31663beb55b38aff6fe326758f","user":{"login":"boboldehampsink","id":378974,"avatar_url":"https://avatars0.githubusercontent.com/u/378974?v=3","gravatar_id":"","url":"https://api.github.com/users/boboldehampsink","html_url":"https://github.com/boboldehampsink","followers_url":"https://api.github.com/users/boboldehampsink/followers","following_url":"https://api.github.com/users/boboldehampsink/following{/other_user}","gists_url":"https://api.github.com/users/boboldehampsink/gists{/gist_id}","starred_url":"https://api.github.com/users/boboldehampsink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boboldehampsink/subscriptions","organizations_url":"https://api.github.com/users/boboldehampsink/orgs","repos_url":"https://api.github.com/users/boboldehampsink/repos","events_url":"https://api.github.com/users/boboldehampsink/events{/privacy}","received_events_url":"https://api.github.com/users/boboldehampsink/received_events","type":"User","site_admin":false},"repo":{"id":23393546,"name":"translate","full_name":"boboldehampsink/translate","owner":{"login":"boboldehampsink","id":378974,"avatar_url":"https://avatars0.githubusercontent.com/u/378974?v=3","gravatar_id":"","url":"https://api.github.com/users/boboldehampsink","html_url":"https://github.com/boboldehampsink","followers_url":"https://api.github.com/users/boboldehampsink/followers","following_url":"https://api.github.com/users/boboldehampsink/following{/other_user}","gists_url":"https://api.github.com/users/boboldehampsink/gists{/gist_id}","starred_url":"https://api.github.com/users/boboldehampsink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boboldehampsink/subscriptions","organizations_url":"https://api.github.com/users/boboldehampsink/orgs","repos_url":"https://api.github.com/users/boboldehampsink/repos","events_url":"https://api.github.com/users/boboldehampsink/events{/privacy}","received_events_url":"https://api.github.com/users/boboldehampsink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boboldehampsink/translate","description":"Translate plugin for Craft CMS","fork":false,"url":"https://api.github.com/repos/boboldehampsink/translate","forks_url":"https://api.github.com/repos/boboldehampsink/translate/forks","keys_url":"https://api.github.com/repos/boboldehampsink/translate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boboldehampsink/translate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boboldehampsink/translate/teams","hooks_url":"https://api.github.com/repos/boboldehampsink/translate/hooks","issue_events_url":"https://api.github.com/repos/boboldehampsink/translate/issues/events{/number}","events_url":"https://api.github.com/repos/boboldehampsink/translate/events","assignees_url":"https://api.github.com/repos/boboldehampsink/translate/assignees{/user}","branches_url":"https://api.github.com/repos/boboldehampsink/translate/branches{/branch}","tags_url":"https://api.github.com/repos/boboldehampsink/translate/tags","blobs_url":"https://api.github.com/repos/boboldehampsink/translate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boboldehampsink/translate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boboldehampsink/translate/git/refs{/sha}","trees_url":"https://api.github.com/repos/boboldehampsink/translate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boboldehampsink/translate/statuses/{sha}","languages_url":"https://api.github.com/repos/boboldehampsink/translate/languages","stargazers_url":"https://api.github.com/repos/boboldehampsink/translate/stargazers","contributors_url":"https://api.github.com/repos/boboldehampsink/translate/contributors","subscribers_url":"https://api.github.com/repos/boboldehampsink/translate/subscribers","subscription_url":"https://api.github.com/repos/boboldehampsink/translate/subscription","commits_url":"https://api.github.com/repos/boboldehampsink/translate/commits{/sha}","git_commits_url":"https://api.github.com/repos/boboldehampsink/translate/git/commits{/sha}","comments_url":"https://api.github.com/repos/boboldehampsink/translate/comments{/number}","issue_comment_url":"https://api.github.com/repos/boboldehampsink/translate/issues/comments{/number}","contents_url":"https://api.github.com/repos/boboldehampsink/translate/contents/{+path}","compare_url":"https://api.github.com/repos/boboldehampsink/translate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boboldehampsink/translate/merges","archive_url":"https://api.github.com/repos/boboldehampsink/translate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boboldehampsink/translate/downloads","issues_url":"https://api.github.com/repos/boboldehampsink/translate/issues{/number}","pulls_url":"https://api.github.com/repos/boboldehampsink/translate/pulls{/number}","milestones_url":"https://api.github.com/repos/boboldehampsink/translate/milestones{/number}","notifications_url":"https://api.github.com/repos/boboldehampsink/translate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boboldehampsink/translate/labels{/name}","releases_url":"https://api.github.com/repos/boboldehampsink/translate/releases{/id}","deployments_url":"https://api.github.com/repos/boboldehampsink/translate/deployments","created_at":"2014-08-27T14:53:00Z","updated_at":"2017-05-17T03:45:07Z","pushed_at":"2017-06-12T10:18:32Z","git_url":"git://github.com/boboldehampsink/translate.git","ssh_url":"git@github.com:boboldehampsink/translate.git","clone_url":"https://github.com/boboldehampsink/translate.git","svn_url":"https://github.com/boboldehampsink/translate","homepage":null,"size":73,"stargazers_count":39,"watchers_count":39,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":39,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/boboldehampsink/translate/pulls/20"},"html":{"href":"https://github.com/boboldehampsink/translate/pull/20"},"issue":{"href":"https://api.github.com/repos/boboldehampsink/translate/issues/20"},"comments":{"href":"https://api.github.com/repos/boboldehampsink/translate/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/boboldehampsink/translate/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/boboldehampsink/translate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boboldehampsink/translate/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/boboldehampsink/translate/statuses/c89b8f61583311bbc56576691e494691584a554e"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"boboldehampsink","id":378974,"avatar_url":"https://avatars0.githubusercontent.com/u/378974?v=3","gravatar_id":"","url":"https://api.github.com/users/boboldehampsink","html_url":"https://github.com/boboldehampsink","followers_url":"https://api.github.com/users/boboldehampsink/followers","following_url":"https://api.github.com/users/boboldehampsink/following{/other_user}","gists_url":"https://api.github.com/users/boboldehampsink/gists{/gist_id}","starred_url":"https://api.github.com/users/boboldehampsink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boboldehampsink/subscriptions","organizations_url":"https://api.github.com/users/boboldehampsink/orgs","repos_url":"https://api.github.com/users/boboldehampsink/repos","events_url":"https://api.github.com/users/boboldehampsink/events{/privacy}","received_events_url":"https://api.github.com/users/boboldehampsink/received_events","type":"User","site_admin":false},"comments":3,"review_comments":7,"maintainer_can_modify":false,"commits":6,"additions":9,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"boboldehampsink"}}