{"action":"created","comment":{"url":"https://api.github.com/repos/Axonify/languageReport/pulls/comments/167705532","pull_request_review_id":95962803,"id":167705532,"diff_hunk":"@@ -0,0 +1,164 @@\n+module.exports = (grunt) ->\r\n+  grunt.registerMultiTask 'autoTranslate', 'Will call google translate for all translatable missing strings \\n and then add their translations to the appropriate file', ->\r\n+    done = @async()\r\n+\r\n+    CSON = require 'cson'\r\n+    _ = require 'underscore'\r\n+    Translate = require('@google-cloud/translate')\r\n+\r\n+    #Google Cloud Platform project ID\r\n+    projectId = @data.projectId\r\n+    #Google Cloud Platform Translation API key\r\n+    apiKey = @data.apiKey || \"\"\r\n+    #Instantiates a client\r","path":"tasks/autoTranslationTask.coffee","position":13,"original_position":13,"commit_id":"cc653ebae583557df7525e16dc7c725184cea256","original_commit_id":"cc653ebae583557df7525e16dc7c725184cea256","user":{"login":"hilts-vaughan","id":1079207,"avatar_url":"https://avatars0.githubusercontent.com/u/1079207?v=4","gravatar_id":"","url":"https://api.github.com/users/hilts-vaughan","html_url":"https://github.com/hilts-vaughan","followers_url":"https://api.github.com/users/hilts-vaughan/followers","following_url":"https://api.github.com/users/hilts-vaughan/following{/other_user}","gists_url":"https://api.github.com/users/hilts-vaughan/gists{/gist_id}","starred_url":"https://api.github.com/users/hilts-vaughan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hilts-vaughan/subscriptions","organizations_url":"https://api.github.com/users/hilts-vaughan/orgs","repos_url":"https://api.github.com/users/hilts-vaughan/repos","events_url":"https://api.github.com/users/hilts-vaughan/events{/privacy}","received_events_url":"https://api.github.com/users/hilts-vaughan/received_events","type":"User","site_admin":false},"body":"Comments that literally describe the next line are generally not helpful. You can save them for when the code is not descriptive enough. ","created_at":"2018-02-12T22:21:17Z","updated_at":"2018-02-12T22:37:15Z","html_url":"https://github.com/Axonify/languageReport/pull/7#discussion_r167705532","pull_request_url":"https://api.github.com/repos/Axonify/languageReport/pulls/7","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Axonify/languageReport/pulls/comments/167705532"},"html":{"href":"https://github.com/Axonify/languageReport/pull/7#discussion_r167705532"},"pull_request":{"href":"https://api.github.com/repos/Axonify/languageReport/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Axonify/languageReport/pulls/7","id":168678957,"html_url":"https://github.com/Axonify/languageReport/pull/7","diff_url":"https://github.com/Axonify/languageReport/pull/7.diff","patch_url":"https://github.com/Axonify/languageReport/pull/7.patch","issue_url":"https://api.github.com/repos/Axonify/languageReport/issues/7","number":7,"state":"open","locked":false,"title":"Added AutoTranslation using GoogleTranslateAPI and updated tasks to reflect string format changes","user":{"login":"MichaelLegacy","id":6210382,"avatar_url":"https://avatars2.githubusercontent.com/u/6210382?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelLegacy","html_url":"https://github.com/MichaelLegacy","followers_url":"https://api.github.com/users/MichaelLegacy/followers","following_url":"https://api.github.com/users/MichaelLegacy/following{/other_user}","gists_url":"https://api.github.com/users/MichaelLegacy/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelLegacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelLegacy/subscriptions","organizations_url":"https://api.github.com/users/MichaelLegacy/orgs","repos_url":"https://api.github.com/users/MichaelLegacy/repos","events_url":"https://api.github.com/users/MichaelLegacy/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelLegacy/received_events","type":"User","site_admin":false},"body":"Note: Package.json still needs updated before publishing the new version 1.0.0\r\nand readme.md needs updated too","created_at":"2018-02-12T20:23:58Z","updated_at":"2018-02-12T22:37:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66302793fb1326c2b16d87168afab6cab81c6e8e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"axonify-mdeblois","id":5313600,"avatar_url":"https://avatars0.githubusercontent.com/u/5313600?v=4","gravatar_id":"","url":"https://api.github.com/users/axonify-mdeblois","html_url":"https://github.com/axonify-mdeblois","followers_url":"https://api.github.com/users/axonify-mdeblois/followers","following_url":"https://api.github.com/users/axonify-mdeblois/following{/other_user}","gists_url":"https://api.github.com/users/axonify-mdeblois/gists{/gist_id}","starred_url":"https://api.github.com/users/axonify-mdeblois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axonify-mdeblois/subscriptions","organizations_url":"https://api.github.com/users/axonify-mdeblois/orgs","repos_url":"https://api.github.com/users/axonify-mdeblois/repos","events_url":"https://api.github.com/users/axonify-mdeblois/events{/privacy}","received_events_url":"https://api.github.com/users/axonify-mdeblois/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Axonify/languageReport/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Axonify/languageReport/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Axonify/languageReport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Axonify/languageReport/issues/7/comments","statuses_url":"https://api.github.com/repos/Axonify/languageReport/statuses/cc653ebae583557df7525e16dc7c725184cea256","head":{"label":"Axonify:autoTranslate","ref":"autoTranslate","sha":"cc653ebae583557df7525e16dc7c725184cea256","user":{"login":"Axonify","id":1489777,"avatar_url":"https://avatars0.githubusercontent.com/u/1489777?v=4","gravatar_id":"","url":"https://api.github.com/users/Axonify","html_url":"https://github.com/Axonify","followers_url":"https://api.github.com/users/Axonify/followers","following_url":"https://api.github.com/users/Axonify/following{/other_user}","gists_url":"https://api.github.com/users/Axonify/gists{/gist_id}","starred_url":"https://api.github.com/users/Axonify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axonify/subscriptions","organizations_url":"https://api.github.com/users/Axonify/orgs","repos_url":"https://api.github.com/users/Axonify/repos","events_url":"https://api.github.com/users/Axonify/events{/privacy}","received_events_url":"https://api.github.com/users/Axonify/received_events","type":"Organization","site_admin":false},"repo":{"id":39028597,"name":"languageReport","full_name":"Axonify/languageReport","owner":{"login":"Axonify","id":1489777,"avatar_url":"https://avatars0.githubusercontent.com/u/1489777?v=4","gravatar_id":"","url":"https://api.github.com/users/Axonify","html_url":"https://github.com/Axonify","followers_url":"https://api.github.com/users/Axonify/followers","following_url":"https://api.github.com/users/Axonify/following{/other_user}","gists_url":"https://api.github.com/users/Axonify/gists{/gist_id}","starred_url":"https://api.github.com/users/Axonify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axonify/subscriptions","organizations_url":"https://api.github.com/users/Axonify/orgs","repos_url":"https://api.github.com/users/Axonify/repos","events_url":"https://api.github.com/users/Axonify/events{/privacy}","received_events_url":"https://api.github.com/users/Axonify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Axonify/languageReport","description":"Parse slightly broken CSON and CSV into existing CSON objects","fork":false,"url":"https://api.github.com/repos/Axonify/languageReport","forks_url":"https://api.github.com/repos/Axonify/languageReport/forks","keys_url":"https://api.github.com/repos/Axonify/languageReport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Axonify/languageReport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Axonify/languageReport/teams","hooks_url":"https://api.github.com/repos/Axonify/languageReport/hooks","issue_events_url":"https://api.github.com/repos/Axonify/languageReport/issues/events{/number}","events_url":"https://api.github.com/repos/Axonify/languageReport/events","assignees_url":"https://api.github.com/repos/Axonify/languageReport/assignees{/user}","branches_url":"https://api.github.com/repos/Axonify/languageReport/branches{/branch}","tags_url":"https://api.github.com/repos/Axonify/languageReport/tags","blobs_url":"https://api.github.com/repos/Axonify/languageReport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Axonify/languageReport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Axonify/languageReport/git/refs{/sha}","trees_url":"https://api.github.com/repos/Axonify/languageReport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Axonify/languageReport/statuses/{sha}","languages_url":"https://api.github.com/repos/Axonify/languageReport/languages","stargazers_url":"https://api.github.com/repos/Axonify/languageReport/stargazers","contributors_url":"https://api.github.com/repos/Axonify/languageReport/contributors","subscribers_url":"https://api.github.com/repos/Axonify/languageReport/subscribers","subscription_url":"https://api.github.com/repos/Axonify/languageReport/subscription","commits_url":"https://api.github.com/repos/Axonify/languageReport/commits{/sha}","git_commits_url":"https://api.github.com/repos/Axonify/languageReport/git/commits{/sha}","comments_url":"https://api.github.com/repos/Axonify/languageReport/comments{/number}","issue_comment_url":"https://api.github.com/repos/Axonify/languageReport/issues/comments{/number}","contents_url":"https://api.github.com/repos/Axonify/languageReport/contents/{+path}","compare_url":"https://api.github.com/repos/Axonify/languageReport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Axonify/languageReport/merges","archive_url":"https://api.github.com/repos/Axonify/languageReport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Axonify/languageReport/downloads","issues_url":"https://api.github.com/repos/Axonify/languageReport/issues{/number}","pulls_url":"https://api.github.com/repos/Axonify/languageReport/pulls{/number}","milestones_url":"https://api.github.com/repos/Axonify/languageReport/milestones{/number}","notifications_url":"https://api.github.com/repos/Axonify/languageReport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Axonify/languageReport/labels{/name}","releases_url":"https://api.github.com/repos/Axonify/languageReport/releases{/id}","deployments_url":"https://api.github.com/repos/Axonify/languageReport/deployments","created_at":"2015-07-13T18:02:39Z","updated_at":"2018-02-12T13:05:39Z","pushed_at":"2018-02-12T20:23:59Z","git_url":"git://github.com/Axonify/languageReport.git","ssh_url":"git@github.com:Axonify/languageReport.git","clone_url":"https://github.com/Axonify/languageReport.git","svn_url":"https://github.com/Axonify/languageReport","homepage":"","size":91,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Axonify:master","ref":"master","sha":"62b55078eee0068b6a77b3b5c5b30ba05a991cad","user":{"login":"Axonify","id":1489777,"avatar_url":"https://avatars0.githubusercontent.com/u/1489777?v=4","gravatar_id":"","url":"https://api.github.com/users/Axonify","html_url":"https://github.com/Axonify","followers_url":"https://api.github.com/users/Axonify/followers","following_url":"https://api.github.com/users/Axonify/following{/other_user}","gists_url":"https://api.github.com/users/Axonify/gists{/gist_id}","starred_url":"https://api.github.com/users/Axonify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axonify/subscriptions","organizations_url":"https://api.github.com/users/Axonify/orgs","repos_url":"https://api.github.com/users/Axonify/repos","events_url":"https://api.github.com/users/Axonify/events{/privacy}","received_events_url":"https://api.github.com/users/Axonify/received_events","type":"Organization","site_admin":false},"repo":{"id":39028597,"name":"languageReport","full_name":"Axonify/languageReport","owner":{"login":"Axonify","id":1489777,"avatar_url":"https://avatars0.githubusercontent.com/u/1489777?v=4","gravatar_id":"","url":"https://api.github.com/users/Axonify","html_url":"https://github.com/Axonify","followers_url":"https://api.github.com/users/Axonify/followers","following_url":"https://api.github.com/users/Axonify/following{/other_user}","gists_url":"https://api.github.com/users/Axonify/gists{/gist_id}","starred_url":"https://api.github.com/users/Axonify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axonify/subscriptions","organizations_url":"https://api.github.com/users/Axonify/orgs","repos_url":"https://api.github.com/users/Axonify/repos","events_url":"https://api.github.com/users/Axonify/events{/privacy}","received_events_url":"https://api.github.com/users/Axonify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Axonify/languageReport","description":"Parse slightly broken CSON and CSV into existing CSON objects","fork":false,"url":"https://api.github.com/repos/Axonify/languageReport","forks_url":"https://api.github.com/repos/Axonify/languageReport/forks","keys_url":"https://api.github.com/repos/Axonify/languageReport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Axonify/languageReport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Axonify/languageReport/teams","hooks_url":"https://api.github.com/repos/Axonify/languageReport/hooks","issue_events_url":"https://api.github.com/repos/Axonify/languageReport/issues/events{/number}","events_url":"https://api.github.com/repos/Axonify/languageReport/events","assignees_url":"https://api.github.com/repos/Axonify/languageReport/assignees{/user}","branches_url":"https://api.github.com/repos/Axonify/languageReport/branches{/branch}","tags_url":"https://api.github.com/repos/Axonify/languageReport/tags","blobs_url":"https://api.github.com/repos/Axonify/languageReport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Axonify/languageReport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Axonify/languageReport/git/refs{/sha}","trees_url":"https://api.github.com/repos/Axonify/languageReport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Axonify/languageReport/statuses/{sha}","languages_url":"https://api.github.com/repos/Axonify/languageReport/languages","stargazers_url":"https://api.github.com/repos/Axonify/languageReport/stargazers","contributors_url":"https://api.github.com/repos/Axonify/languageReport/contributors","subscribers_url":"https://api.github.com/repos/Axonify/languageReport/subscribers","subscription_url":"https://api.github.com/repos/Axonify/languageReport/subscription","commits_url":"https://api.github.com/repos/Axonify/languageReport/commits{/sha}","git_commits_url":"https://api.github.com/repos/Axonify/languageReport/git/commits{/sha}","comments_url":"https://api.github.com/repos/Axonify/languageReport/comments{/number}","issue_comment_url":"https://api.github.com/repos/Axonify/languageReport/issues/comments{/number}","contents_url":"https://api.github.com/repos/Axonify/languageReport/contents/{+path}","compare_url":"https://api.github.com/repos/Axonify/languageReport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Axonify/languageReport/merges","archive_url":"https://api.github.com/repos/Axonify/languageReport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Axonify/languageReport/downloads","issues_url":"https://api.github.com/repos/Axonify/languageReport/issues{/number}","pulls_url":"https://api.github.com/repos/Axonify/languageReport/pulls{/number}","milestones_url":"https://api.github.com/repos/Axonify/languageReport/milestones{/number}","notifications_url":"https://api.github.com/repos/Axonify/languageReport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Axonify/languageReport/labels{/name}","releases_url":"https://api.github.com/repos/Axonify/languageReport/releases{/id}","deployments_url":"https://api.github.com/repos/Axonify/languageReport/deployments","created_at":"2015-07-13T18:02:39Z","updated_at":"2018-02-12T13:05:39Z","pushed_at":"2018-02-12T20:23:59Z","git_url":"git://github.com/Axonify/languageReport.git","ssh_url":"git@github.com:Axonify/languageReport.git","clone_url":"https://github.com/Axonify/languageReport.git","svn_url":"https://github.com/Axonify/languageReport","homepage":"","size":91,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Axonify/languageReport/pulls/7"},"html":{"href":"https://github.com/Axonify/languageReport/pull/7"},"issue":{"href":"https://api.github.com/repos/Axonify/languageReport/issues/7"},"comments":{"href":"https://api.github.com/repos/Axonify/languageReport/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Axonify/languageReport/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Axonify/languageReport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Axonify/languageReport/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Axonify/languageReport/statuses/cc653ebae583557df7525e16dc7c725184cea256"}},"author_association":"NONE"}}
{"actor":{"display_login":"hilts-vaughan"}}