{"action":"created","issue":{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/311","repository_url":"https://api.github.com/repos/GlotPress/GlotPress-WP","labels_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/311/comments","events_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/311/events","html_url":"https://github.com/GlotPress/GlotPress-WP/pull/311","id":138465631,"number":311,"title":"236: Do not allow translations with empty plurals","user":{"login":"SergeyBiryukov","id":144512,"avatar_url":"https://avatars.githubusercontent.com/u/144512?v=3","gravatar_id":"","url":"https://api.github.com/users/SergeyBiryukov","html_url":"https://github.com/SergeyBiryukov","followers_url":"https://api.github.com/users/SergeyBiryukov/followers","following_url":"https://api.github.com/users/SergeyBiryukov/following{/other_user}","gists_url":"https://api.github.com/users/SergeyBiryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyBiryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyBiryukov/subscriptions","organizations_url":"https://api.github.com/users/SergeyBiryukov/orgs","repos_url":"https://api.github.com/users/SergeyBiryukov/repos","events_url":"https://api.github.com/users/SergeyBiryukov/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyBiryukov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/labels/ready%20for%20review","name":"ready for review","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T12:41:01Z","updated_at":"2016-03-04T13:50:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/pulls/311","html_url":"https://github.com/GlotPress/GlotPress-WP/pull/311","diff_url":"https://github.com/GlotPress/GlotPress-WP/pull/311.diff","patch_url":"https://github.com/GlotPress/GlotPress-WP/pull/311.patch"},"body":"* Show strings with missing plurals in 'Untranslated' view.\r\n* Do not allow translations with empty plurals.\r\n\r\nSee #236."},"comment":{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/comments/192291366","html_url":"https://github.com/GlotPress/GlotPress-WP/pull/311#issuecomment-192291366","issue_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/311","id":192291366,"user":{"login":"SergeyBiryukov","id":144512,"avatar_url":"https://avatars.githubusercontent.com/u/144512?v=3","gravatar_id":"","url":"https://api.github.com/users/SergeyBiryukov","html_url":"https://github.com/SergeyBiryukov","followers_url":"https://api.github.com/users/SergeyBiryukov/followers","following_url":"https://api.github.com/users/SergeyBiryukov/following{/other_user}","gists_url":"https://api.github.com/users/SergeyBiryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyBiryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyBiryukov/subscriptions","organizations_url":"https://api.github.com/users/SergeyBiryukov/orgs","repos_url":"https://api.github.com/users/SergeyBiryukov/repos","events_url":"https://api.github.com/users/SergeyBiryukov/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyBiryukov/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T13:50:57Z","updated_at":"2016-03-04T13:50:57Z","body":"The idea was to fix both #236 and [#glotpress149](https://glotpress.trac.wordpress.org/ticket/149).\r\n\r\nAt first I've added [@yoavf's patch](https://glotpress.trac.wordpress.org/attachment/ticket/149/149.2.diff), but it looks like using `GP_Translation::restrict_fields()` is a more correct way. Singular strings are not affected, as plurals for them are null, not empty strings."}}