{"action":"created","issue":{"url":"https://api.github.com/repos/turquoiseowl/i18n/issues/178","labels_url":"https://api.github.com/repos/turquoiseowl/i18n/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/turquoiseowl/i18n/issues/178/comments","events_url":"https://api.github.com/repos/turquoiseowl/i18n/issues/178/events","html_url":"https://github.com/turquoiseowl/i18n/issues/178","id":55052269,"number":178,"title":"add some improvements","user":{"login":"lazareveugene","id":479262,"avatar_url":"https://avatars.githubusercontent.com/u/479262?v=3","gravatar_id":"","url":"https://api.github.com/users/lazareveugene","html_url":"https://github.com/lazareveugene","followers_url":"https://api.github.com/users/lazareveugene/followers","following_url":"https://api.github.com/users/lazareveugene/following{/other_user}","gists_url":"https://api.github.com/users/lazareveugene/gists{/gist_id}","starred_url":"https://api.github.com/users/lazareveugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazareveugene/subscriptions","organizations_url":"https://api.github.com/users/lazareveugene/orgs","repos_url":"https://api.github.com/users/lazareveugene/repos","events_url":"https://api.github.com/users/lazareveugene/events{/privacy}","received_events_url":"https://api.github.com/users/lazareveugene/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-21T17:46:12Z","updated_at":"2015-01-23T05:41:43Z","closed_at":null,"body":"i can't create proper pull request without broken formatting\r\n\r\nso i create issue to add some lines to files\r\n\r\nsrc/i18n/ResponseFilter.cs\r\n\r\nchange line 93: \r\nif (page != null && page.IsPostBack && !String.IsNullOrEmpty(entity) && !String.IsNullOrEmpty(entity.Replace(\"\\r\",\"\").Split('\\n')[0])) {\r\n\r\nthis is needed for proper handle requests\r\n\r\nsrc/i18n.Domain/Concrete/POTranslationRepository.cs\r\n\r\nadd lines from 134: \r\nvar templateFilePath = GetAbsoluteLocaleDir() + \"/messages.pot\";\r\n            var POTDate = DateTime.Now;\r\n            if (File.Exists(templateFilePath))\r\n            {\r\n                POTDate = File.GetLastWriteTime(templateFilePath);\r\n            }\r\n\r\nadd lines from 184:\r\nstream.WriteLine(\"\\\"Project-Id-Version: \\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"POT-Creation-Date: \" + POTDate.ToString(\"yyyy-MM-dd HH:mmzzz\") + \"\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"PO-Revision-Date: \" + DateTime.Now.ToString(\"yyyy-MM-dd HH:mmzzz\") + \"\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"MIME-Version: 1.0\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"Content-Type: text/plain; charset=utf-8\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"Content-Transfer-Encoding: 8bit\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"X-Generator: i18n.POTGenerator\\\\n\\\"\");\r\n                stream.WriteLine();\r\n\r\nadd lines from 295:\r\nstream.WriteLine(\"\\\"Project-Id-Version: \\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"POT-Creation-Date: \" + DateTime.Now.ToString(\"yyyy-MM-dd HH:mmzzz\") + \"\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"MIME-Version: 1.0\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"Content-Type: text/plain; charset=utf-8\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"Content-Transfer-Encoding: 8bit\\\\n\\\"\");\r\n                stream.WriteLine(\"\\\"X-Generator: i18n.POTGenerator\\\\n\\\"\");\r\n                stream.WriteLine();\r\n\r\nthis is need for support editing in i18n apps"},"comment":{"url":"https://api.github.com/repos/turquoiseowl/i18n/issues/comments/71150203","html_url":"https://github.com/turquoiseowl/i18n/issues/178#issuecomment-71150203","issue_url":"https://api.github.com/repos/turquoiseowl/i18n/issues/178","id":71150203,"user":{"login":"lazareveugene","id":479262,"avatar_url":"https://avatars.githubusercontent.com/u/479262?v=3","gravatar_id":"","url":"https://api.github.com/users/lazareveugene","html_url":"https://github.com/lazareveugene","followers_url":"https://api.github.com/users/lazareveugene/followers","following_url":"https://api.github.com/users/lazareveugene/following{/other_user}","gists_url":"https://api.github.com/users/lazareveugene/gists{/gist_id}","starred_url":"https://api.github.com/users/lazareveugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazareveugene/subscriptions","organizations_url":"https://api.github.com/users/lazareveugene/orgs","repos_url":"https://api.github.com/users/lazareveugene/repos","events_url":"https://api.github.com/users/lazareveugene/events{/privacy}","received_events_url":"https://api.github.com/users/lazareveugene/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T05:41:43Z","updated_at":"2015-01-23T05:41:43Z","body":"when you paste the code you got dublicate lines\r\nremove this lines\r\nPOTranslationRepository.cs 293\r\nPOTranslationRepository.cs 182\r\n\r\nother is ok"}}