{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/pculture/unilangs/pulls/19","id":98830427,"html_url":"https://github.com/pculture/unilangs/pull/19","diff_url":"https://github.com/pculture/unilangs/pull/19.diff","patch_url":"https://github.com/pculture/unilangs/pull/19.patch","issue_url":"https://api.github.com/repos/pculture/unilangs/issues/19","number":19,"state":"closed","locked":false,"title":"Properly deal with case for youtube region code","user":{"login":"syl22-00","id":875066,"avatar_url":"https://avatars.githubusercontent.com/u/875066?v=3","gravatar_id":"","url":"https://api.github.com/users/syl22-00","html_url":"https://github.com/syl22-00","followers_url":"https://api.github.com/users/syl22-00/followers","following_url":"https://api.github.com/users/syl22-00/following{/other_user}","gists_url":"https://api.github.com/users/syl22-00/gists{/gist_id}","starred_url":"https://api.github.com/users/syl22-00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl22-00/subscriptions","organizations_url":"https://api.github.com/users/syl22-00/orgs","repos_url":"https://api.github.com/users/syl22-00/repos","events_url":"https://api.github.com/users/syl22-00/events{/privacy}","received_events_url":"https://api.github.com/users/syl22-00/received_events","type":"User","site_admin":false},"body":"This changes again mapping for youtube. There are 2 key differences between unisubs codes and youtube codes:\r\n\r\n1. Codes for Chinese:\r\n* `zh-cn` -> `zh-Hans`\r\n* `zh-tw` -> `zh-Hant`\r\n\r\n2. Case of region codes:\r\n* `pt-br` -> `pt-BR`\r\n* `es-mx` -> `es-MX`\r\n\r\nAs Youtube uses BCP47 codes, we could use what we have for bcp47, but it seems simpler to do it this way.\r\n","created_at":"2016-12-20T21:38:51Z","updated_at":"2016-12-20T22:58:46Z","closed_at":"2016-12-20T22:58:46Z","merged_at":"2016-12-20T22:58:46Z","merge_commit_sha":"b7314226cb14a99571f84daca73099f0a3597f1d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pculture/unilangs/pulls/19/commits","review_comments_url":"https://api.github.com/repos/pculture/unilangs/pulls/19/comments","review_comment_url":"https://api.github.com/repos/pculture/unilangs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pculture/unilangs/issues/19/comments","statuses_url":"https://api.github.com/repos/pculture/unilangs/statuses/62d7686f05aa55452aba7d50c1eb54a008d722f6","head":{"label":"pculture:gh-enterprise-915","ref":"gh-enterprise-915","sha":"62d7686f05aa55452aba7d50c1eb54a008d722f6","user":{"login":"pculture","id":910812,"avatar_url":"https://avatars.githubusercontent.com/u/910812?v=3","gravatar_id":"","url":"https://api.github.com/users/pculture","html_url":"https://github.com/pculture","followers_url":"https://api.github.com/users/pculture/followers","following_url":"https://api.github.com/users/pculture/following{/other_user}","gists_url":"https://api.github.com/users/pculture/gists{/gist_id}","starred_url":"https://api.github.com/users/pculture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pculture/subscriptions","organizations_url":"https://api.github.com/users/pculture/orgs","repos_url":"https://api.github.com/users/pculture/repos","events_url":"https://api.github.com/users/pculture/events{/privacy}","received_events_url":"https://api.github.com/users/pculture/received_events","type":"Organization","site_admin":false},"repo":{"id":5798773,"name":"unilangs","full_name":"pculture/unilangs","owner":{"login":"pculture","id":910812,"avatar_url":"https://avatars.githubusercontent.com/u/910812?v=3","gravatar_id":"","url":"https://api.github.com/users/pculture","html_url":"https://github.com/pculture","followers_url":"https://api.github.com/users/pculture/followers","following_url":"https://api.github.com/users/pculture/following{/other_user}","gists_url":"https://api.github.com/users/pculture/gists{/gist_id}","starred_url":"https://api.github.com/users/pculture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pculture/subscriptions","organizations_url":"https://api.github.com/users/pculture/orgs","repos_url":"https://api.github.com/users/pculture/repos","events_url":"https://api.github.com/users/pculture/events{/privacy}","received_events_url":"https://api.github.com/users/pculture/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pculture/unilangs","description":"A library for [en/de]coding language codes between \"standards\".","fork":false,"url":"https://api.github.com/repos/pculture/unilangs","forks_url":"https://api.github.com/repos/pculture/unilangs/forks","keys_url":"https://api.github.com/repos/pculture/unilangs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pculture/unilangs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pculture/unilangs/teams","hooks_url":"https://api.github.com/repos/pculture/unilangs/hooks","issue_events_url":"https://api.github.com/repos/pculture/unilangs/issues/events{/number}","events_url":"https://api.github.com/repos/pculture/unilangs/events","assignees_url":"https://api.github.com/repos/pculture/unilangs/assignees{/user}","branches_url":"https://api.github.com/repos/pculture/unilangs/branches{/branch}","tags_url":"https://api.github.com/repos/pculture/unilangs/tags","blobs_url":"https://api.github.com/repos/pculture/unilangs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pculture/unilangs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pculture/unilangs/git/refs{/sha}","trees_url":"https://api.github.com/repos/pculture/unilangs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pculture/unilangs/statuses/{sha}","languages_url":"https://api.github.com/repos/pculture/unilangs/languages","stargazers_url":"https://api.github.com/repos/pculture/unilangs/stargazers","contributors_url":"https://api.github.com/repos/pculture/unilangs/contributors","subscribers_url":"https://api.github.com/repos/pculture/unilangs/subscribers","subscription_url":"https://api.github.com/repos/pculture/unilangs/subscription","commits_url":"https://api.github.com/repos/pculture/unilangs/commits{/sha}","git_commits_url":"https://api.github.com/repos/pculture/unilangs/git/commits{/sha}","comments_url":"https://api.github.com/repos/pculture/unilangs/comments{/number}","issue_comment_url":"https://api.github.com/repos/pculture/unilangs/issues/comments{/number}","contents_url":"https://api.github.com/repos/pculture/unilangs/contents/{+path}","compare_url":"https://api.github.com/repos/pculture/unilangs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pculture/unilangs/merges","archive_url":"https://api.github.com/repos/pculture/unilangs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pculture/unilangs/downloads","issues_url":"https://api.github.com/repos/pculture/unilangs/issues{/number}","pulls_url":"https://api.github.com/repos/pculture/unilangs/pulls{/number}","milestones_url":"https://api.github.com/repos/pculture/unilangs/milestones{/number}","notifications_url":"https://api.github.com/repos/pculture/unilangs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pculture/unilangs/labels{/name}","releases_url":"https://api.github.com/repos/pculture/unilangs/releases{/id}","deployments_url":"https://api.github.com/repos/pculture/unilangs/deployments","created_at":"2012-09-13T18:06:16Z","updated_at":"2016-11-16T16:29:33Z","pushed_at":"2016-12-20T22:58:46Z","git_url":"git://github.com/pculture/unilangs.git","ssh_url":"git@github.com:pculture/unilangs.git","clone_url":"https://github.com/pculture/unilangs.git","svn_url":"https://github.com/pculture/unilangs","homepage":null,"size":238,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"pculture:master","ref":"master","sha":"2a75d2f5e6469d1c1dd88356e48058c660041979","user":{"login":"pculture","id":910812,"avatar_url":"https://avatars.githubusercontent.com/u/910812?v=3","gravatar_id":"","url":"https://api.github.com/users/pculture","html_url":"https://github.com/pculture","followers_url":"https://api.github.com/users/pculture/followers","following_url":"https://api.github.com/users/pculture/following{/other_user}","gists_url":"https://api.github.com/users/pculture/gists{/gist_id}","starred_url":"https://api.github.com/users/pculture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pculture/subscriptions","organizations_url":"https://api.github.com/users/pculture/orgs","repos_url":"https://api.github.com/users/pculture/repos","events_url":"https://api.github.com/users/pculture/events{/privacy}","received_events_url":"https://api.github.com/users/pculture/received_events","type":"Organization","site_admin":false},"repo":{"id":5798773,"name":"unilangs","full_name":"pculture/unilangs","owner":{"login":"pculture","id":910812,"avatar_url":"https://avatars.githubusercontent.com/u/910812?v=3","gravatar_id":"","url":"https://api.github.com/users/pculture","html_url":"https://github.com/pculture","followers_url":"https://api.github.com/users/pculture/followers","following_url":"https://api.github.com/users/pculture/following{/other_user}","gists_url":"https://api.github.com/users/pculture/gists{/gist_id}","starred_url":"https://api.github.com/users/pculture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pculture/subscriptions","organizations_url":"https://api.github.com/users/pculture/orgs","repos_url":"https://api.github.com/users/pculture/repos","events_url":"https://api.github.com/users/pculture/events{/privacy}","received_events_url":"https://api.github.com/users/pculture/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pculture/unilangs","description":"A library for [en/de]coding language codes between \"standards\".","fork":false,"url":"https://api.github.com/repos/pculture/unilangs","forks_url":"https://api.github.com/repos/pculture/unilangs/forks","keys_url":"https://api.github.com/repos/pculture/unilangs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pculture/unilangs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pculture/unilangs/teams","hooks_url":"https://api.github.com/repos/pculture/unilangs/hooks","issue_events_url":"https://api.github.com/repos/pculture/unilangs/issues/events{/number}","events_url":"https://api.github.com/repos/pculture/unilangs/events","assignees_url":"https://api.github.com/repos/pculture/unilangs/assignees{/user}","branches_url":"https://api.github.com/repos/pculture/unilangs/branches{/branch}","tags_url":"https://api.github.com/repos/pculture/unilangs/tags","blobs_url":"https://api.github.com/repos/pculture/unilangs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pculture/unilangs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pculture/unilangs/git/refs{/sha}","trees_url":"https://api.github.com/repos/pculture/unilangs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pculture/unilangs/statuses/{sha}","languages_url":"https://api.github.com/repos/pculture/unilangs/languages","stargazers_url":"https://api.github.com/repos/pculture/unilangs/stargazers","contributors_url":"https://api.github.com/repos/pculture/unilangs/contributors","subscribers_url":"https://api.github.com/repos/pculture/unilangs/subscribers","subscription_url":"https://api.github.com/repos/pculture/unilangs/subscription","commits_url":"https://api.github.com/repos/pculture/unilangs/commits{/sha}","git_commits_url":"https://api.github.com/repos/pculture/unilangs/git/commits{/sha}","comments_url":"https://api.github.com/repos/pculture/unilangs/comments{/number}","issue_comment_url":"https://api.github.com/repos/pculture/unilangs/issues/comments{/number}","contents_url":"https://api.github.com/repos/pculture/unilangs/contents/{+path}","compare_url":"https://api.github.com/repos/pculture/unilangs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pculture/unilangs/merges","archive_url":"https://api.github.com/repos/pculture/unilangs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pculture/unilangs/downloads","issues_url":"https://api.github.com/repos/pculture/unilangs/issues{/number}","pulls_url":"https://api.github.com/repos/pculture/unilangs/pulls{/number}","milestones_url":"https://api.github.com/repos/pculture/unilangs/milestones{/number}","notifications_url":"https://api.github.com/repos/pculture/unilangs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pculture/unilangs/labels{/name}","releases_url":"https://api.github.com/repos/pculture/unilangs/releases{/id}","deployments_url":"https://api.github.com/repos/pculture/unilangs/deployments","created_at":"2012-09-13T18:06:16Z","updated_at":"2016-11-16T16:29:33Z","pushed_at":"2016-12-20T22:58:46Z","git_url":"git://github.com/pculture/unilangs.git","ssh_url":"git@github.com:pculture/unilangs.git","clone_url":"https://github.com/pculture/unilangs.git","svn_url":"https://github.com/pculture/unilangs","homepage":null,"size":238,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pculture/unilangs/pulls/19"},"html":{"href":"https://github.com/pculture/unilangs/pull/19"},"issue":{"href":"https://api.github.com/repos/pculture/unilangs/issues/19"},"comments":{"href":"https://api.github.com/repos/pculture/unilangs/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/pculture/unilangs/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/pculture/unilangs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pculture/unilangs/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/pculture/unilangs/statuses/62d7686f05aa55452aba7d50c1eb54a008d722f6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bendk","id":1012809,"avatar_url":"https://avatars.githubusercontent.com/u/1012809?v=3","gravatar_id":"","url":"https://api.github.com/users/bendk","html_url":"https://github.com/bendk","followers_url":"https://api.github.com/users/bendk/followers","following_url":"https://api.github.com/users/bendk/following{/other_user}","gists_url":"https://api.github.com/users/bendk/gists{/gist_id}","starred_url":"https://api.github.com/users/bendk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendk/subscriptions","organizations_url":"https://api.github.com/users/bendk/orgs","repos_url":"https://api.github.com/users/bendk/repos","events_url":"https://api.github.com/users/bendk/events{/privacy}","received_events_url":"https://api.github.com/users/bendk/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":32,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"bendk"}}