{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/154468492","pull_request_review_id":80644603,"id":154468492,"diff_hunk":"@@ -0,0 +1,98 @@\n+/** @format */\n+\n+/**\n+ * External dependencies\n+ */\n+\n+import React, { PureComponent } from 'react';\n+import PropTypes from 'prop-types';\n+import { connect } from 'react-redux';\n+import { localize } from 'i18n-calypso';\n+import Gridicon from 'gridicons';\n+\n+/**\n+ * Internal dependencies\n+ */\n+import ActionPanel from 'my-sites/site-settings/action-panel';\n+import ActionPanelTitle from 'my-sites/site-settings/action-panel/title';\n+import ActionPanelBody from 'my-sites/site-settings/action-panel/body';\n+import ActionPanelFooter from 'my-sites/site-settings/action-panel/footer';\n+import Button from 'components/button';\n+import { getSelectedSiteId } from 'state/ui/selectors';\n+import { getSiteDomain } from 'state/sites/selectors';\n+import userSettings from 'lib/user-settings';\n+\n+class SiteTransferWarning extends PureComponent {\n+\tstatic propTypes = {\n+\t\tselectedSiteDomain: PropTypes.string,\n+\t\tcurrentUserEmail: PropTypes.string,\n+\t\tonAcknowledged: PropTypes.func,\n+\t\ttranslate: PropTypes.func,\n+\t};\n+\n+\trender() {\n+\t\tconst translate = this.props.translate;\n+\t\tconst transOpts = {\n+\t\t\targs: {\n+\t\t\t\tdomain: this.props.selectedSiteDomain,\n+\t\t\t\temail: this.props.currentUserEmail,\n+\t\t\t},\n+\t\t};\n+\n+\t\treturn (\n+\t\t\t<ActionPanel>\n+\t\t\t\t<ActionPanelBody>\n+\t\t\t\t\t<ActionPanelTitle>{ translate( 'Transfer Your Site' ) }</ActionPanelTitle>\n+\t\t\t\t\t<p>\n+\t\t\t\t\t\t{ translate(\n+\t\t\t\t\t\t\t'Transferring a site cannot be undone. Please read the following actions that will ' +\n+\t\t\t\t\t\t\t\t'take place when you transfer this site:'\n+\t\t\t\t\t\t) }\n+\t\t\t\t\t</p>\n+\t\t\t\t\t<ul>\n+\t\t\t\t\t\t<li>{ translate( 'You will be removed as owner of %(domain)s', transOpts ) }</li>\n+\t\t\t\t\t\t<li>\n+\t\t\t\t\t\t\t{ translate(\n+\t\t\t\t\t\t\t\t'You will not be able to access %(domain)s unless allowed by the new owner',\n+\t\t\t\t\t\t\t\ttransOpts\n+\t\t\t\t\t\t\t) }\n+\t\t\t\t\t\t</li>\n+\t\t\t\t\t\t<li>\n+\t\t\t\t\t\t\t{ translate(\n+\t\t\t\t\t\t\t\t'Your posts on %(domain)s will be transferred to the new owner and ' +\n+\t\t\t\t\t\t\t\t\t'will no longer be authored by your account.',\n+\t\t\t\t\t\t\t\ttransOpts\n+\t\t\t\t\t\t\t) }\n+\t\t\t\t\t\t</li>\n+\t\t\t\t\t</ul>\n+\t\t\t\t\t<p>\n+\t\t\t\t\t\t{ translate(\n+\t\t\t\t\t\t\t'Note that you will be sent a confirmation email to %(email)s before ' +","path":"client/my-sites/site-settings/transfer-site-to-user/site-transfer-warning.jsx","position":70,"original_position":70,"commit_id":"049b32389dea1ceb56f5a6419245f883035679e9","original_commit_id":"049b32389dea1ceb56f5a6419245f883035679e9","user":{"login":"a8ci18n","id":25137612,"avatar_url":"https://avatars0.githubusercontent.com/u/25137612?v=4","gravatar_id":"","url":"https://api.github.com/users/a8ci18n","html_url":"https://github.com/a8ci18n","followers_url":"https://api.github.com/users/a8ci18n/followers","following_url":"https://api.github.com/users/a8ci18n/following{/other_user}","gists_url":"https://api.github.com/users/a8ci18n/gists{/gist_id}","starred_url":"https://api.github.com/users/a8ci18n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a8ci18n/subscriptions","organizations_url":"https://api.github.com/users/a8ci18n/orgs","repos_url":"https://api.github.com/users/a8ci18n/repos","events_url":"https://api.github.com/users/a8ci18n/events{/privacy}","received_events_url":"https://api.github.com/users/a8ci18n/received_events","type":"User","site_admin":false},"body":"Hi! I've found a possible matching string that has already been translated **29** times:\n`translate( 'Note that you will be sent a confirmation email to %s <em>before</em> the above actions are performed.' )` *ES Score: 14*\n\nHelp me improve these suggestions: react with :thumbsdown: if the suggestion doesn't make any sense, or with :thumbsup: if it's a particularly good one (even if not implemented).","created_at":"2017-12-01T22:57:22Z","updated_at":"2017-12-01T22:57:22Z","html_url":"https://github.com/Automattic/wp-calypso/pull/20429#discussion_r154468492","pull_request_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/20429","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/154468492"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/20429#discussion_r154468492"},"pull_request":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/20429"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/20429","id":155975579,"html_url":"https://github.com/Automattic/wp-calypso/pull/20429","diff_url":"https://github.com/Automattic/wp-calypso/pull/20429.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/20429.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/20429","number":20429,"state":"open","locked":false,"title":"Add: transfer a site to another user","user":{"login":"dtougas","id":107020,"avatar_url":"https://avatars3.githubusercontent.com/u/107020?v=4","gravatar_id":"","url":"https://api.github.com/users/dtougas","html_url":"https://github.com/dtougas","followers_url":"https://api.github.com/users/dtougas/followers","following_url":"https://api.github.com/users/dtougas/following{/other_user}","gists_url":"https://api.github.com/users/dtougas/gists{/gist_id}","starred_url":"https://api.github.com/users/dtougas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtougas/subscriptions","organizations_url":"https://api.github.com/users/dtougas/orgs","repos_url":"https://api.github.com/users/dtougas/repos","events_url":"https://api.github.com/users/dtougas/events{/privacy}","received_events_url":"https://api.github.com/users/dtougas/received_events","type":"User","site_admin":false},"body":"The following is a feature that enables users to transfer their site to another user. This feature currently exists in wp-admin, but not yet in Calypso.\r\n\r\nThis is very much a work in progress, as we explore how the UI should behave, and how the workflow could be improved over the existing implementation.\r\n\r\nThe current big picture workflow is as follows:\r\n\r\n- Rather than transferring the site to an arbitrary user (either by username or email address - which is the current process), the to which the site is being transferred to should be an existing admin of the site. The process should direct users to instructions on how to do that, if they don't know already.\r\n- If the site has a domain feature attached, that we direct the user to the domain transfer process first before allowing them to proceed further with the site transfer. This would improve the existing process where if a domain feature is attached to a site, a support ticket is created.\r\n- Once the user (transferer) has selected the admin (transferee) they wish to transfer the site to, a confirmation email will be sent to the transferer asking them to confirm the transfer.","created_at":"2017-12-01T22:52:42Z","updated_at":"2017-12-01T22:57:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"163c294bfef14ec81fd2849269793e0df3569fa4","assignee":{"login":"dtougas","id":107020,"avatar_url":"https://avatars3.githubusercontent.com/u/107020?v=4","gravatar_id":"","url":"https://api.github.com/users/dtougas","html_url":"https://github.com/dtougas","followers_url":"https://api.github.com/users/dtougas/followers","following_url":"https://api.github.com/users/dtougas/following{/other_user}","gists_url":"https://api.github.com/users/dtougas/gists{/gist_id}","starred_url":"https://api.github.com/users/dtougas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtougas/subscriptions","organizations_url":"https://api.github.com/users/dtougas/orgs","repos_url":"https://api.github.com/users/dtougas/repos","events_url":"https://api.github.com/users/dtougas/events{/privacy}","received_events_url":"https://api.github.com/users/dtougas/received_events","type":"User","site_admin":false},"assignees":[{"login":"dtougas","id":107020,"avatar_url":"https://avatars3.githubusercontent.com/u/107020?v=4","gravatar_id":"","url":"https://api.github.com/users/dtougas","html_url":"https://github.com/dtougas","followers_url":"https://api.github.com/users/dtougas/followers","following_url":"https://api.github.com/users/dtougas/following{/other_user}","gists_url":"https://api.github.com/users/dtougas/gists{/gist_id}","starred_url":"https://api.github.com/users/dtougas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtougas/subscriptions","organizations_url":"https://api.github.com/users/dtougas/orgs","repos_url":"https://api.github.com/users/dtougas/repos","events_url":"https://api.github.com/users/dtougas/events{/privacy}","received_events_url":"https://api.github.com/users/dtougas/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/20429/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/20429/comments","review_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/20429/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/049b32389dea1ceb56f5a6419245f883035679e9","head":{"label":"Automattic:add/site-transfer","ref":"add/site-transfer","sha":"049b32389dea1ceb56f5a6419245f883035679e9","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2017-12-01T20:41:09Z","pushed_at":"2017-12-01T22:52:42Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":71680,"stargazers_count":9474,"watchers_count":9474,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1301,"mirror_url":null,"archived":false,"open_issues_count":2290,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1301,"open_issues":2290,"watchers":9474,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"3a860624fe1a1cd5a43516731f88335c2e8f4b96","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2017-12-01T20:41:09Z","pushed_at":"2017-12-01T22:52:42Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":71680,"stargazers_count":9474,"watchers_count":9474,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1301,"mirror_url":null,"archived":false,"open_issues_count":2290,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1301,"open_issues":2290,"watchers":9474,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/20429"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/20429"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/20429"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/20429/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/20429/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/20429/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/049b32389dea1ceb56f5a6419245f883035679e9"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"a8ci18n"}}