{"action":"created","comment":{"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/comments/198508933","pull_request_review_id":132450164,"id":198508933,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODUwODkzMw==","diff_hunk":"@@ -5,8 +5,8 @@\n {% block submit_button %}\n \n {% if content.summary and content.summary.summary_type == 'SectionSummary' %}\n-    <button class=\"btn btn--primary btn--lg btn--loader js-btn-submit\" data-qa=\"btn-submit\">Continue</button>\n+    <button class=\"btn btn--primary btn--lg btn--loader js-btn-submit\" data-qa=\"btn-submit\">{{ _(\"Continue\") }}</button>\n {% else  %}\n-    <button class=\"btn btn--primary btn--lg btn--loader js-btn-submit\" data-qa=\"btn-submit\" data-loading-msg=\"Submitting&hellip;\" type=\"submit\">Submit answers</button>\n+    <button class=\"btn btn--primary btn--lg btn--loader js-btn-submit\" data-qa=\"btn-submit\" data-loading-msg=\"Submitting&hellip;\" type=\"submit\">{{ _(\"Submit answers\") }}</button>","path":"app/templates/confirmation.html","position":8,"original_position":8,"commit_id":"736486daabef71a71a69f0ddb1640b706caf7315","original_commit_id":"736486daabef71a71a69f0ddb1640b706caf7315","user":{"login":"dwyeradam","id":28533375,"node_id":"MDQ6VXNlcjI4NTMzMzc1","avatar_url":"https://avatars1.githubusercontent.com/u/28533375?v=4","gravatar_id":"","url":"https://api.github.com/users/dwyeradam","html_url":"https://github.com/dwyeradam","followers_url":"https://api.github.com/users/dwyeradam/followers","following_url":"https://api.github.com/users/dwyeradam/following{/other_user}","gists_url":"https://api.github.com/users/dwyeradam/gists{/gist_id}","starred_url":"https://api.github.com/users/dwyeradam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwyeradam/subscriptions","organizations_url":"https://api.github.com/users/dwyeradam/orgs","repos_url":"https://api.github.com/users/dwyeradam/repos","events_url":"https://api.github.com/users/dwyeradam/events{/privacy}","received_events_url":"https://api.github.com/users/dwyeradam/received_events","type":"User","site_admin":false},"body":"@nealedj How would I identify these? When are they used?","created_at":"2018-06-27T14:08:46Z","updated_at":"2018-06-27T14:08:46Z","html_url":"https://github.com/ONSdigital/eq-survey-runner/pull/1643#discussion_r198508933","pull_request_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1643","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/comments/198508933"},"html":{"href":"https://github.com/ONSdigital/eq-survey-runner/pull/1643#discussion_r198508933"},"pull_request":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1643"}},"in_reply_to_id":198444138},"pull_request":{"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1643","id":196169351,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MTY5MzUx","html_url":"https://github.com/ONSdigital/eq-survey-runner/pull/1643","diff_url":"https://github.com/ONSdigital/eq-survey-runner/pull/1643.diff","patch_url":"https://github.com/ONSdigital/eq-survey-runner/pull/1643.patch","issue_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/1643","number":1643,"state":"open","locked":false,"title":"Mark static content for translation","user":{"login":"dwyeradam","id":28533375,"node_id":"MDQ6VXNlcjI4NTMzMzc1","avatar_url":"https://avatars1.githubusercontent.com/u/28533375?v=4","gravatar_id":"","url":"https://api.github.com/users/dwyeradam","html_url":"https://github.com/dwyeradam","followers_url":"https://api.github.com/users/dwyeradam/followers","following_url":"https://api.github.com/users/dwyeradam/following{/other_user}","gists_url":"https://api.github.com/users/dwyeradam/gists{/gist_id}","starred_url":"https://api.github.com/users/dwyeradam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwyeradam/subscriptions","organizations_url":"https://api.github.com/users/dwyeradam/orgs","repos_url":"https://api.github.com/users/dwyeradam/repos","events_url":"https://api.github.com/users/dwyeradam/events{/privacy}","received_events_url":"https://api.github.com/users/dwyeradam/received_events","type":"User","site_admin":false},"body":"### What is the context of this PR?\r\nMark any static content that could get rendered as translatable.\r\nThis includes html, error messages etc.\r\n\r\n### How to review \r\nChange setting `BABEL_DEFAULT_LOCALE` to `'cy'` in **settings.py**\r\nRun: `pybabel init -i app/translations/messages.pot -d app/translations -l cy`\r\n\r\nSwap `app/translations/cy/LC_MESSAGES/messages.po` with this [messages.txt](https://github.com/ONSdigital/eq-survey-runner/files/2120174/messages.txt) and change suffix to **.po** rather than **.txt**. \r\n\r\nRun: `pybabel compile -d app/translations`\r\n\r\nNow you're ready to go. Load any schema and all static content should be in Welsh (albeit poorly translated). \r\n\r\nI'm bound to have missed something so try to test as many page types as you can.","created_at":"2018-06-20T14:51:59Z","updated_at":"2018-06-27T14:08:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d16d420d2f6e67e2e48f26d61fda9a66488c410","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1643/commits","review_comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1643/comments","review_comment_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/1643/comments","statuses_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/statuses/736486daabef71a71a69f0ddb1640b706caf7315","head":{"label":"ONSdigital:eq-2154-static-content-translation","ref":"eq-2154-static-content-translation","sha":"736486daabef71a71a69f0ddb1640b706caf7315","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":49205589,"node_id":"MDEwOlJlcG9zaXRvcnk0OTIwNTU4OQ==","name":"eq-survey-runner","full_name":"ONSdigital/eq-survey-runner","owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/eq-survey-runner","description":"eQ Survey Runner","fork":false,"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner","forks_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/forks","keys_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/teams","hooks_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/events","assignees_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/tags","blobs_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/subscription","commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/merges","archive_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/downloads","issues_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/deployments","created_at":"2016-01-07T13:15:26Z","updated_at":"2018-06-27T11:57:34Z","pushed_at":"2018-06-27T11:57:46Z","git_url":"git://github.com/ONSdigital/eq-survey-runner.git","ssh_url":"git@github.com:ONSdigital/eq-survey-runner.git","clone_url":"https://github.com/ONSdigital/eq-survey-runner.git","svn_url":"https://github.com/ONSdigital/eq-survey-runner","homepage":null,"size":15626,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":25,"watchers":10,"default_branch":"master"}},"base":{"label":"ONSdigital:master","ref":"master","sha":"7a9ead81f04de301f693c73d77e5fd262a7c5b03","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":49205589,"node_id":"MDEwOlJlcG9zaXRvcnk0OTIwNTU4OQ==","name":"eq-survey-runner","full_name":"ONSdigital/eq-survey-runner","owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/eq-survey-runner","description":"eQ Survey Runner","fork":false,"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner","forks_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/forks","keys_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/teams","hooks_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/events","assignees_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/tags","blobs_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/subscription","commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/merges","archive_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/downloads","issues_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/deployments","created_at":"2016-01-07T13:15:26Z","updated_at":"2018-06-27T11:57:34Z","pushed_at":"2018-06-27T11:57:46Z","git_url":"git://github.com/ONSdigital/eq-survey-runner.git","ssh_url":"git@github.com:ONSdigital/eq-survey-runner.git","clone_url":"https://github.com/ONSdigital/eq-survey-runner.git","svn_url":"https://github.com/ONSdigital/eq-survey-runner","homepage":null,"size":15626,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":25,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1643"},"html":{"href":"https://github.com/ONSdigital/eq-survey-runner/pull/1643"},"issue":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/1643"},"comments":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/1643/comments"},"review_comments":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1643/comments"},"review_comment":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/pulls/1643/commits"},"statuses":{"href":"https://api.github.com/repos/ONSdigital/eq-survey-runner/statuses/736486daabef71a71a69f0ddb1640b706caf7315"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dwyeradam"}}