{"action":"created","comment":{"url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/comments/199742796","pull_request_review_id":133916916,"id":199742796,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTc0Mjc5Ng==","diff_hunk":"@@ -92,13 +92,14 @@ protected function configure()\n             ->addArgument('locale', InputArgument::OPTIONAL, 'The locale ot use. If omitted, we use all configured locales.', false)\n             ->addOption('hide-errors', null, InputOption::VALUE_NONE, 'If we should print error or not')\n             ->addOption('bundle', 'b', InputOption::VALUE_REQUIRED, 'The bundle you want extract translations from.')\n+            ->addArgument('prefixTarget', InputArgument::OPTIONAL, 'The prefix of Target', null)","path":"Command/ExtractCommand.php","position":4,"original_position":4,"commit_id":"d5e25ba9b712578466f82b800b4a4da5157c3a52","original_commit_id":"d5e25ba9b712578466f82b800b4a4da5157c3a52","user":{"login":"Nyholm","id":1275206,"node_id":"MDQ6VXNlcjEyNzUyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1275206?v=4","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"body":"We should add 2 arguments. One should be `prefix` and one `key-as-translation` or something similar. ","created_at":"2018-07-03T09:31:22Z","updated_at":"2018-07-03T09:31:45Z","html_url":"https://github.com/php-translation/symfony-bundle/pull/238#discussion_r199742796","pull_request_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/238","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/comments/199742796"},"html":{"href":"https://github.com/php-translation/symfony-bundle/pull/238#discussion_r199742796"},"pull_request":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/238"}}},"pull_request":{"url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/238","id":193890963,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzODkwOTYz","html_url":"https://github.com/php-translation/symfony-bundle/pull/238","diff_url":"https://github.com/php-translation/symfony-bundle/pull/238.diff","patch_url":"https://github.com/php-translation/symfony-bundle/pull/238.patch","issue_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/238","number":238,"state":"open","locked":false,"title":"Default translation with prefix","user":{"login":"xfifix","id":827158,"node_id":"MDQ6VXNlcjgyNzE1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/827158?v=4","gravatar_id":"","url":"https://api.github.com/users/xfifix","html_url":"https://github.com/xfifix","followers_url":"https://api.github.com/users/xfifix/followers","following_url":"https://api.github.com/users/xfifix/following{/other_user}","gists_url":"https://api.github.com/users/xfifix/gists{/gist_id}","starred_url":"https://api.github.com/users/xfifix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xfifix/subscriptions","organizations_url":"https://api.github.com/users/xfifix/orgs","repos_url":"https://api.github.com/users/xfifix/repos","events_url":"https://api.github.com/users/xfifix/events{/privacy}","received_events_url":"https://api.github.com/users/xfifix/received_events","type":"User","site_admin":false},"body":"- define the prefix of default translation in the target \r\n- added an argument in the command\r\n- use it in the importer to initialized the xliff file\r\n\r\n`\r\n <segment>\r\n        <source>email.logo.title</source>\r\n        <target>_email.logo.title</target>\r\n  </segment>\r\n`","created_at":"2018-06-11T07:09:21Z","updated_at":"2018-07-03T09:31:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c9f8f999b559d2d3a5152a60c18c0b6c786aee7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/238/commits","review_comments_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/238/comments","review_comment_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/238/comments","statuses_url":"https://api.github.com/repos/php-translation/symfony-bundle/statuses/d5e25ba9b712578466f82b800b4a4da5157c3a52","head":{"label":"xfifix:feature/add-default-translation","ref":"feature/add-default-translation","sha":"d5e25ba9b712578466f82b800b4a4da5157c3a52","user":{"login":"xfifix","id":827158,"node_id":"MDQ6VXNlcjgyNzE1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/827158?v=4","gravatar_id":"","url":"https://api.github.com/users/xfifix","html_url":"https://github.com/xfifix","followers_url":"https://api.github.com/users/xfifix/followers","following_url":"https://api.github.com/users/xfifix/following{/other_user}","gists_url":"https://api.github.com/users/xfifix/gists{/gist_id}","starred_url":"https://api.github.com/users/xfifix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xfifix/subscriptions","organizations_url":"https://api.github.com/users/xfifix/orgs","repos_url":"https://api.github.com/users/xfifix/repos","events_url":"https://api.github.com/users/xfifix/events{/privacy}","received_events_url":"https://api.github.com/users/xfifix/received_events","type":"User","site_admin":false},"repo":{"id":136625501,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY2MjU1MDE=","name":"symfony-bundle","full_name":"xfifix/symfony-bundle","owner":{"login":"xfifix","id":827158,"node_id":"MDQ6VXNlcjgyNzE1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/827158?v=4","gravatar_id":"","url":"https://api.github.com/users/xfifix","html_url":"https://github.com/xfifix","followers_url":"https://api.github.com/users/xfifix/followers","following_url":"https://api.github.com/users/xfifix/following{/other_user}","gists_url":"https://api.github.com/users/xfifix/gists{/gist_id}","starred_url":"https://api.github.com/users/xfifix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xfifix/subscriptions","organizations_url":"https://api.github.com/users/xfifix/orgs","repos_url":"https://api.github.com/users/xfifix/repos","events_url":"https://api.github.com/users/xfifix/events{/privacy}","received_events_url":"https://api.github.com/users/xfifix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xfifix/symfony-bundle","description":"Symfony integration for Translations","fork":true,"url":"https://api.github.com/repos/xfifix/symfony-bundle","forks_url":"https://api.github.com/repos/xfifix/symfony-bundle/forks","keys_url":"https://api.github.com/repos/xfifix/symfony-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xfifix/symfony-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xfifix/symfony-bundle/teams","hooks_url":"https://api.github.com/repos/xfifix/symfony-bundle/hooks","issue_events_url":"https://api.github.com/repos/xfifix/symfony-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/xfifix/symfony-bundle/events","assignees_url":"https://api.github.com/repos/xfifix/symfony-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/xfifix/symfony-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/xfifix/symfony-bundle/tags","blobs_url":"https://api.github.com/repos/xfifix/symfony-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xfifix/symfony-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xfifix/symfony-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/xfifix/symfony-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xfifix/symfony-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/xfifix/symfony-bundle/languages","stargazers_url":"https://api.github.com/repos/xfifix/symfony-bundle/stargazers","contributors_url":"https://api.github.com/repos/xfifix/symfony-bundle/contributors","subscribers_url":"https://api.github.com/repos/xfifix/symfony-bundle/subscribers","subscription_url":"https://api.github.com/repos/xfifix/symfony-bundle/subscription","commits_url":"https://api.github.com/repos/xfifix/symfony-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/xfifix/symfony-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/xfifix/symfony-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/xfifix/symfony-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/xfifix/symfony-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/xfifix/symfony-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xfifix/symfony-bundle/merges","archive_url":"https://api.github.com/repos/xfifix/symfony-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xfifix/symfony-bundle/downloads","issues_url":"https://api.github.com/repos/xfifix/symfony-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/xfifix/symfony-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/xfifix/symfony-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/xfifix/symfony-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xfifix/symfony-bundle/labels{/name}","releases_url":"https://api.github.com/repos/xfifix/symfony-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/xfifix/symfony-bundle/deployments","created_at":"2018-06-08T13:54:15Z","updated_at":"2018-06-08T13:54:17Z","pushed_at":"2018-06-11T07:46:51Z","git_url":"git://github.com/xfifix/symfony-bundle.git","ssh_url":"git@github.com:xfifix/symfony-bundle.git","clone_url":"https://github.com/xfifix/symfony-bundle.git","svn_url":"https://github.com/xfifix/symfony-bundle","homepage":"","size":396,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"php-translation:master","ref":"master","sha":"fb70b1dc0526561258640d78976506a4879d30ce","user":{"login":"php-translation","id":20503703,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNTAzNzAz","avatar_url":"https://avatars2.githubusercontent.com/u/20503703?v=4","gravatar_id":"","url":"https://api.github.com/users/php-translation","html_url":"https://github.com/php-translation","followers_url":"https://api.github.com/users/php-translation/followers","following_url":"https://api.github.com/users/php-translation/following{/other_user}","gists_url":"https://api.github.com/users/php-translation/gists{/gist_id}","starred_url":"https://api.github.com/users/php-translation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-translation/subscriptions","organizations_url":"https://api.github.com/users/php-translation/orgs","repos_url":"https://api.github.com/users/php-translation/repos","events_url":"https://api.github.com/users/php-translation/events{/privacy}","received_events_url":"https://api.github.com/users/php-translation/received_events","type":"Organization","site_admin":false},"repo":{"id":75462210,"node_id":"MDEwOlJlcG9zaXRvcnk3NTQ2MjIxMA==","name":"symfony-bundle","full_name":"php-translation/symfony-bundle","owner":{"login":"php-translation","id":20503703,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNTAzNzAz","avatar_url":"https://avatars2.githubusercontent.com/u/20503703?v=4","gravatar_id":"","url":"https://api.github.com/users/php-translation","html_url":"https://github.com/php-translation","followers_url":"https://api.github.com/users/php-translation/followers","following_url":"https://api.github.com/users/php-translation/following{/other_user}","gists_url":"https://api.github.com/users/php-translation/gists{/gist_id}","starred_url":"https://api.github.com/users/php-translation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-translation/subscriptions","organizations_url":"https://api.github.com/users/php-translation/orgs","repos_url":"https://api.github.com/users/php-translation/repos","events_url":"https://api.github.com/users/php-translation/events{/privacy}","received_events_url":"https://api.github.com/users/php-translation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-translation/symfony-bundle","description":"Symfony integration for Translations","fork":false,"url":"https://api.github.com/repos/php-translation/symfony-bundle","forks_url":"https://api.github.com/repos/php-translation/symfony-bundle/forks","keys_url":"https://api.github.com/repos/php-translation/symfony-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-translation/symfony-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-translation/symfony-bundle/teams","hooks_url":"https://api.github.com/repos/php-translation/symfony-bundle/hooks","issue_events_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/php-translation/symfony-bundle/events","assignees_url":"https://api.github.com/repos/php-translation/symfony-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/php-translation/symfony-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/php-translation/symfony-bundle/tags","blobs_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-translation/symfony-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/php-translation/symfony-bundle/languages","stargazers_url":"https://api.github.com/repos/php-translation/symfony-bundle/stargazers","contributors_url":"https://api.github.com/repos/php-translation/symfony-bundle/contributors","subscribers_url":"https://api.github.com/repos/php-translation/symfony-bundle/subscribers","subscription_url":"https://api.github.com/repos/php-translation/symfony-bundle/subscription","commits_url":"https://api.github.com/repos/php-translation/symfony-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-translation/symfony-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-translation/symfony-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-translation/symfony-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/php-translation/symfony-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-translation/symfony-bundle/merges","archive_url":"https://api.github.com/repos/php-translation/symfony-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-translation/symfony-bundle/downloads","issues_url":"https://api.github.com/repos/php-translation/symfony-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/php-translation/symfony-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/php-translation/symfony-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/php-translation/symfony-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-translation/symfony-bundle/labels{/name}","releases_url":"https://api.github.com/repos/php-translation/symfony-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/php-translation/symfony-bundle/deployments","created_at":"2016-12-03T08:35:25Z","updated_at":"2018-06-29T12:29:18Z","pushed_at":"2018-06-26T14:06:03Z","git_url":"git://github.com/php-translation/symfony-bundle.git","ssh_url":"git@github.com:php-translation/symfony-bundle.git","clone_url":"https://github.com/php-translation/symfony-bundle.git","svn_url":"https://github.com/php-translation/symfony-bundle","homepage":"","size":497,"stargazers_count":134,"watchers_count":134,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":33,"license":null,"forks":31,"open_issues":33,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/238"},"html":{"href":"https://github.com/php-translation/symfony-bundle/pull/238"},"issue":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/issues/238"},"comments":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/issues/238/comments"},"review_comments":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/238/comments"},"review_comment":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/pulls/238/commits"},"statuses":{"href":"https://api.github.com/repos/php-translation/symfony-bundle/statuses/d5e25ba9b712578466f82b800b4a4da5157c3a52"}},"author_association":"NONE"}}
{"actor":{"display_login":"Nyholm"}}