{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/3364","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/3364/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/3364/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/3364/events","html_url":"https://github.com/Automattic/wp-calypso/pull/3364","id":134254208,"number":3364,"title":"i18n: Make texts easier to translate with fewer components","user":{"login":"akirk","id":203408,"avatar_url":"https://avatars.githubusercontent.com/u/203408?v=3","gravatar_id":"","url":"https://api.github.com/users/akirk","html_url":"https://github.com/akirk","followers_url":"https://api.github.com/users/akirk/followers","following_url":"https://api.github.com/users/akirk/following{/other_user}","gists_url":"https://api.github.com/users/akirk/gists{/gist_id}","starred_url":"https://api.github.com/users/akirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akirk/subscriptions","organizations_url":"https://api.github.com/users/akirk/orgs","repos_url":"https://api.github.com/users/akirk/repos","events_url":"https://api.github.com/users/akirk/events{/privacy}","received_events_url":"https://api.github.com/users/akirk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/i18n","name":"i18n","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Purchases","name":"Purchases","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-17T11:25:35Z","updated_at":"2016-04-26T22:54:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/3364","html_url":"https://github.com/Automattic/wp-calypso/pull/3364","diff_url":"https://github.com/Automattic/wp-calypso/pull/3364.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/3364.patch"},"body":"In these texts we have quite a few components of the form: `{{tag}}%(variable){{/tag}`\r\n\r\nTo a translator this is potentially very confusing text. Therefore, if a tag includes only a variable, we can make the whole thing a component: `{{variable/}}` and use `{ components: { variable: <tag>{ variable }</tag> } }`\r\n\r\n@drewblaisdell this affects your strings at \"Remove Purchase\" but I have a hard time testing the strings if my approach really works. Could you please try? Thanks!"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/214912379","html_url":"https://github.com/Automattic/wp-calypso/pull/3364#issuecomment-214912379","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/3364","id":214912379,"user":{"login":"gwwar","id":1270189,"avatar_url":"https://avatars.githubusercontent.com/u/1270189?v=3","gravatar_id":"","url":"https://api.github.com/users/gwwar","html_url":"https://github.com/gwwar","followers_url":"https://api.github.com/users/gwwar/followers","following_url":"https://api.github.com/users/gwwar/following{/other_user}","gists_url":"https://api.github.com/users/gwwar/gists{/gist_id}","starred_url":"https://api.github.com/users/gwwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwwar/subscriptions","organizations_url":"https://api.github.com/users/gwwar/orgs","repos_url":"https://api.github.com/users/gwwar/repos","events_url":"https://api.github.com/users/gwwar/events{/privacy}","received_events_url":"https://api.github.com/users/gwwar/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T22:54:55Z","updated_at":"2016-04-26T22:54:55Z","body":"👍  Tested. 🚢 "}}