{"action":"created","issue":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2335","repository_url":"https://api.github.com/repos/cfpb/cfgov-refresh","labels_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2335/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2335/comments","events_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2335/events","html_url":"https://github.com/cfpb/cfgov-refresh/pull/2335","id":172778891,"number":2335,"title":"Hotfix: Spanish molecule translations","user":{"login":"Scotchester","id":1044670,"avatar_url":"https://avatars.githubusercontent.com/u/1044670?v=3","gravatar_id":"","url":"https://api.github.com/users/Scotchester","html_url":"https://github.com/Scotchester","followers_url":"https://api.github.com/users/Scotchester/followers","following_url":"https://api.github.com/users/Scotchester/following{/other_user}","gists_url":"https://api.github.com/users/Scotchester/gists{/gist_id}","starred_url":"https://api.github.com/users/Scotchester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scotchester/subscriptions","organizations_url":"https://api.github.com/users/Scotchester/orgs","repos_url":"https://api.github.com/users/Scotchester/repos","events_url":"https://api.github.com/users/Scotchester/events{/privacy}","received_events_url":"https://api.github.com/users/Scotchester/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-23T18:57:03Z","updated_at":"2016-08-23T20:57:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/2335","html_url":"https://github.com/cfpb/cfgov-refresh/pull/2335","diff_url":"https://github.com/cfpb/cfgov-refresh/pull/2335.diff","patch_url":"https://github.com/cfpb/cfgov-refresh/pull/2335.patch"},"body":"We're launching Money as You Grow in Spanish on September 1st. The pages (unlike the existing English pages, which live in the fin-ed-resources repo) will be build in Wagtail. Consequently, they need the microcopy on a few choice modules to be in Spanish.\r\n\r\nThis needs to be a hotfix because the next regularly-scheduled release is Tuesday, September 6th.\r\n\r\n## Additions\r\n\r\n- Added support for Spanish-language cue labels to the Expandables organism.\r\n- Added support for Spanish-language heading to the Social Media molecule.\r\n\r\n## Testing\r\n\r\n1. Pull branch\r\n2. `gulp styles`\r\n3. `runserver`\r\n4. Create a new Browse page in your local Wagtail instance.\r\n5. Add an Expandable to the main content area, and a Social Media module (in sharing mode) to the sidefoot.\r\n6. Preview it.\r\n7. Observe the cue labels on the Expandable and the heading on the Social Media module _en español_.\r\n\r\n## Review\r\n\r\n- @cfpb/cfgov-frontends \r\n\r\n## Screenshots\r\n\r\n![screen shot 2016-08-23 at 14 54 30](https://cloud.githubusercontent.com/assets/1044670/17905587/87d59a48-6941-11e6-858a-acf5b75bfc7d.png)\r\n\r\n## Notes\r\n\r\n- This is a quick-and-dirty, won't-scale-for-more-languages implementation. If someone is willing to help me figure out how to actually test for the language of the page in the template for an atomic module and output the text appropriately there, that would probably be the better route to go.\r\n\r\n## Checklist\r\n\r\n* [ ] Changes are limited to a single goal (no scope creep)\r\n* [ ] Code can be automatically merged (no conflicts)\r\n* [ ] Code follows the standards laid out in the [front end playbook](https://github.com/cfpb/front-end)\r\n* [ ] Passes all existing automated tests\r\n* [ ] New functions include new tests\r\n* [ ] New functions are documented (with a description, list of inputs, and expected output)\r\n* [ ] Placeholder code is flagged\r\n* [ ] Visually tested in supported browsers and devices\r\n* [ ] Project documentation has been updated (including the \"Unreleased\" section of the CHANGELOG)\r\n"},"comment":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/comments/241876128","html_url":"https://github.com/cfpb/cfgov-refresh/pull/2335#issuecomment-241876128","issue_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/2335","id":241876128,"user":{"login":"Scotchester","id":1044670,"avatar_url":"https://avatars.githubusercontent.com/u/1044670?v=3","gravatar_id":"","url":"https://api.github.com/users/Scotchester","html_url":"https://github.com/Scotchester","followers_url":"https://api.github.com/users/Scotchester/followers","following_url":"https://api.github.com/users/Scotchester/following{/other_user}","gists_url":"https://api.github.com/users/Scotchester/gists{/gist_id}","starred_url":"https://api.github.com/users/Scotchester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scotchester/subscriptions","organizations_url":"https://api.github.com/users/Scotchester/orgs","repos_url":"https://api.github.com/users/Scotchester/repos","events_url":"https://api.github.com/users/Scotchester/events{/privacy}","received_events_url":"https://api.github.com/users/Scotchester/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T20:57:42Z","updated_at":"2016-08-23T20:57:42Z","body":"@rosskarchner Doesn't work immediately (`'page' is undefined`) but I see that there are other module templates that are accessing `page`.\r\n\r\nTalking out of my butt here, but maybe it's that the `page` context is not passed down through the `render_stream_child` method?"}}
{"actor":{"display_login":"Scotchester"}}