{"action":"created","comment":{"url":"https://api.github.com/repos/gocardless/splash-pages/pulls/comments/30787782","id":30787782,"diff_hunk":"@@ -9,19 +9,18 @@ import Translation from '../translation/translation';\n import SchemaItemProp from '../schema-item-prop/schema-item-prop';\n import { homeRoute } from '../../router/routes';\n import { getLocalesForRouteName } from '../../router/route-helpers';\n-import { getMessage } from '../intl/intl';\n import Popover from '../popover/popover';\n import Flag from '../flag/flag';\n import { localeToRegion } from '../../helpers/locale-helper/locale-helper';\n import { PropTypes } from '../../helpers/prop-types/prop-types';\n import CheckmarkIcon from '../../icons/svg/checkmark';\n \n-function buildAvailableLocalePages(currentLocale, siteLocales, messages) {\n+function buildAvailableLocalePages(currentLocale, siteLocales, availableCountryNames) {\n   const availableLocales = Object.keys(siteLocales).map(function(locale) {\n     const isActive = currentLocale === locale;\n     const path = siteLocales[locale].path;\n-    const name = getMessage(messages, `country_names.${locale}`);\n-    return {locale, isActive, path, name};\n+    const name = availableCountryNames[locale];\n+    return {locale, isActive, path, name };","path":"app/components/footer/footer.js","position":19,"original_position":19,"commit_id":"ca1bc7d755192716c90025268d3bb0f398570d0d","original_commit_id":"ca1bc7d755192716c90025268d3bb0f398570d0d","user":{"login":"english","id":597448,"avatar_url":"https://avatars.githubusercontent.com/u/597448?v=3","gravatar_id":"","url":"https://api.github.com/users/english","html_url":"https://github.com/english","followers_url":"https://api.github.com/users/english/followers","following_url":"https://api.github.com/users/english/following{/other_user}","gists_url":"https://api.github.com/users/english/gists{/gist_id}","starred_url":"https://api.github.com/users/english/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/english/subscriptions","organizations_url":"https://api.github.com/users/english/orgs","repos_url":"https://api.github.com/users/english/repos","events_url":"https://api.github.com/users/english/events{/privacy}","received_events_url":"https://api.github.com/users/english/received_events","type":"User","site_admin":false},"body":"Do you know why `eslint` didn't pick up on the spacing here?","created_at":"2015-05-21T09:55:47Z","updated_at":"2015-05-21T09:55:47Z","html_url":"https://github.com/gocardless/splash-pages/pull/147#discussion_r30787782","pull_request_url":"https://api.github.com/repos/gocardless/splash-pages/pulls/147","_links":{"self":{"href":"https://api.github.com/repos/gocardless/splash-pages/pulls/comments/30787782"},"html":{"href":"https://github.com/gocardless/splash-pages/pull/147#discussion_r30787782"},"pull_request":{"href":"https://api.github.com/repos/gocardless/splash-pages/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/gocardless/splash-pages/pulls/147","id":35855246,"html_url":"https://github.com/gocardless/splash-pages/pull/147","diff_url":"https://github.com/gocardless/splash-pages/pull/147.diff","patch_url":"https://github.com/gocardless/splash-pages/pull/147.patch","issue_url":"https://api.github.com/repos/gocardless/splash-pages/issues/147","number":147,"state":"open","locked":false,"title":"Show couuntry name in target lang","user":{"login":"harrison","id":20165,"avatar_url":"https://avatars.githubusercontent.com/u/20165?v=3","gravatar_id":"","url":"https://api.github.com/users/harrison","html_url":"https://github.com/harrison","followers_url":"https://api.github.com/users/harrison/followers","following_url":"https://api.github.com/users/harrison/following{/other_user}","gists_url":"https://api.github.com/users/harrison/gists{/gist_id}","starred_url":"https://api.github.com/users/harrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrison/subscriptions","organizations_url":"https://api.github.com/users/harrison/orgs","repos_url":"https://api.github.com/users/harrison/repos","events_url":"https://api.github.com/users/harrison/events{/privacy}","received_events_url":"https://api.github.com/users/harrison/received_events","type":"User","site_admin":false},"body":"Shows country name in country selector in the target language.\r\n\r\nFixes: https://github.com/gocardless/splash-pages/issues/72","created_at":"2015-05-20T17:18:43Z","updated_at":"2015-05-21T09:55:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b060cb702caaf6207a7277d67c2a8c28abe36da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gocardless/splash-pages/pulls/147/commits","review_comments_url":"https://api.github.com/repos/gocardless/splash-pages/pulls/147/comments","review_comment_url":"https://api.github.com/repos/gocardless/splash-pages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocardless/splash-pages/issues/147/comments","statuses_url":"https://api.github.com/repos/gocardless/splash-pages/statuses/ca1bc7d755192716c90025268d3bb0f398570d0d","head":{"label":"gocardless:show-country-name-in-target-lang","ref":"show-country-name-in-target-lang","sha":"ca1bc7d755192716c90025268d3bb0f398570d0d","user":{"login":"gocardless","id":790629,"avatar_url":"https://avatars.githubusercontent.com/u/790629?v=3","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"repo":{"id":33721890,"name":"splash-pages","full_name":"gocardless/splash-pages","owner":{"login":"gocardless","id":790629,"avatar_url":"https://avatars.githubusercontent.com/u/790629?v=3","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocardless/splash-pages","description":"gocardless.com Splash Pages","fork":false,"url":"https://api.github.com/repos/gocardless/splash-pages","forks_url":"https://api.github.com/repos/gocardless/splash-pages/forks","keys_url":"https://api.github.com/repos/gocardless/splash-pages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocardless/splash-pages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocardless/splash-pages/teams","hooks_url":"https://api.github.com/repos/gocardless/splash-pages/hooks","issue_events_url":"https://api.github.com/repos/gocardless/splash-pages/issues/events{/number}","events_url":"https://api.github.com/repos/gocardless/splash-pages/events","assignees_url":"https://api.github.com/repos/gocardless/splash-pages/assignees{/user}","branches_url":"https://api.github.com/repos/gocardless/splash-pages/branches{/branch}","tags_url":"https://api.github.com/repos/gocardless/splash-pages/tags","blobs_url":"https://api.github.com/repos/gocardless/splash-pages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocardless/splash-pages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocardless/splash-pages/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocardless/splash-pages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocardless/splash-pages/statuses/{sha}","languages_url":"https://api.github.com/repos/gocardless/splash-pages/languages","stargazers_url":"https://api.github.com/repos/gocardless/splash-pages/stargazers","contributors_url":"https://api.github.com/repos/gocardless/splash-pages/contributors","subscribers_url":"https://api.github.com/repos/gocardless/splash-pages/subscribers","subscription_url":"https://api.github.com/repos/gocardless/splash-pages/subscription","commits_url":"https://api.github.com/repos/gocardless/splash-pages/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocardless/splash-pages/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocardless/splash-pages/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocardless/splash-pages/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocardless/splash-pages/contents/{+path}","compare_url":"https://api.github.com/repos/gocardless/splash-pages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocardless/splash-pages/merges","archive_url":"https://api.github.com/repos/gocardless/splash-pages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocardless/splash-pages/downloads","issues_url":"https://api.github.com/repos/gocardless/splash-pages/issues{/number}","pulls_url":"https://api.github.com/repos/gocardless/splash-pages/pulls{/number}","milestones_url":"https://api.github.com/repos/gocardless/splash-pages/milestones{/number}","notifications_url":"https://api.github.com/repos/gocardless/splash-pages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocardless/splash-pages/labels{/name}","releases_url":"https://api.github.com/repos/gocardless/splash-pages/releases{/id}","created_at":"2015-04-10T10:02:43Z","updated_at":"2015-05-20T17:11:38Z","pushed_at":"2015-05-21T09:34:55Z","git_url":"git://github.com/gocardless/splash-pages.git","ssh_url":"git@github.com:gocardless/splash-pages.git","clone_url":"https://github.com/gocardless/splash-pages.git","svn_url":"https://github.com/gocardless/splash-pages","homepage":"","size":15888,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"dev"}},"base":{"label":"gocardless:dev","ref":"dev","sha":"1ef71f9df1c1aaf5ac80129ff8eaea5281d6a776","user":{"login":"gocardless","id":790629,"avatar_url":"https://avatars.githubusercontent.com/u/790629?v=3","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"repo":{"id":33721890,"name":"splash-pages","full_name":"gocardless/splash-pages","owner":{"login":"gocardless","id":790629,"avatar_url":"https://avatars.githubusercontent.com/u/790629?v=3","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocardless/splash-pages","description":"gocardless.com Splash Pages","fork":false,"url":"https://api.github.com/repos/gocardless/splash-pages","forks_url":"https://api.github.com/repos/gocardless/splash-pages/forks","keys_url":"https://api.github.com/repos/gocardless/splash-pages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocardless/splash-pages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocardless/splash-pages/teams","hooks_url":"https://api.github.com/repos/gocardless/splash-pages/hooks","issue_events_url":"https://api.github.com/repos/gocardless/splash-pages/issues/events{/number}","events_url":"https://api.github.com/repos/gocardless/splash-pages/events","assignees_url":"https://api.github.com/repos/gocardless/splash-pages/assignees{/user}","branches_url":"https://api.github.com/repos/gocardless/splash-pages/branches{/branch}","tags_url":"https://api.github.com/repos/gocardless/splash-pages/tags","blobs_url":"https://api.github.com/repos/gocardless/splash-pages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocardless/splash-pages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocardless/splash-pages/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocardless/splash-pages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocardless/splash-pages/statuses/{sha}","languages_url":"https://api.github.com/repos/gocardless/splash-pages/languages","stargazers_url":"https://api.github.com/repos/gocardless/splash-pages/stargazers","contributors_url":"https://api.github.com/repos/gocardless/splash-pages/contributors","subscribers_url":"https://api.github.com/repos/gocardless/splash-pages/subscribers","subscription_url":"https://api.github.com/repos/gocardless/splash-pages/subscription","commits_url":"https://api.github.com/repos/gocardless/splash-pages/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocardless/splash-pages/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocardless/splash-pages/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocardless/splash-pages/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocardless/splash-pages/contents/{+path}","compare_url":"https://api.github.com/repos/gocardless/splash-pages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocardless/splash-pages/merges","archive_url":"https://api.github.com/repos/gocardless/splash-pages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocardless/splash-pages/downloads","issues_url":"https://api.github.com/repos/gocardless/splash-pages/issues{/number}","pulls_url":"https://api.github.com/repos/gocardless/splash-pages/pulls{/number}","milestones_url":"https://api.github.com/repos/gocardless/splash-pages/milestones{/number}","notifications_url":"https://api.github.com/repos/gocardless/splash-pages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocardless/splash-pages/labels{/name}","releases_url":"https://api.github.com/repos/gocardless/splash-pages/releases{/id}","created_at":"2015-04-10T10:02:43Z","updated_at":"2015-05-20T17:11:38Z","pushed_at":"2015-05-21T09:34:55Z","git_url":"git://github.com/gocardless/splash-pages.git","ssh_url":"git@github.com:gocardless/splash-pages.git","clone_url":"https://github.com/gocardless/splash-pages.git","svn_url":"https://github.com/gocardless/splash-pages","homepage":"","size":15888,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/gocardless/splash-pages/pulls/147"},"html":{"href":"https://github.com/gocardless/splash-pages/pull/147"},"issue":{"href":"https://api.github.com/repos/gocardless/splash-pages/issues/147"},"comments":{"href":"https://api.github.com/repos/gocardless/splash-pages/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/gocardless/splash-pages/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/gocardless/splash-pages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocardless/splash-pages/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/gocardless/splash-pages/statuses/ca1bc7d755192716c90025268d3bb0f398570d0d"}}}}