{"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":10,"created_at":"2015-01-21T17:46:12Z","updated_at":"2015-01-23T13:35:48Z","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/71193571","html_url":"https://github.com/turquoiseowl/i18n/issues/178#issuecomment-71193571","issue_url":"https://api.github.com/repos/turquoiseowl/i18n/issues/178","id":71193571,"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-23T13:35:48Z","updated_at":"2015-01-23T13:35:48Z","body":"cool, now that's all\r\n\r\nЗдравствуйте,\r\n\r\n\r\n\r\nЛазарев Евгений\r\nmailto: lazareveugene@gmail.com\r\nGoogleTalk: lazareveugene@gmail.com\r\n<lazareveugene@gmail.com>SKYPE: lazareveugene\r\nSIP: 84773@sip.zadarma.com\r\nCellular: +79058077697\r\n\r\n2015-01-23 18:34 GMT+05:00 Martin Connell <notifications@github.com>:\r\n\r\n> Done.\r\n>\r\n>\r\n>\r\n> From: Lazarev Eugene [mailto:notifications@github.com]\r\n> Sent: 23 January 2015 13:29\r\n> To: turquoiseowl/i18n\r\n> Cc: Martin Connell\r\n> Subject: Re: [i18n] add some improvements (#178)\r\n>\r\n>\r\n>\r\n> hello,\r\n>\r\n> also please remove this lines of code POTranslationRepository.cs\r\n> 293 and 182\r\n>\r\n> as you can see this lines already outputed to the stream\r\n>\r\n> Лазарев Евгений\r\n> mailto: lazareveugene@gmail.com\r\n> GoogleTalk: lazareveugene@gmail.com\r\n> <lazareveugene@gmail.com>SKYPE: lazareveugene\r\n> SIP: 84773@sip.zadarma.com\r\n> Cellular: +79058077697\r\n>\r\n> 2015-01-23 18:25 GMT+05:00 Martin Connell <notifications@github.com>:\r\n>\r\n> > Okay, done that. Please confirm it outputs as expected.\r\n> >\r\n> >\r\n> >\r\n> > From: Lazarev Eugene [mailto:notifications@github.com]\r\n> > Sent: 23 January 2015 12:26\r\n> > To: turquoiseowl/i18n\r\n> > Cc: Martin Connell\r\n> > Subject: Re: [i18n] add some improvements (#178)\r\n> >\r\n> >\r\n> >\r\n> > Hello,\r\n> >\r\n> > yeah, it should be \\\\n <file:///\\\\n> <file:///\\\\n>\r\n> >\r\n> > we need to pass escaped newline\r\n> >\r\n> > Лазарев Евгений\r\n> > mailto: lazareveugene@gmail.com\r\n> > GoogleTalk: lazareveugene@gmail.com\r\n> > <lazareveugene@gmail.com>SKYPE: lazareveugene\r\n> > SIP: 84773@sip.zadarma.com\r\n> > Cellular: +79058077697\r\n> >\r\n> > 2015-01-23 17:24 GMT+05:00 Martin Connell <notifications@github.com>:\r\n> >\r\n> > > I'm guessing it should be \\\\n <file:///\\\\n> <file:///\\\\n> otherwise\r\n> you're outputting\r\n> > a newline\r\n> > > followed by the closing double quote on that newline.\r\n> > >\r\n> > > —\r\n> > > Reply to this email directly or view it on GitHub\r\n> > > <https://github.com/turquoiseowl/i18n/issues/178#issuecomment-71186469>.\r\n>\r\n> >\r\n> > >\r\n> >\r\n> > —\r\n> > Reply to this email directly or view it on GitHub <\r\n> > https://github.com/turquoiseowl/i18n/issues/178#issuecomment-71186602>\r\n> . <\r\n> >\r\n> https://github.com/notifications/beacon/ADFw_SrKqcqjt4bWv3mHO6ZqKTG4imfqks5nkjVTgaJpZM4DVW_5.gif>\r\n>\r\n> >\r\n> >\r\n> > —\r\n> > Reply to this email directly or view it on GitHub\r\n> > <https://github.com/turquoiseowl/i18n/issues/178#issuecomment-71192441>.\r\n>\r\n> >\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub <\r\n> https://github.com/turquoiseowl/i18n/issues/178#issuecomment-71192854> . <\r\n> https://github.com/notifications/beacon/ADFw_Wn5u6DdmVYm87rbne7l63lfT1XKks5nkkQngaJpZM4DVW_5.gif>\r\n>\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/turquoiseowl/i18n/issues/178#issuecomment-71193471>.\r\n>"}}