{"action":"created","comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/comments/82725568","pull_request_review_id":3612466,"id":82725568,"diff_hunk":"@@ -501,6 +501,7 @@ module.exports = JhipsterClientGenerator.extend({\n             this.template(ANGULAR_DIR + 'shared/directive/maxbytes.directive.ts', ANGULAR_DIR + 'shared/directive/maxbytes.directive.ts', this, {});\n             this.template(ANGULAR_DIR + 'shared/directive/minbytes.directive.ts', ANGULAR_DIR + 'shared/directive/minbytes.directive.ts', this, {});\n             this.template(ANGULAR_DIR + 'shared/directive/number-of-bytes.ts', ANGULAR_DIR + 'shared/directive/number-of-bytes.ts', this, {});\n+            this.template(ANGULAR_DIR + 'shared/directive/jhi-translate.ts', ANGULAR_DIR + 'shared/directive/jhi-translate.ts', this, {});","path":"generators/client-2/index.js","position":13,"original_position":13,"commit_id":"0d8c091b35898d8a6be20940ed3f467b2be7127e","original_commit_id":"0d8c091b35898d8a6be20940ed3f467b2be7127e","user":{"login":"sendilkumarn","id":12471122,"avatar_url":"https://avatars.githubusercontent.com/u/12471122?v=3","gravatar_id":"","url":"https://api.github.com/users/sendilkumarn","html_url":"https://github.com/sendilkumarn","followers_url":"https://api.github.com/users/sendilkumarn/followers","following_url":"https://api.github.com/users/sendilkumarn/following{/other_user}","gists_url":"https://api.github.com/users/sendilkumarn/gists{/gist_id}","starred_url":"https://api.github.com/users/sendilkumarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendilkumarn/subscriptions","organizations_url":"https://api.github.com/users/sendilkumarn/orgs","repos_url":"https://api.github.com/users/sendilkumarn/repos","events_url":"https://api.github.com/users/sendilkumarn/events{/privacy}","received_events_url":"https://api.github.com/users/sendilkumarn/received_events","type":"User","site_admin":false},"body":"to return empty so that it will not replace anything. else everywhere in html we have to add in a check","created_at":"2016-10-11T05:14:48Z","updated_at":"2016-10-11T05:14:48Z","html_url":"https://github.com/jhipster/generator-jhipster/pull/4304#discussion_r82725568","pull_request_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/4304","_links":{"self":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/comments/82725568"},"html":{"href":"https://github.com/jhipster/generator-jhipster/pull/4304#discussion_r82725568"},"pull_request":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/4304"}}},"pull_request":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/4304","id":88638109,"html_url":"https://github.com/jhipster/generator-jhipster/pull/4304","diff_url":"https://github.com/jhipster/generator-jhipster/pull/4304.diff","patch_url":"https://github.com/jhipster/generator-jhipster/pull/4304.patch","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4304","number":4304,"state":"open","locked":false,"title":"Ng2 translate","user":{"login":"sendilkumarn","id":12471122,"avatar_url":"https://avatars.githubusercontent.com/u/12471122?v=3","gravatar_id":"","url":"https://api.github.com/users/sendilkumarn","html_url":"https://github.com/sendilkumarn","followers_url":"https://api.github.com/users/sendilkumarn/followers","following_url":"https://api.github.com/users/sendilkumarn/following{/other_user}","gists_url":"https://api.github.com/users/sendilkumarn/gists{/gist_id}","starred_url":"https://api.github.com/users/sendilkumarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendilkumarn/subscriptions","organizations_url":"https://api.github.com/users/sendilkumarn/orgs","repos_url":"https://api.github.com/users/sendilkumarn/repos","events_url":"https://api.github.com/users/sendilkumarn/events{/privacy}","received_events_url":"https://api.github.com/users/sendilkumarn/received_events","type":"User","site_admin":false},"body":"Added [ng2-translate](https://github.com/ocombe/ng2-translate)\r\n\r\n\r\n@deepu105 need to change the logic which loads the constant file with language constants.\r\n","created_at":"2016-10-10T10:12:30Z","updated_at":"2016-10-11T05:14:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57ff45e3cf6bd385becc4672229d23b7e698088b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/4304/commits","review_comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/4304/comments","review_comment_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4304/comments","statuses_url":"https://api.github.com/repos/jhipster/generator-jhipster/statuses/0d8c091b35898d8a6be20940ed3f467b2be7127e","head":{"label":"sendilkumarn:ng2-translate","ref":"ng2-translate","sha":"0d8c091b35898d8a6be20940ed3f467b2be7127e","user":{"login":"sendilkumarn","id":12471122,"avatar_url":"https://avatars.githubusercontent.com/u/12471122?v=3","gravatar_id":"","url":"https://api.github.com/users/sendilkumarn","html_url":"https://github.com/sendilkumarn","followers_url":"https://api.github.com/users/sendilkumarn/followers","following_url":"https://api.github.com/users/sendilkumarn/following{/other_user}","gists_url":"https://api.github.com/users/sendilkumarn/gists{/gist_id}","starred_url":"https://api.github.com/users/sendilkumarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendilkumarn/subscriptions","organizations_url":"https://api.github.com/users/sendilkumarn/orgs","repos_url":"https://api.github.com/users/sendilkumarn/repos","events_url":"https://api.github.com/users/sendilkumarn/events{/privacy}","received_events_url":"https://api.github.com/users/sendilkumarn/received_events","type":"User","site_admin":false},"repo":{"id":35717375,"name":"generator-jhipster","full_name":"sendilkumarn/generator-jhipster","owner":{"login":"sendilkumarn","id":12471122,"avatar_url":"https://avatars.githubusercontent.com/u/12471122?v=3","gravatar_id":"","url":"https://api.github.com/users/sendilkumarn","html_url":"https://github.com/sendilkumarn","followers_url":"https://api.github.com/users/sendilkumarn/followers","following_url":"https://api.github.com/users/sendilkumarn/following{/other_user}","gists_url":"https://api.github.com/users/sendilkumarn/gists{/gist_id}","starred_url":"https://api.github.com/users/sendilkumarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendilkumarn/subscriptions","organizations_url":"https://api.github.com/users/sendilkumarn/orgs","repos_url":"https://api.github.com/users/sendilkumarn/repos","events_url":"https://api.github.com/users/sendilkumarn/events{/privacy}","received_events_url":"https://api.github.com/users/sendilkumarn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sendilkumarn/generator-jhipster","description":"Hipster stack for Java developers. Yeoman + Maven + Spring + AngularJS in one handy generator.","fork":true,"url":"https://api.github.com/repos/sendilkumarn/generator-jhipster","forks_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/forks","keys_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/teams","hooks_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/hooks","issue_events_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/issues/events{/number}","events_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/events","assignees_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/assignees{/user}","branches_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/branches{/branch}","tags_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/tags","blobs_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/git/refs{/sha}","trees_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/statuses/{sha}","languages_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/languages","stargazers_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/stargazers","contributors_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/contributors","subscribers_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/subscribers","subscription_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/subscription","commits_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/commits{/sha}","git_commits_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/git/commits{/sha}","comments_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/comments{/number}","issue_comment_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/issues/comments{/number}","contents_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/contents/{+path}","compare_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/merges","archive_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/downloads","issues_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/issues{/number}","pulls_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/pulls{/number}","milestones_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/milestones{/number}","notifications_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/labels{/name}","releases_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/releases{/id}","deployments_url":"https://api.github.com/repos/sendilkumarn/generator-jhipster/deployments","created_at":"2015-05-16T09:16:41Z","updated_at":"2016-03-15T08:17:46Z","pushed_at":"2016-10-10T16:24:50Z","git_url":"git://github.com/sendilkumarn/generator-jhipster.git","ssh_url":"git@github.com:sendilkumarn/generator-jhipster.git","clone_url":"https://github.com/sendilkumarn/generator-jhipster.git","svn_url":"https://github.com/sendilkumarn/generator-jhipster","homepage":"http://jhipster.github.io","size":14075,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jhipster:angular-2","ref":"angular-2","sha":"e48813b6551ef33897a19ce9064d4936bb76738b","user":{"login":"jhipster","id":6059488,"avatar_url":"https://avatars.githubusercontent.com/u/6059488?v=3","gravatar_id":"","url":"https://api.github.com/users/jhipster","html_url":"https://github.com/jhipster","followers_url":"https://api.github.com/users/jhipster/followers","following_url":"https://api.github.com/users/jhipster/following{/other_user}","gists_url":"https://api.github.com/users/jhipster/gists{/gist_id}","starred_url":"https://api.github.com/users/jhipster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhipster/subscriptions","organizations_url":"https://api.github.com/users/jhipster/orgs","repos_url":"https://api.github.com/users/jhipster/repos","events_url":"https://api.github.com/users/jhipster/events{/privacy}","received_events_url":"https://api.github.com/users/jhipster/received_events","type":"Organization","site_admin":false},"repo":{"id":13753636,"name":"generator-jhipster","full_name":"jhipster/generator-jhipster","owner":{"login":"jhipster","id":6059488,"avatar_url":"https://avatars.githubusercontent.com/u/6059488?v=3","gravatar_id":"","url":"https://api.github.com/users/jhipster","html_url":"https://github.com/jhipster","followers_url":"https://api.github.com/users/jhipster/followers","following_url":"https://api.github.com/users/jhipster/following{/other_user}","gists_url":"https://api.github.com/users/jhipster/gists{/gist_id}","starred_url":"https://api.github.com/users/jhipster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhipster/subscriptions","organizations_url":"https://api.github.com/users/jhipster/orgs","repos_url":"https://api.github.com/users/jhipster/repos","events_url":"https://api.github.com/users/jhipster/events{/privacy}","received_events_url":"https://api.github.com/users/jhipster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jhipster/generator-jhipster","description":"Open Source application generator for creating Spring Boot + AngularJS projects in seconds!","fork":false,"url":"https://api.github.com/repos/jhipster/generator-jhipster","forks_url":"https://api.github.com/repos/jhipster/generator-jhipster/forks","keys_url":"https://api.github.com/repos/jhipster/generator-jhipster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhipster/generator-jhipster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhipster/generator-jhipster/teams","hooks_url":"https://api.github.com/repos/jhipster/generator-jhipster/hooks","issue_events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/events{/number}","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/events","assignees_url":"https://api.github.com/repos/jhipster/generator-jhipster/assignees{/user}","branches_url":"https://api.github.com/repos/jhipster/generator-jhipster/branches{/branch}","tags_url":"https://api.github.com/repos/jhipster/generator-jhipster/tags","blobs_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhipster/generator-jhipster/statuses/{sha}","languages_url":"https://api.github.com/repos/jhipster/generator-jhipster/languages","stargazers_url":"https://api.github.com/repos/jhipster/generator-jhipster/stargazers","contributors_url":"https://api.github.com/repos/jhipster/generator-jhipster/contributors","subscribers_url":"https://api.github.com/repos/jhipster/generator-jhipster/subscribers","subscription_url":"https://api.github.com/repos/jhipster/generator-jhipster/subscription","commits_url":"https://api.github.com/repos/jhipster/generator-jhipster/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhipster/generator-jhipster/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhipster/generator-jhipster/contents/{+path}","compare_url":"https://api.github.com/repos/jhipster/generator-jhipster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhipster/generator-jhipster/merges","archive_url":"https://api.github.com/repos/jhipster/generator-jhipster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhipster/generator-jhipster/downloads","issues_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues{/number}","pulls_url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls{/number}","milestones_url":"https://api.github.com/repos/jhipster/generator-jhipster/milestones{/number}","notifications_url":"https://api.github.com/repos/jhipster/generator-jhipster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/labels{/name}","releases_url":"https://api.github.com/repos/jhipster/generator-jhipster/releases{/id}","deployments_url":"https://api.github.com/repos/jhipster/generator-jhipster/deployments","created_at":"2013-10-21T20:07:22Z","updated_at":"2016-10-10T22:43:04Z","pushed_at":"2016-10-10T21:34:58Z","git_url":"git://github.com/jhipster/generator-jhipster.git","ssh_url":"git@github.com:jhipster/generator-jhipster.git","clone_url":"https://github.com/jhipster/generator-jhipster.git","svn_url":"https://github.com/jhipster/generator-jhipster","homepage":"http://jhipster.github.io","size":19331,"stargazers_count":5129,"watchers_count":5129,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1121,"mirror_url":null,"open_issues_count":37,"forks":1121,"open_issues":37,"watchers":5129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/4304"},"html":{"href":"https://github.com/jhipster/generator-jhipster/pull/4304"},"issue":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4304"},"comments":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/issues/4304/comments"},"review_comments":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/4304/comments"},"review_comment":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/4304/commits"},"statuses":{"href":"https://api.github.com/repos/jhipster/generator-jhipster/statuses/0d8c091b35898d8a6be20940ed3f467b2be7127e"}}}}
{"actor":{"display_login":"sendilkumarn"}}