{"action":"created","issue":{"url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/145","repository_url":"https://api.github.com/repos/PrivateBin/PrivateBin","labels_url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/145/comments","events_url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/145/events","html_url":"https://github.com/PrivateBin/PrivateBin/issues/145","id":195011735,"number":145,"title":"Incorrect parsing i18n ru translation","user":{"login":"r4sas","id":7023612,"avatar_url":"https://avatars.githubusercontent.com/u/7023612?v=3","gravatar_id":"","url":"https://api.github.com/users/r4sas","html_url":"https://github.com/r4sas","followers_url":"https://api.github.com/users/r4sas/followers","following_url":"https://api.github.com/users/r4sas/following{/other_user}","gists_url":"https://api.github.com/users/r4sas/gists{/gist_id}","starred_url":"https://api.github.com/users/r4sas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r4sas/subscriptions","organizations_url":"https://api.github.com/users/r4sas/orgs","repos_url":"https://api.github.com/users/r4sas/repos","events_url":"https://api.github.com/users/r4sas/events{/privacy}","received_events_url":"https://api.github.com/users/r4sas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-12T16:01:04Z","updated_at":"2016-12-13T20:14:40Z","closed_at":null,"body":"Hi. I trying write russian translation.\r\nWhen I added plural formule to lib\\i18n.php and started testing translation, I saw that Expires field used incorrect variant of translation.\r\n\r\nI added\r\n```\r\ncase 'ru':\r\n    return $n % 10==1 && $n % 100 != 11 ? 0 : $n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2;\r\n```\r\nin lib\\i18n.php and my translation, where I see problem (one of all)\r\n`\"%d minutes\": [\"%d минуту\", \"%d минуты\", \"%d минут\"],`\r\nExample options of [expire_options] is \r\n```\r\n1min = 60\r\n3min = 180\r\n10min = 600\r\n21min = 1260\r\n```\r\nWhat i must see with translation\r\n----\r\n> 1 минуту\r\n> 3 минуты\r\n> 10 минут\r\n> 21 минуту\r\n\r\nWhat I really watching:\r\n----\r\n\r\n> 1 минут\r\n> 3 минуты\r\n> 10 минут\r\n> 21 минут\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/comments/266848755","html_url":"https://github.com/PrivateBin/PrivateBin/issues/145#issuecomment-266848755","issue_url":"https://api.github.com/repos/PrivateBin/PrivateBin/issues/145","id":266848755,"user":{"login":"rugk","id":11966684,"avatar_url":"https://avatars.githubusercontent.com/u/11966684?v=3","gravatar_id":"","url":"https://api.github.com/users/rugk","html_url":"https://github.com/rugk","followers_url":"https://api.github.com/users/rugk/followers","following_url":"https://api.github.com/users/rugk/following{/other_user}","gists_url":"https://api.github.com/users/rugk/gists{/gist_id}","starred_url":"https://api.github.com/users/rugk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rugk/subscriptions","organizations_url":"https://api.github.com/users/rugk/orgs","repos_url":"https://api.github.com/users/rugk/repos","events_url":"https://api.github.com/users/rugk/events{/privacy}","received_events_url":"https://api.github.com/users/rugk/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T20:14:40Z","updated_at":"2016-12-13T20:14:40Z","body":"A PR is always very much appreciated."}}
{"actor":{"display_login":"rugk"}}