{"action":"created","issue":{"url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1840","repository_url":"https://api.github.com/repos/WeblateOrg/weblate","labels_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1840/labels{/name}","comments_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1840/comments","events_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1840/events","html_url":"https://github.com/WeblateOrg/weblate/pull/1840","id":295567783,"number":1840,"title":"automatic translation via machine translation","user":{"login":"mlaggner","id":1523778,"avatar_url":"https://avatars1.githubusercontent.com/u/1523778?v=4","gravatar_id":"","url":"https://api.github.com/users/mlaggner","html_url":"https://github.com/mlaggner","followers_url":"https://api.github.com/users/mlaggner/followers","following_url":"https://api.github.com/users/mlaggner/following{/other_user}","gists_url":"https://api.github.com/users/mlaggner/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaggner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaggner/subscriptions","organizations_url":"https://api.github.com/users/mlaggner/orgs","repos_url":"https://api.github.com/users/mlaggner/repos","events_url":"https://api.github.com/users/mlaggner/events{/privacy}","received_events_url":"https://api.github.com/users/mlaggner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"assignees":[{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/WeblateOrg/weblate/milestones/34","html_url":"https://github.com/WeblateOrg/weblate/milestone/34","labels_url":"https://api.github.com/repos/WeblateOrg/weblate/milestones/34/labels","id":3100819,"number":34,"title":"2.20","description":"Unsorted enhancements. This release aims to include several smaller features requested over time.","creator":{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":28,"state":"open","created_at":"2018-02-08T18:40:42Z","updated_at":"2018-03-12T15:28:02Z","due_on":"2018-03-15T07:00:00Z","closed_at":null},"comments":6,"created_at":"2018-02-08T16:02:32Z","updated_at":"2018-03-12T15:28:26Z","closed_at":"2018-03-12T14:44:07Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/WeblateOrg/weblate/pulls/1840","html_url":"https://github.com/WeblateOrg/weblate/pull/1840","diff_url":"https://github.com/WeblateOrg/weblate/pull/1840.diff","patch_url":"https://github.com/WeblateOrg/weblate/pull/1840.patch"},"body":"Added this feature into the automatic translation view. Calling the function from the view works as expected.\r\n\r\nI touched/modified all files I am aware of, but there has been a few places where I did not know what to do:\r\n\r\n- urls.py (ehance the regexp `r'^projects/' + TRANSLATION + 'auto/$',` by the -mt one): I did not find out if that extension is needed\r\n- test_autotranslate.py: I did add some basic unit tests, but to do some more detailed testing I could not find out how the test model looks like\r\n- command line execution: I did not understand how this exactly works and how I should implement this feature to the command line functions\r\n\r\nbeside that I changed everything I was aware of"},"comment":{"url":"https://api.github.com/repos/WeblateOrg/weblate/issues/comments/372350430","html_url":"https://github.com/WeblateOrg/weblate/pull/1840#issuecomment-372350430","issue_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/1840","id":372350430,"user":{"login":"mlaggner","id":1523778,"avatar_url":"https://avatars1.githubusercontent.com/u/1523778?v=4","gravatar_id":"","url":"https://api.github.com/users/mlaggner","html_url":"https://github.com/mlaggner","followers_url":"https://api.github.com/users/mlaggner/followers","following_url":"https://api.github.com/users/mlaggner/following{/other_user}","gists_url":"https://api.github.com/users/mlaggner/gists{/gist_id}","starred_url":"https://api.github.com/users/mlaggner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlaggner/subscriptions","organizations_url":"https://api.github.com/users/mlaggner/orgs","repos_url":"https://api.github.com/users/mlaggner/repos","events_url":"https://api.github.com/users/mlaggner/events{/privacy}","received_events_url":"https://api.github.com/users/mlaggner/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T15:28:26Z","updated_at":"2018-03-12T15:28:26Z","author_association":"CONTRIBUTOR","body":"thanks! \r\nwill test it as soon as possible"}}
{"actor":{"display_login":"mlaggner"}}