{"action":"created","comment":{"url":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments/88806886","pull_request_review_id":9369183,"id":88806886,"diff_hunk":"@@ -408,8 +416,8 @@ api.transferGems = {\n     if (receiver.preferences.pushNotifications.giftedGems !== false) {\n       sendPushNotification(receiver,\n         {\n-          title: res.t('giftedGems'),\n-          message: res.t('giftedGemsInfo', {amount: gemAmount, name: byUsername}),\n+          title: res.t('giftedGems', langs[0]),","path":"website/server/controllers/api-v3/members.js","position":48,"original_position":48,"commit_id":"c0e7e9ce007337ac454544c27df8eec4a95f021a","original_commit_id":"c0e7e9ce007337ac454544c27df8eec4a95f021a","user":{"login":"paglias","id":589911,"avatar_url":"https://avatars.githubusercontent.com/u/589911?v=3","gravatar_id":"","url":"https://api.github.com/users/paglias","html_url":"https://github.com/paglias","followers_url":"https://api.github.com/users/paglias/followers","following_url":"https://api.github.com/users/paglias/following{/other_user}","gists_url":"https://api.github.com/users/paglias/gists{/gist_id}","starred_url":"https://api.github.com/users/paglias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paglias/subscriptions","organizations_url":"https://api.github.com/users/paglias/orgs","repos_url":"https://api.github.com/users/paglias/repos","events_url":"https://api.github.com/users/paglias/events{/privacy}","received_events_url":"https://api.github.com/users/paglias/received_events","type":"User","site_admin":false},"body":"res.t automatically passes the user language to the translation function. If you want to pass a different value you'll want to use `i18n.t`","created_at":"2016-11-20T17:41:12Z","updated_at":"2016-11-20T17:41:12Z","html_url":"https://github.com/HabitRPG/habitica/pull/8173#discussion_r88806886","pull_request_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8173","_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments/88806886"},"html":{"href":"https://github.com/HabitRPG/habitica/pull/8173#discussion_r88806886"},"pull_request":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/8173"}}},"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8173","id":91196089,"html_url":"https://github.com/HabitRPG/habitica/pull/8173","diff_url":"https://github.com/HabitRPG/habitica/pull/8173.diff","patch_url":"https://github.com/HabitRPG/habitica/pull/8173.patch","issue_url":"https://api.github.com/repos/HabitRPG/habitica/issues/8173","number":8173,"state":"open","locked":false,"title":"transferGems: use receiver language translation for PM strings #7722","user":{"login":"lynxlynxlynx","id":121515,"avatar_url":"https://avatars.githubusercontent.com/u/121515?v=3","gravatar_id":"","url":"https://api.github.com/users/lynxlynxlynx","html_url":"https://github.com/lynxlynxlynx","followers_url":"https://api.github.com/users/lynxlynxlynx/followers","following_url":"https://api.github.com/users/lynxlynxlynx/following{/other_user}","gists_url":"https://api.github.com/users/lynxlynxlynx/gists{/gist_id}","starred_url":"https://api.github.com/users/lynxlynxlynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynxlynxlynx/subscriptions","organizations_url":"https://api.github.com/users/lynxlynxlynx/orgs","repos_url":"https://api.github.com/users/lynxlynxlynx/repos","events_url":"https://api.github.com/users/lynxlynxlynx/events{/privacy}","received_events_url":"https://api.github.com/users/lynxlynxlynx/received_events","type":"User","site_admin":false},"body":"Fixes #7722 \n\nIf a preferred language isn't set, it will automatically fall back to the default 'en' locale.\n\nUUID: 10c530d0-a796-476b-8a31-6f048c6e8a8c\n","created_at":"2016-10-27T13:01:22Z","updated_at":"2016-11-20T17:43:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2cdea9961b3d528c2ab58f598ee28df42e9e2f8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8173/commits","review_comments_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8173/comments","review_comment_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/issues/8173/comments","statuses_url":"https://api.github.com/repos/HabitRPG/habitica/statuses/c0e7e9ce007337ac454544c27df8eec4a95f021a","head":{"label":"lynxlynxlynx:7722","ref":"7722","sha":"c0e7e9ce007337ac454544c27df8eec4a95f021a","user":{"login":"lynxlynxlynx","id":121515,"avatar_url":"https://avatars.githubusercontent.com/u/121515?v=3","gravatar_id":"","url":"https://api.github.com/users/lynxlynxlynx","html_url":"https://github.com/lynxlynxlynx","followers_url":"https://api.github.com/users/lynxlynxlynx/followers","following_url":"https://api.github.com/users/lynxlynxlynx/following{/other_user}","gists_url":"https://api.github.com/users/lynxlynxlynx/gists{/gist_id}","starred_url":"https://api.github.com/users/lynxlynxlynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynxlynxlynx/subscriptions","organizations_url":"https://api.github.com/users/lynxlynxlynx/orgs","repos_url":"https://api.github.com/users/lynxlynxlynx/repos","events_url":"https://api.github.com/users/lynxlynxlynx/events{/privacy}","received_events_url":"https://api.github.com/users/lynxlynxlynx/received_events","type":"User","site_admin":false},"repo":{"id":61477021,"name":"habitrpg","full_name":"lynxlynxlynx/habitrpg","owner":{"login":"lynxlynxlynx","id":121515,"avatar_url":"https://avatars.githubusercontent.com/u/121515?v=3","gravatar_id":"","url":"https://api.github.com/users/lynxlynxlynx","html_url":"https://github.com/lynxlynxlynx","followers_url":"https://api.github.com/users/lynxlynxlynx/followers","following_url":"https://api.github.com/users/lynxlynxlynx/following{/other_user}","gists_url":"https://api.github.com/users/lynxlynxlynx/gists{/gist_id}","starred_url":"https://api.github.com/users/lynxlynxlynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynxlynxlynx/subscriptions","organizations_url":"https://api.github.com/users/lynxlynxlynx/orgs","repos_url":"https://api.github.com/users/lynxlynxlynx/repos","events_url":"https://api.github.com/users/lynxlynxlynx/events{/privacy}","received_events_url":"https://api.github.com/users/lynxlynxlynx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lynxlynxlynx/habitrpg","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":true,"url":"https://api.github.com/repos/lynxlynxlynx/habitrpg","forks_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/forks","keys_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/teams","hooks_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/hooks","issue_events_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/issues/events{/number}","events_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/events","assignees_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/assignees{/user}","branches_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/branches{/branch}","tags_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/tags","blobs_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/git/refs{/sha}","trees_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/statuses/{sha}","languages_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/languages","stargazers_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/stargazers","contributors_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/contributors","subscribers_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/subscribers","subscription_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/subscription","commits_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/commits{/sha}","git_commits_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/git/commits{/sha}","comments_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/comments{/number}","issue_comment_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/issues/comments{/number}","contents_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/contents/{+path}","compare_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/merges","archive_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/downloads","issues_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/issues{/number}","pulls_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/pulls{/number}","milestones_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/milestones{/number}","notifications_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/labels{/name}","releases_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/releases{/id}","deployments_url":"https://api.github.com/repos/lynxlynxlynx/habitrpg/deployments","created_at":"2016-06-19T11:28:48Z","updated_at":"2016-06-19T11:28:57Z","pushed_at":"2016-11-09T21:24:54Z","git_url":"git://github.com/lynxlynxlynx/habitrpg.git","ssh_url":"git@github.com:lynxlynxlynx/habitrpg.git","clone_url":"https://github.com/lynxlynxlynx/habitrpg.git","svn_url":"https://github.com/lynxlynxlynx/habitrpg","homepage":"https://habitica.com","size":479446,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"HabitRPG:develop","ref":"develop","sha":"696317ea8a657c2aeccd1a6d34f8ca1e3a87a3a8","user":{"login":"HabitRPG","id":3834775,"avatar_url":"https://avatars.githubusercontent.com/u/3834775?v=3","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"repo":{"id":4578898,"name":"habitica","full_name":"HabitRPG/habitica","owner":{"login":"HabitRPG","id":3834775,"avatar_url":"https://avatars.githubusercontent.com/u/3834775?v=3","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HabitRPG/habitica","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":false,"url":"https://api.github.com/repos/HabitRPG/habitica","forks_url":"https://api.github.com/repos/HabitRPG/habitica/forks","keys_url":"https://api.github.com/repos/HabitRPG/habitica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HabitRPG/habitica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HabitRPG/habitica/teams","hooks_url":"https://api.github.com/repos/HabitRPG/habitica/hooks","issue_events_url":"https://api.github.com/repos/HabitRPG/habitica/issues/events{/number}","events_url":"https://api.github.com/repos/HabitRPG/habitica/events","assignees_url":"https://api.github.com/repos/HabitRPG/habitica/assignees{/user}","branches_url":"https://api.github.com/repos/HabitRPG/habitica/branches{/branch}","tags_url":"https://api.github.com/repos/HabitRPG/habitica/tags","blobs_url":"https://api.github.com/repos/HabitRPG/habitica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HabitRPG/habitica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HabitRPG/habitica/git/refs{/sha}","trees_url":"https://api.github.com/repos/HabitRPG/habitica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HabitRPG/habitica/statuses/{sha}","languages_url":"https://api.github.com/repos/HabitRPG/habitica/languages","stargazers_url":"https://api.github.com/repos/HabitRPG/habitica/stargazers","contributors_url":"https://api.github.com/repos/HabitRPG/habitica/contributors","subscribers_url":"https://api.github.com/repos/HabitRPG/habitica/subscribers","subscription_url":"https://api.github.com/repos/HabitRPG/habitica/subscription","commits_url":"https://api.github.com/repos/HabitRPG/habitica/commits{/sha}","git_commits_url":"https://api.github.com/repos/HabitRPG/habitica/git/commits{/sha}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/comments{/number}","issue_comment_url":"https://api.github.com/repos/HabitRPG/habitica/issues/comments{/number}","contents_url":"https://api.github.com/repos/HabitRPG/habitica/contents/{+path}","compare_url":"https://api.github.com/repos/HabitRPG/habitica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HabitRPG/habitica/merges","archive_url":"https://api.github.com/repos/HabitRPG/habitica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HabitRPG/habitica/downloads","issues_url":"https://api.github.com/repos/HabitRPG/habitica/issues{/number}","pulls_url":"https://api.github.com/repos/HabitRPG/habitica/pulls{/number}","milestones_url":"https://api.github.com/repos/HabitRPG/habitica/milestones{/number}","notifications_url":"https://api.github.com/repos/HabitRPG/habitica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HabitRPG/habitica/labels{/name}","releases_url":"https://api.github.com/repos/HabitRPG/habitica/releases{/id}","deployments_url":"https://api.github.com/repos/HabitRPG/habitica/deployments","created_at":"2012-06-06T22:49:48Z","updated_at":"2016-11-19T16:52:00Z","pushed_at":"2016-11-20T04:23:00Z","git_url":"git://github.com/HabitRPG/habitica.git","ssh_url":"git@github.com:HabitRPG/habitica.git","clone_url":"https://github.com/HabitRPG/habitica.git","svn_url":"https://github.com/HabitRPG/habitica","homepage":"https://habitica.com","size":561683,"stargazers_count":4364,"watchers_count":4364,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1852,"mirror_url":null,"open_issues_count":362,"forks":1852,"open_issues":362,"watchers":4364,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/8173"},"html":{"href":"https://github.com/HabitRPG/habitica/pull/8173"},"issue":{"href":"https://api.github.com/repos/HabitRPG/habitica/issues/8173"},"comments":{"href":"https://api.github.com/repos/HabitRPG/habitica/issues/8173/comments"},"review_comments":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/8173/comments"},"review_comment":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/8173/commits"},"statuses":{"href":"https://api.github.com/repos/HabitRPG/habitica/statuses/c0e7e9ce007337ac454544c27df8eec4a95f021a"}}}}
{"actor":{"display_login":"paglias"}}