{"action":"created","issue":{"url":"https://api.github.com/repos/grow/grow/issues/284","repository_url":"https://api.github.com/repos/grow/grow","labels_url":"https://api.github.com/repos/grow/grow/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/grow/grow/issues/284/comments","events_url":"https://api.github.com/repos/grow/grow/issues/284/events","html_url":"https://github.com/grow/grow/issues/284","id":172504801,"number":284,"title":"Translator comments not extracted for duplicate instances of tagged strings","user":{"login":"WillsB3","id":868834,"avatar_url":"https://avatars.githubusercontent.com/u/868834?v=3","gravatar_id":"","url":"https://api.github.com/users/WillsB3","html_url":"https://github.com/WillsB3","followers_url":"https://api.github.com/users/WillsB3/followers","following_url":"https://api.github.com/users/WillsB3/following{/other_user}","gists_url":"https://api.github.com/users/WillsB3/gists{/gist_id}","starred_url":"https://api.github.com/users/WillsB3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillsB3/subscriptions","organizations_url":"https://api.github.com/users/WillsB3/orgs","repos_url":"https://api.github.com/users/WillsB3/repos","events_url":"https://api.github.com/users/WillsB3/events{/privacy}","received_events_url":"https://api.github.com/users/WillsB3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-22T17:08:39Z","updated_at":"2016-09-12T10:26:23Z","closed_at":null,"body":"If I have a translation tagged string like this in my doc:\r\n\r\n```yaml\r\nthing_a@#: Here is a handy description of what the context of \"Hello\" is to assist translators.\r\nthing_a@: Hello\r\n```\r\n\r\nand I have the exact same string in another doc, but have not provided a translator comment, like so:\r\n\r\n```yaml\r\nthing_b@: Hello\r\n```\r\n\r\nThe translator comment provided in `thing_a@#` doesn't get extracted to the .po file with the actual string for `thing_a`/`thing_b`. \r\n\r\nNow, in my use case we've not had an instance where the same word has been used in multiple contexts, but I see that as potentially being a problem - If I provide a different translator comment for each occurrence of the word \"Hello\" should both comments be extracted into the .po...?\r\n\r\nShould these be treated as two separate strings in the .po?...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grow/grow/issues/comments/246308078","html_url":"https://github.com/grow/grow/issues/284#issuecomment-246308078","issue_url":"https://api.github.com/repos/grow/grow/issues/284","id":246308078,"user":{"login":"stucox","id":1165817,"avatar_url":"https://avatars.githubusercontent.com/u/1165817?v=3","gravatar_id":"","url":"https://api.github.com/users/stucox","html_url":"https://github.com/stucox","followers_url":"https://api.github.com/users/stucox/followers","following_url":"https://api.github.com/users/stucox/following{/other_user}","gists_url":"https://api.github.com/users/stucox/gists{/gist_id}","starred_url":"https://api.github.com/users/stucox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stucox/subscriptions","organizations_url":"https://api.github.com/users/stucox/orgs","repos_url":"https://api.github.com/users/stucox/repos","events_url":"https://api.github.com/users/stucox/events{/privacy}","received_events_url":"https://api.github.com/users/stucox/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T10:26:23Z","updated_at":"2016-09-12T10:26:23Z","body":"Maybe they should be written to the PO as `msgctxt` rather than comments? The PO spec allows duplicate msgids, as long as they have different msgctxts."}}
{"actor":{"display_login":"stucox"}}