{"action":"created","issue":{"url":"https://api.github.com/repos/jhthorsen/mad-mapper/issues/5","repository_url":"https://api.github.com/repos/jhthorsen/mad-mapper","labels_url":"https://api.github.com/repos/jhthorsen/mad-mapper/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jhthorsen/mad-mapper/issues/5/comments","events_url":"https://api.github.com/repos/jhthorsen/mad-mapper/issues/5/events","html_url":"https://github.com/jhthorsen/mad-mapper/pull/5","id":133383984,"number":5,"title":"change the way in which we determine plural forms","user":{"login":"s1037989","id":517498,"avatar_url":"https://avatars.githubusercontent.com/u/517498?v=3","gravatar_id":"","url":"https://api.github.com/users/s1037989","html_url":"https://github.com/s1037989","followers_url":"https://api.github.com/users/s1037989/followers","following_url":"https://api.github.com/users/s1037989/following{/other_user}","gists_url":"https://api.github.com/users/s1037989/gists{/gist_id}","starred_url":"https://api.github.com/users/s1037989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1037989/subscriptions","organizations_url":"https://api.github.com/users/s1037989/orgs","repos_url":"https://api.github.com/users/s1037989/repos","events_url":"https://api.github.com/users/s1037989/events{/privacy}","received_events_url":"https://api.github.com/users/s1037989/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"s1037989","id":517498,"avatar_url":"https://avatars.githubusercontent.com/u/517498?v=3","gravatar_id":"","url":"https://api.github.com/users/s1037989","html_url":"https://github.com/s1037989","followers_url":"https://api.github.com/users/s1037989/followers","following_url":"https://api.github.com/users/s1037989/following{/other_user}","gists_url":"https://api.github.com/users/s1037989/gists{/gist_id}","starred_url":"https://api.github.com/users/s1037989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1037989/subscriptions","organizations_url":"https://api.github.com/users/s1037989/orgs","repos_url":"https://api.github.com/users/s1037989/repos","events_url":"https://api.github.com/users/s1037989/events{/privacy}","received_events_url":"https://api.github.com/users/s1037989/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-02-13T01:33:01Z","updated_at":"2016-02-13T15:59:37Z","closed_at":"2016-02-13T15:59:37Z","pull_request":{"url":"https://api.github.com/repos/jhthorsen/mad-mapper/pulls/5","html_url":"https://github.com/jhthorsen/mad-mapper/pull/5","diff_url":"https://github.com/jhthorsen/mad-mapper/pull/5.diff","patch_url":"https://github.com/jhthorsen/mad-mapper/pull/5.patch"},"body":"Lingua::EN::Inflect's PL() seems to toggle the plural form.  I have used Lingua::EN::Inflect::Number instead, which can force to plural.  However, it's not without its problems.\r\n\r\nSpecifically see the table in Mapper.pm#84.\r\n\r\nIt seems that while this fails, it'll fail less frequently than just simply appending an s wherever there is no ending s.  However, that method is at least predictable.  A user can just know to add an s without first testing.  Using Lingua::EN::Inflect::Number, one wouldn't be able to guess at its failures and would need to adjust usages of menus to menuses after a run time error if the module is already the plural Menus.\r\n\r\nSo, we have a lose-lose situation here.  How complex!\r\n\r\n  1. Don't use proper pluralization, or\r\n  1. Use proper pluralization with less frequent, but unpredictable, failures"},"comment":{"url":"https://api.github.com/repos/jhthorsen/mad-mapper/issues/comments/183694116","html_url":"https://github.com/jhthorsen/mad-mapper/pull/5#issuecomment-183694116","issue_url":"https://api.github.com/repos/jhthorsen/mad-mapper/issues/5","id":183694116,"user":{"login":"jhthorsen","id":45729,"avatar_url":"https://avatars.githubusercontent.com/u/45729?v=3","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T15:59:37Z","updated_at":"2016-02-13T15:59:37Z","body":"Closing this since table() provides a good fallback for special cases."}}