{"action":"closed","number":249,"pull_request":{"url":"https://api.github.com/repos/python-babel/babel/pulls/249","id":45779717,"html_url":"https://github.com/python-babel/babel/pull/249","diff_url":"https://github.com/python-babel/babel/pull/249.diff","patch_url":"https://github.com/python-babel/babel/pull/249.patch","issue_url":"https://api.github.com/repos/python-babel/babel/issues/249","number":249,"state":"closed","locked":false,"title":"Fix zh plural selection","user":{"login":"mbirtwell","id":4640901,"avatar_url":"https://avatars.githubusercontent.com/u/4640901?v=3","gravatar_id":"","url":"https://api.github.com/users/mbirtwell","html_url":"https://github.com/mbirtwell","followers_url":"https://api.github.com/users/mbirtwell/followers","following_url":"https://api.github.com/users/mbirtwell/following{/other_user}","gists_url":"https://api.github.com/users/mbirtwell/gists{/gist_id}","starred_url":"https://api.github.com/users/mbirtwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbirtwell/subscriptions","organizations_url":"https://api.github.com/users/mbirtwell/orgs","repos_url":"https://api.github.com/users/mbirtwell/repos","events_url":"https://api.github.com/users/mbirtwell/events{/privacy}","received_events_url":"https://api.github.com/users/mbirtwell/received_events","type":"User","site_admin":false},"body":"Provide only one option for chinese in the plural data. The 3 previous options were all the same and I've checked with a chinese colleague she thinks that applies to all variants on the chinese language. \r\n\r\nBefore this change things like ```get_plurals('zh_CN')``` would return the default plural rules because that string would get expanded out to ```Locale('zh', 'CN', 'Hans')``` with string representation ```\"zh_Hans_CH\"```, which isn't in the table. \r\n\r\nI feel like this is side stepping the underlying issue that the way that this table is searched isn't very flexible, but I thought it might be a pragmatic improvement.","created_at":"2015-09-23T13:39:14Z","updated_at":"2015-11-20T19:21:04Z","closed_at":"2015-11-20T19:21:04Z","merged_at":"2015-11-20T19:21:04Z","merge_commit_sha":"2b72187dd84c47ce1c97704de00a72dc2f928466","assignee":{"login":"etanol","id":85804,"avatar_url":"https://avatars.githubusercontent.com/u/85804?v=3","gravatar_id":"","url":"https://api.github.com/users/etanol","html_url":"https://github.com/etanol","followers_url":"https://api.github.com/users/etanol/followers","following_url":"https://api.github.com/users/etanol/following{/other_user}","gists_url":"https://api.github.com/users/etanol/gists{/gist_id}","starred_url":"https://api.github.com/users/etanol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etanol/subscriptions","organizations_url":"https://api.github.com/users/etanol/orgs","repos_url":"https://api.github.com/users/etanol/repos","events_url":"https://api.github.com/users/etanol/events{/privacy}","received_events_url":"https://api.github.com/users/etanol/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/python-babel/babel/pulls/249/commits","review_comments_url":"https://api.github.com/repos/python-babel/babel/pulls/249/comments","review_comment_url":"https://api.github.com/repos/python-babel/babel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python-babel/babel/issues/249/comments","statuses_url":"https://api.github.com/repos/python-babel/babel/statuses/531f666c163cfa406dfcb6545027001018995051","head":{"label":"mbirtwell:fix_zh_plural_selection","ref":"fix_zh_plural_selection","sha":"531f666c163cfa406dfcb6545027001018995051","user":{"login":"mbirtwell","id":4640901,"avatar_url":"https://avatars.githubusercontent.com/u/4640901?v=3","gravatar_id":"","url":"https://api.github.com/users/mbirtwell","html_url":"https://github.com/mbirtwell","followers_url":"https://api.github.com/users/mbirtwell/followers","following_url":"https://api.github.com/users/mbirtwell/following{/other_user}","gists_url":"https://api.github.com/users/mbirtwell/gists{/gist_id}","starred_url":"https://api.github.com/users/mbirtwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbirtwell/subscriptions","organizations_url":"https://api.github.com/users/mbirtwell/orgs","repos_url":"https://api.github.com/users/mbirtwell/repos","events_url":"https://api.github.com/users/mbirtwell/events{/privacy}","received_events_url":"https://api.github.com/users/mbirtwell/received_events","type":"User","site_admin":false},"repo":{"id":30369813,"name":"babel","full_name":"mbirtwell/babel","owner":{"login":"mbirtwell","id":4640901,"avatar_url":"https://avatars.githubusercontent.com/u/4640901?v=3","gravatar_id":"","url":"https://api.github.com/users/mbirtwell","html_url":"https://github.com/mbirtwell","followers_url":"https://api.github.com/users/mbirtwell/followers","following_url":"https://api.github.com/users/mbirtwell/following{/other_user}","gists_url":"https://api.github.com/users/mbirtwell/gists{/gist_id}","starred_url":"https://api.github.com/users/mbirtwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbirtwell/subscriptions","organizations_url":"https://api.github.com/users/mbirtwell/orgs","repos_url":"https://api.github.com/users/mbirtwell/repos","events_url":"https://api.github.com/users/mbirtwell/events{/privacy}","received_events_url":"https://api.github.com/users/mbirtwell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbirtwell/babel","description":"The new official repository for Babel, the Python Internationalization Library","fork":true,"url":"https://api.github.com/repos/mbirtwell/babel","forks_url":"https://api.github.com/repos/mbirtwell/babel/forks","keys_url":"https://api.github.com/repos/mbirtwell/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbirtwell/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbirtwell/babel/teams","hooks_url":"https://api.github.com/repos/mbirtwell/babel/hooks","issue_events_url":"https://api.github.com/repos/mbirtwell/babel/issues/events{/number}","events_url":"https://api.github.com/repos/mbirtwell/babel/events","assignees_url":"https://api.github.com/repos/mbirtwell/babel/assignees{/user}","branches_url":"https://api.github.com/repos/mbirtwell/babel/branches{/branch}","tags_url":"https://api.github.com/repos/mbirtwell/babel/tags","blobs_url":"https://api.github.com/repos/mbirtwell/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbirtwell/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbirtwell/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbirtwell/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbirtwell/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/mbirtwell/babel/languages","stargazers_url":"https://api.github.com/repos/mbirtwell/babel/stargazers","contributors_url":"https://api.github.com/repos/mbirtwell/babel/contributors","subscribers_url":"https://api.github.com/repos/mbirtwell/babel/subscribers","subscription_url":"https://api.github.com/repos/mbirtwell/babel/subscription","commits_url":"https://api.github.com/repos/mbirtwell/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbirtwell/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbirtwell/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbirtwell/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbirtwell/babel/contents/{+path}","compare_url":"https://api.github.com/repos/mbirtwell/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbirtwell/babel/merges","archive_url":"https://api.github.com/repos/mbirtwell/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbirtwell/babel/downloads","issues_url":"https://api.github.com/repos/mbirtwell/babel/issues{/number}","pulls_url":"https://api.github.com/repos/mbirtwell/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/mbirtwell/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/mbirtwell/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbirtwell/babel/labels{/name}","releases_url":"https://api.github.com/repos/mbirtwell/babel/releases{/id}","created_at":"2015-02-05T17:59:56Z","updated_at":"2015-02-05T17:59:57Z","pushed_at":"2015-10-31T14:29:45Z","git_url":"git://github.com/mbirtwell/babel.git","ssh_url":"git@github.com:mbirtwell/babel.git","clone_url":"https://github.com/mbirtwell/babel.git","svn_url":"https://github.com/mbirtwell/babel","homepage":"http://babel.pocoo.org/","size":2462,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"master"}},"base":{"label":"python-babel:master","ref":"master","sha":"5116c167241d7e01870f17adf8de0a1c86744ea4","user":{"login":"python-babel","id":14215782,"avatar_url":"https://avatars.githubusercontent.com/u/14215782?v=3","gravatar_id":"","url":"https://api.github.com/users/python-babel","html_url":"https://github.com/python-babel","followers_url":"https://api.github.com/users/python-babel/followers","following_url":"https://api.github.com/users/python-babel/following{/other_user}","gists_url":"https://api.github.com/users/python-babel/gists{/gist_id}","starred_url":"https://api.github.com/users/python-babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-babel/subscriptions","organizations_url":"https://api.github.com/users/python-babel/orgs","repos_url":"https://api.github.com/users/python-babel/repos","events_url":"https://api.github.com/users/python-babel/events{/privacy}","received_events_url":"https://api.github.com/users/python-babel/received_events","type":"Organization","site_admin":false},"repo":{"id":11150301,"name":"babel","full_name":"python-babel/babel","owner":{"login":"python-babel","id":14215782,"avatar_url":"https://avatars.githubusercontent.com/u/14215782?v=3","gravatar_id":"","url":"https://api.github.com/users/python-babel","html_url":"https://github.com/python-babel","followers_url":"https://api.github.com/users/python-babel/followers","following_url":"https://api.github.com/users/python-babel/following{/other_user}","gists_url":"https://api.github.com/users/python-babel/gists{/gist_id}","starred_url":"https://api.github.com/users/python-babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-babel/subscriptions","organizations_url":"https://api.github.com/users/python-babel/orgs","repos_url":"https://api.github.com/users/python-babel/repos","events_url":"https://api.github.com/users/python-babel/events{/privacy}","received_events_url":"https://api.github.com/users/python-babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python-babel/babel","description":"The official repository for Babel, the Python Internationalization Library","fork":false,"url":"https://api.github.com/repos/python-babel/babel","forks_url":"https://api.github.com/repos/python-babel/babel/forks","keys_url":"https://api.github.com/repos/python-babel/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python-babel/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python-babel/babel/teams","hooks_url":"https://api.github.com/repos/python-babel/babel/hooks","issue_events_url":"https://api.github.com/repos/python-babel/babel/issues/events{/number}","events_url":"https://api.github.com/repos/python-babel/babel/events","assignees_url":"https://api.github.com/repos/python-babel/babel/assignees{/user}","branches_url":"https://api.github.com/repos/python-babel/babel/branches{/branch}","tags_url":"https://api.github.com/repos/python-babel/babel/tags","blobs_url":"https://api.github.com/repos/python-babel/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python-babel/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python-babel/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/python-babel/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python-babel/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/python-babel/babel/languages","stargazers_url":"https://api.github.com/repos/python-babel/babel/stargazers","contributors_url":"https://api.github.com/repos/python-babel/babel/contributors","subscribers_url":"https://api.github.com/repos/python-babel/babel/subscribers","subscription_url":"https://api.github.com/repos/python-babel/babel/subscription","commits_url":"https://api.github.com/repos/python-babel/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/python-babel/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/python-babel/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/python-babel/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/python-babel/babel/contents/{+path}","compare_url":"https://api.github.com/repos/python-babel/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python-babel/babel/merges","archive_url":"https://api.github.com/repos/python-babel/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python-babel/babel/downloads","issues_url":"https://api.github.com/repos/python-babel/babel/issues{/number}","pulls_url":"https://api.github.com/repos/python-babel/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/python-babel/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/python-babel/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python-babel/babel/labels{/name}","releases_url":"https://api.github.com/repos/python-babel/babel/releases{/id}","created_at":"2013-07-03T12:25:10Z","updated_at":"2015-11-19T16:38:19Z","pushed_at":"2015-11-20T19:21:04Z","git_url":"git://github.com/python-babel/babel.git","ssh_url":"git@github.com:python-babel/babel.git","clone_url":"https://github.com/python-babel/babel.git","svn_url":"https://github.com/python-babel/babel","homepage":"http://babel.pocoo.org/","size":4098,"stargazers_count":418,"watchers_count":418,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":141,"mirror_url":null,"open_issues_count":86,"forks":141,"open_issues":86,"watchers":418,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python-babel/babel/pulls/249"},"html":{"href":"https://github.com/python-babel/babel/pull/249"},"issue":{"href":"https://api.github.com/repos/python-babel/babel/issues/249"},"comments":{"href":"https://api.github.com/repos/python-babel/babel/issues/249/comments"},"review_comments":{"href":"https://api.github.com/repos/python-babel/babel/pulls/249/comments"},"review_comment":{"href":"https://api.github.com/repos/python-babel/babel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python-babel/babel/pulls/249/commits"},"statuses":{"href":"https://api.github.com/repos/python-babel/babel/statuses/531f666c163cfa406dfcb6545027001018995051"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"etanol","id":85804,"avatar_url":"https://avatars.githubusercontent.com/u/85804?v=3","gravatar_id":"","url":"https://api.github.com/users/etanol","html_url":"https://github.com/etanol","followers_url":"https://api.github.com/users/etanol/followers","following_url":"https://api.github.com/users/etanol/following{/other_user}","gists_url":"https://api.github.com/users/etanol/gists{/gist_id}","starred_url":"https://api.github.com/users/etanol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etanol/subscriptions","organizations_url":"https://api.github.com/users/etanol/orgs","repos_url":"https://api.github.com/users/etanol/repos","events_url":"https://api.github.com/users/etanol/events{/privacy}","received_events_url":"https://api.github.com/users/etanol/received_events","type":"User","site_admin":false},"comments":15,"review_comments":0,"commits":1,"additions":24,"deletions":9,"changed_files":2}}