{"action":"closed","issue":{"url":"https://api.github.com/repos/unfoldingWord-dev/ts-desktop/issues/166","labels_url":"https://api.github.com/repos/unfoldingWord-dev/ts-desktop/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/unfoldingWord-dev/ts-desktop/issues/166/comments","events_url":"https://api.github.com/repos/unfoldingWord-dev/ts-desktop/issues/166/events","html_url":"https://github.com/unfoldingWord-dev/ts-desktop/issues/166","id":120117156,"number":166,"title":"fix target translation manifest","user":{"login":"neutrinog","id":166412,"avatar_url":"https://avatars.githubusercontent.com/u/166412?v=3","gravatar_id":"","url":"https://api.github.com/users/neutrinog","html_url":"https://github.com/neutrinog","followers_url":"https://api.github.com/users/neutrinog/followers","following_url":"https://api.github.com/users/neutrinog/following{/other_user}","gists_url":"https://api.github.com/users/neutrinog/gists{/gist_id}","starred_url":"https://api.github.com/users/neutrinog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neutrinog/subscriptions","organizations_url":"https://api.github.com/users/neutrinog/orgs","repos_url":"https://api.github.com/users/neutrinog/repos","events_url":"https://api.github.com/users/neutrinog/events{/privacy}","received_events_url":"https://api.github.com/users/neutrinog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unfoldingWord-dev/ts-desktop/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/unfoldingWord-dev/ts-desktop/labels/Priority","name":"Priority","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"cdwhitfield73","id":11049647,"avatar_url":"https://avatars.githubusercontent.com/u/11049647?v=3","gravatar_id":"","url":"https://api.github.com/users/cdwhitfield73","html_url":"https://github.com/cdwhitfield73","followers_url":"https://api.github.com/users/cdwhitfield73/followers","following_url":"https://api.github.com/users/cdwhitfield73/following{/other_user}","gists_url":"https://api.github.com/users/cdwhitfield73/gists{/gist_id}","starred_url":"https://api.github.com/users/cdwhitfield73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdwhitfield73/subscriptions","organizations_url":"https://api.github.com/users/cdwhitfield73/orgs","repos_url":"https://api.github.com/users/cdwhitfield73/repos","events_url":"https://api.github.com/users/cdwhitfield73/events{/privacy}","received_events_url":"https://api.github.com/users/cdwhitfield73/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/unfoldingWord-dev/ts-desktop/milestones/13","html_url":"https://github.com/unfoldingWord-dev/ts-desktop/milestones/1.0.0%20Beta.1","labels_url":"https://api.github.com/repos/unfoldingWord-dev/ts-desktop/milestones/13/labels","id":1369209,"number":13,"title":"1.0.0 Beta.1","description":"First release of tS Desktop.","creator":{"login":"jag3773","id":107731,"avatar_url":"https://avatars.githubusercontent.com/u/107731?v=3","gravatar_id":"","url":"https://api.github.com/users/jag3773","html_url":"https://github.com/jag3773","followers_url":"https://api.github.com/users/jag3773/followers","following_url":"https://api.github.com/users/jag3773/following{/other_user}","gists_url":"https://api.github.com/users/jag3773/gists{/gist_id}","starred_url":"https://api.github.com/users/jag3773/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jag3773/subscriptions","organizations_url":"https://api.github.com/users/jag3773/orgs","repos_url":"https://api.github.com/users/jag3773/repos","events_url":"https://api.github.com/users/jag3773/events{/privacy}","received_events_url":"https://api.github.com/users/jag3773/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":12,"state":"open","created_at":"2015-10-21T21:44:05Z","updated_at":"2015-12-03T20:40:07Z","due_on":"2015-12-03T08:00:00Z","closed_at":null},"comments":0,"created_at":"2015-12-03T08:28:29Z","updated_at":"2015-12-03T20:40:07Z","closed_at":"2015-12-03T20:40:07Z","body":"In the manifest of a target translation we currently build the `target_language` element like this:\r\n\r\n```\r\n\"target_language\": {\r\n  \"id\": 1,\r\n  \"lc\": \"aa\",\r\n  \"ln\": \"Afaraf\",\r\n  \"direction\": \"ltr\",\r\n  \"region\": \"Africa\"\r\n},\r\n```\r\nHowever it should look like this\r\n\r\n```\r\n\"target_language\": {\r\n  \"id\": \"aa\",\r\n  \"name\": \"Afaraf\",\r\n  \"direction\": \"ltr\"\r\n},\r\n```\r\n\r\nLater on we may update the manifest structure to more appropriately name items. For now we must keep with this layout for compatibility."}}