{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/227096885","pull_request_review_id":167059274,"id":227096885,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzA5Njg4NQ==","diff_hunk":"@@ -49,23 +50,42 @@ export const esPersistMiddleware = ({ getState }) => {\n       return update(persistedWorkpad.id, persistedWorkpad).catch(err => {\n         if (err.response.status === 400) {\n           return notify.error(err.response, {\n-            title: `Couldn't save your changes to Elasticsearch`,\n+            title: i18n.translate(\n+              'xpack.canvas.state.esPersist.saveChangesToElasticsearch.400ErrorMessageTitle',\n+              {\n+                defaultMessage: \"Couldn't save your changes to Elasticsearch\",\n+              }\n+            ),\n           });\n         }\n \n         if (err.response.status === 413) {\n           return notify.error(\n-            `The server gave a response that the workpad data was too large. This\n-            usually means uploaded image assets that are too large for Kibana or\n-            a proxy. Try removing some assets in the asset manager.`,\n+            i18n.translate(\n+              'xpack.canvas.state.esPersist.saveChangesToElasticsearch.413ErrorMessage',\n+              {\n+                defaultMessage:\n+                  'The server gave a response that the workpad data was too large. This usually means uploaded image assets that are too large for Kibana or a proxy. Try removing some assets in the asset manager.',\n+              }\n+            ),\n             {\n-              title: `Couldn't save your changes to Elasticsearch`,\n+              title: i18n.translate(\n+                'xpack.canvas.state.esPersist.saveChangesToElasticsearch.413ErrorMessageTitle',\n+                {\n+                  defaultMessage: \"Couldn't save your changes to Elasticsearch\",\n+                }\n+              ),\n             }\n           );\n         }\n \n         return notify.error(err.response, {\n-          title: `Couldn't update workpad`,\n+          title: i18n.translate(\n+            'xpack.canvas.state.esPersist.saveChangesToElasticsearch.commonErrorMessageTitle',","path":"x-pack/plugins/canvas/public/state/middleware/es_persist.js","position":49,"original_position":49,"commit_id":"4aa1a919490e5e0b400e320996a0b13708b8c717","original_commit_id":"4aa1a919490e5e0b400e320996a0b13708b8c717","user":{"login":"clintandrewhall","id":297604,"node_id":"MDQ6VXNlcjI5NzYwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/297604?v=4","gravatar_id":"","url":"https://api.github.com/users/clintandrewhall","html_url":"https://github.com/clintandrewhall","followers_url":"https://api.github.com/users/clintandrewhall/followers","following_url":"https://api.github.com/users/clintandrewhall/following{/other_user}","gists_url":"https://api.github.com/users/clintandrewhall/gists{/gist_id}","starred_url":"https://api.github.com/users/clintandrewhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintandrewhall/subscriptions","organizations_url":"https://api.github.com/users/clintandrewhall/orgs","repos_url":"https://api.github.com/users/clintandrewhall/repos","events_url":"https://api.github.com/users/clintandrewhall/events{/privacy}","received_events_url":"https://api.github.com/users/clintandrewhall/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n            'xpack.canvas.state.esPersist.saveChangesToElasticsearch.commonErrorTitle',\r\n```","created_at":"2018-10-22T19:02:25Z","updated_at":"2018-10-22T19:03:26Z","html_url":"https://github.com/elastic/kibana/pull/23753#discussion_r227096885","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/23753","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/227096885"},"html":{"href":"https://github.com/elastic/kibana/pull/23753#discussion_r227096885"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/23753"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/23753","id":220027565,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMDI3NTY1","html_url":"https://github.com/elastic/kibana/pull/23753","diff_url":"https://github.com/elastic/kibana/pull/23753.diff","patch_url":"https://github.com/elastic/kibana/pull/23753.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/23753","number":23753,"state":"open","locked":false,"title":"Feature/translate canvas public state","user":{"login":"Nox911","id":25555662,"node_id":"MDQ6VXNlcjI1NTU1NjYy","avatar_url":"https://avatars1.githubusercontent.com/u/25555662?v=4","gravatar_id":"","url":"https://api.github.com/users/Nox911","html_url":"https://github.com/Nox911","followers_url":"https://api.github.com/users/Nox911/followers","following_url":"https://api.github.com/users/Nox911/following{/other_user}","gists_url":"https://api.github.com/users/Nox911/gists{/gist_id}","starred_url":"https://api.github.com/users/Nox911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nox911/subscriptions","organizations_url":"https://api.github.com/users/Nox911/orgs","repos_url":"https://api.github.com/users/Nox911/repos","events_url":"https://api.github.com/users/Nox911/events{/privacy}","received_events_url":"https://api.github.com/users/Nox911/received_events","type":"User","site_admin":false},"body":"translate canvas public state\r\n\r\n#23222","created_at":"2018-10-03T12:59:26Z","updated_at":"2018-10-22T19:03:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1367ce212498a1a5c752676a67ec975aa5397516","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":912981985,"node_id":"MDU6TGFiZWw5MTI5ODE5ODU=","url":"https://api.github.com/repos/elastic/kibana/labels/:Canvas","name":":Canvas","color":"fef2c0","default":false},{"id":548254520,"node_id":"MDU6TGFiZWw1NDgyNTQ1MjA=","url":"https://api.github.com/repos/elastic/kibana/labels/:i18n","name":":i18n","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/23753/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/23753/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/23753/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/4aa1a919490e5e0b400e320996a0b13708b8c717","head":{"label":"Nox911:feature/translate-canvas-public-state","ref":"feature/translate-canvas-public-state","sha":"4aa1a919490e5e0b400e320996a0b13708b8c717","user":{"login":"Nox911","id":25555662,"node_id":"MDQ6VXNlcjI1NTU1NjYy","avatar_url":"https://avatars1.githubusercontent.com/u/25555662?v=4","gravatar_id":"","url":"https://api.github.com/users/Nox911","html_url":"https://github.com/Nox911","followers_url":"https://api.github.com/users/Nox911/followers","following_url":"https://api.github.com/users/Nox911/following{/other_user}","gists_url":"https://api.github.com/users/Nox911/gists{/gist_id}","starred_url":"https://api.github.com/users/Nox911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nox911/subscriptions","organizations_url":"https://api.github.com/users/Nox911/orgs","repos_url":"https://api.github.com/users/Nox911/repos","events_url":"https://api.github.com/users/Nox911/events{/privacy}","received_events_url":"https://api.github.com/users/Nox911/received_events","type":"User","site_admin":false},"repo":{"id":149751475,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk3NTE0NzU=","name":"kibana","full_name":"Nox911/kibana","private":false,"owner":{"login":"Nox911","id":25555662,"node_id":"MDQ6VXNlcjI1NTU1NjYy","avatar_url":"https://avatars1.githubusercontent.com/u/25555662?v=4","gravatar_id":"","url":"https://api.github.com/users/Nox911","html_url":"https://github.com/Nox911","followers_url":"https://api.github.com/users/Nox911/followers","following_url":"https://api.github.com/users/Nox911/following{/other_user}","gists_url":"https://api.github.com/users/Nox911/gists{/gist_id}","starred_url":"https://api.github.com/users/Nox911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nox911/subscriptions","organizations_url":"https://api.github.com/users/Nox911/orgs","repos_url":"https://api.github.com/users/Nox911/repos","events_url":"https://api.github.com/users/Nox911/events{/privacy}","received_events_url":"https://api.github.com/users/Nox911/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Nox911/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":true,"url":"https://api.github.com/repos/Nox911/kibana","forks_url":"https://api.github.com/repos/Nox911/kibana/forks","keys_url":"https://api.github.com/repos/Nox911/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nox911/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nox911/kibana/teams","hooks_url":"https://api.github.com/repos/Nox911/kibana/hooks","issue_events_url":"https://api.github.com/repos/Nox911/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/Nox911/kibana/events","assignees_url":"https://api.github.com/repos/Nox911/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/Nox911/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/Nox911/kibana/tags","blobs_url":"https://api.github.com/repos/Nox911/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nox911/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nox911/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nox911/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nox911/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/Nox911/kibana/languages","stargazers_url":"https://api.github.com/repos/Nox911/kibana/stargazers","contributors_url":"https://api.github.com/repos/Nox911/kibana/contributors","subscribers_url":"https://api.github.com/repos/Nox911/kibana/subscribers","subscription_url":"https://api.github.com/repos/Nox911/kibana/subscription","commits_url":"https://api.github.com/repos/Nox911/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nox911/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nox911/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nox911/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nox911/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/Nox911/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nox911/kibana/merges","archive_url":"https://api.github.com/repos/Nox911/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nox911/kibana/downloads","issues_url":"https://api.github.com/repos/Nox911/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/Nox911/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/Nox911/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/Nox911/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nox911/kibana/labels{/name}","releases_url":"https://api.github.com/repos/Nox911/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/Nox911/kibana/deployments","created_at":"2018-09-21T10:59:08Z","updated_at":"2018-10-22T10:42:30Z","pushed_at":"2018-10-22T15:39:13Z","git_url":"git://github.com/Nox911/kibana.git","ssh_url":"git@github.com:Nox911/kibana.git","clone_url":"https://github.com/Nox911/kibana.git","svn_url":"https://github.com/Nox911/kibana","homepage":"https://www.elastic.co/products/kibana","size":482850,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"462229e90d3b11de14498bd670d7e88ceef2e756","user":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"node_id":"MDEwOlJlcG9zaXRvcnk3ODMzMTY4","name":"kibana","full_name":"elastic/kibana","private":false,"owner":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elastic/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2018-10-22T18:29:08Z","pushed_at":"2018-10-22T18:55:20Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":552476,"stargazers_count":10297,"watchers_count":10297,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4005,"mirror_url":null,"archived":false,"open_issues_count":3638,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4005,"open_issues":3638,"watchers":10297,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/23753"},"html":{"href":"https://github.com/elastic/kibana/pull/23753"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/23753"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/23753/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/23753/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/23753/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/4aa1a919490e5e0b400e320996a0b13708b8c717"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"clintandrewhall"}}