{"action":"closed","issue":{"url":"https://api.github.com/repos/decidim/decidim/issues/1438","repository_url":"https://api.github.com/repos/decidim/decidim","labels_url":"https://api.github.com/repos/decidim/decidim/issues/1438/labels{/name}","comments_url":"https://api.github.com/repos/decidim/decidim/issues/1438/comments","events_url":"https://api.github.com/repos/decidim/decidim/issues/1438/events","html_url":"https://github.com/decidim/decidim/issues/1438","id":233365444,"number":1438,"title":"Wrong locale used when notifying about a comment reply","user":{"login":"oriolgual","id":5254,"avatar_url":"https://avatars0.githubusercontent.com/u/5254?v=3","gravatar_id":"","url":"https://api.github.com/users/oriolgual","html_url":"https://github.com/oriolgual","followers_url":"https://api.github.com/users/oriolgual/followers","following_url":"https://api.github.com/users/oriolgual/following{/other_user}","gists_url":"https://api.github.com/users/oriolgual/gists{/gist_id}","starred_url":"https://api.github.com/users/oriolgual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oriolgual/subscriptions","organizations_url":"https://api.github.com/users/oriolgual/orgs","repos_url":"https://api.github.com/users/oriolgual/repos","events_url":"https://api.github.com/users/oriolgual/events{/privacy}","received_events_url":"https://api.github.com/users/oriolgual/received_events","type":"User","site_admin":false},"labels":[{"id":536010293,"url":"https://api.github.com/repos/decidim/decidim/labels/comments","name":"comments","color":"ffdb99","default":false},{"id":457402355,"url":"https://api.github.com/repos/decidim/decidim/labels/in-progress","name":"in-progress","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":{"login":"lastpotion","id":953911,"avatar_url":"https://avatars0.githubusercontent.com/u/953911?v=3","gravatar_id":"","url":"https://api.github.com/users/lastpotion","html_url":"https://github.com/lastpotion","followers_url":"https://api.github.com/users/lastpotion/followers","following_url":"https://api.github.com/users/lastpotion/following{/other_user}","gists_url":"https://api.github.com/users/lastpotion/gists{/gist_id}","starred_url":"https://api.github.com/users/lastpotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lastpotion/subscriptions","organizations_url":"https://api.github.com/users/lastpotion/orgs","repos_url":"https://api.github.com/users/lastpotion/repos","events_url":"https://api.github.com/users/lastpotion/events{/privacy}","received_events_url":"https://api.github.com/users/lastpotion/received_events","type":"User","site_admin":false},"assignees":[{"login":"lastpotion","id":953911,"avatar_url":"https://avatars0.githubusercontent.com/u/953911?v=3","gravatar_id":"","url":"https://api.github.com/users/lastpotion","html_url":"https://github.com/lastpotion","followers_url":"https://api.github.com/users/lastpotion/followers","following_url":"https://api.github.com/users/lastpotion/following{/other_user}","gists_url":"https://api.github.com/users/lastpotion/gists{/gist_id}","starred_url":"https://api.github.com/users/lastpotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lastpotion/subscriptions","organizations_url":"https://api.github.com/users/lastpotion/orgs","repos_url":"https://api.github.com/users/lastpotion/repos","events_url":"https://api.github.com/users/lastpotion/events{/privacy}","received_events_url":"https://api.github.com/users/lastpotion/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-06-03T12:05:19Z","updated_at":"2017-06-05T11:03:18Z","closed_at":"2017-06-05T11:03:18Z","body":"<!--\r\n1. Please check if an issue already exists so there are no duplicates\r\n2. Fill out the whole template so we have a good overview on the issue\r\n3. Do not remove any section of the template. If something is not applicable leave it empty but leave it in the Issue\r\n4. Please follow the template, otherwise we'll have to ask you to update it\r\n-->\r\n\r\n# This is a Bug Report\r\n\r\n#### :tophat: Description\r\n\r\n* What went wrong?\r\nHaving my main locale set as Catalan I received a comment reply notification in Spanish.\r\n\r\n* What did you expect should have happened?\r\nI should have received an email in Catalan.\r\n\r\n* What was the config you used?\r\nStandard.\r\n\r\n* What stacktrace or error message from your provider did you see?\r\nN/A\r\n\r\nWe're using the locale of the author that replied instead of the author of the commentable when sending the email, see https://github.com/decidim/decidim/blob/bc59b1a2406a661bce4ef8b621b7ca233b1f9928/decidim-comments/app/mailers/decidim/comments/comment_notification_mailer.rb#L22-L30\r\n\r\n#### :pushpin: Related issues\r\n* #706 \r\n\r\n#### :clipboard: Additional Data\r\n\r\n* ***Decidim deployment where you found the issue***: Terrassa\r\n"}}
{"actor":{"display_login":"lastpotion"}}