{"action":"created","comment":{"url":"https://api.github.com/repos/hanazuki/railstutorial/pulls/comments/33664346","id":33664346,"diff_hunk":"@@ -2,11 +2,11 @@ class UserMailer < ApplicationMailer\n \n   def account_activation(user)\n     @user = user\n-    mail to: user.email, subject: 'Account activation'\n+    mail to: user.email\n   end\n \n   def password_reset(user)\n     @user = user\n-    mail to: user.email, subject: 'Password reset'\n+    mail to: user.email","path":"app/mailers/user_mailer.rb","position":11,"original_position":11,"commit_id":"3cd0adbc227957f08028347acde8cc3df329a42c","original_commit_id":"3cd0adbc227957f08028347acde8cc3df329a42c","user":{"login":"alotofwe","id":2803222,"avatar_url":"https://avatars.githubusercontent.com/u/2803222?v=3","gravatar_id":"","url":"https://api.github.com/users/alotofwe","html_url":"https://github.com/alotofwe","followers_url":"https://api.github.com/users/alotofwe/followers","following_url":"https://api.github.com/users/alotofwe/following{/other_user}","gists_url":"https://api.github.com/users/alotofwe/gists{/gist_id}","starred_url":"https://api.github.com/users/alotofwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alotofwe/subscriptions","organizations_url":"https://api.github.com/users/alotofwe/orgs","repos_url":"https://api.github.com/users/alotofwe/repos","events_url":"https://api.github.com/users/alotofwe/events{/privacy}","received_events_url":"https://api.github.com/users/alotofwe/received_events","type":"User","site_admin":false},"body":"subjectを指定しないと翻訳にチェックしに行くの，謎便利機能だけどすごい","created_at":"2015-07-01T09:57:25Z","updated_at":"2015-07-01T09:57:25Z","html_url":"https://github.com/hanazuki/railstutorial/pull/27#discussion_r33664346","pull_request_url":"https://api.github.com/repos/hanazuki/railstutorial/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/hanazuki/railstutorial/pulls/comments/33664346"},"html":{"href":"https://github.com/hanazuki/railstutorial/pull/27#discussion_r33664346"},"pull_request":{"href":"https://api.github.com/repos/hanazuki/railstutorial/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/hanazuki/railstutorial/pulls/27","id":38844236,"html_url":"https://github.com/hanazuki/railstutorial/pull/27","diff_url":"https://github.com/hanazuki/railstutorial/pull/27.diff","patch_url":"https://github.com/hanazuki/railstutorial/pull/27.patch","issue_url":"https://api.github.com/repos/hanazuki/railstutorial/issues/27","number":27,"state":"open","locked":false,"title":"I18n & l10n for Japanese","user":{"login":"hanazuki","id":1135690,"avatar_url":"https://avatars.githubusercontent.com/u/1135690?v=3","gravatar_id":"","url":"https://api.github.com/users/hanazuki","html_url":"https://github.com/hanazuki","followers_url":"https://api.github.com/users/hanazuki/followers","following_url":"https://api.github.com/users/hanazuki/following{/other_user}","gists_url":"https://api.github.com/users/hanazuki/gists{/gist_id}","starred_url":"https://api.github.com/users/hanazuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanazuki/subscriptions","organizations_url":"https://api.github.com/users/hanazuki/orgs","repos_url":"https://api.github.com/users/hanazuki/repos","events_url":"https://api.github.com/users/hanazuki/events{/privacy}","received_events_url":"https://api.github.com/users/hanazuki/received_events","type":"User","site_admin":false},"body":"Objective: provide the users a way to choose their language preference.\r\n\r\nImpelemented features:\r\n\r\n- UI internationalization -- Web UI & mails\r\n  - All messages are now translatable.\r\n- Japanese localization\r\n  - Messages are translated into Japanese.\r\n- Locale chooser at the page footer\r\n  - Users can choose their language preference from web UI. \r\n- Default locale depending on browser locale setting\r\n\r\n## ToDo\r\n- [x] I18n for messages, datetimes, etc.\r\n- [x] L10n for Japanese\r\n- [x] Tests??","created_at":"2015-06-30T05:43:08Z","updated_at":"2015-07-01T09:57:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ca4004881bb0b8864c1d8c712416c348787a37f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hanazuki/railstutorial/pulls/27/commits","review_comments_url":"https://api.github.com/repos/hanazuki/railstutorial/pulls/27/comments","review_comment_url":"https://api.github.com/repos/hanazuki/railstutorial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hanazuki/railstutorial/issues/27/comments","statuses_url":"https://api.github.com/repos/hanazuki/railstutorial/statuses/3cd0adbc227957f08028347acde8cc3df329a42c","head":{"label":"hanazuki:i18n","ref":"i18n","sha":"3cd0adbc227957f08028347acde8cc3df329a42c","user":{"login":"hanazuki","id":1135690,"avatar_url":"https://avatars.githubusercontent.com/u/1135690?v=3","gravatar_id":"","url":"https://api.github.com/users/hanazuki","html_url":"https://github.com/hanazuki","followers_url":"https://api.github.com/users/hanazuki/followers","following_url":"https://api.github.com/users/hanazuki/following{/other_user}","gists_url":"https://api.github.com/users/hanazuki/gists{/gist_id}","starred_url":"https://api.github.com/users/hanazuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanazuki/subscriptions","organizations_url":"https://api.github.com/users/hanazuki/orgs","repos_url":"https://api.github.com/users/hanazuki/repos","events_url":"https://api.github.com/users/hanazuki/events{/privacy}","received_events_url":"https://api.github.com/users/hanazuki/received_events","type":"User","site_admin":false},"repo":{"id":37110488,"name":"railstutorial","full_name":"hanazuki/railstutorial","owner":{"login":"hanazuki","id":1135690,"avatar_url":"https://avatars.githubusercontent.com/u/1135690?v=3","gravatar_id":"","url":"https://api.github.com/users/hanazuki","html_url":"https://github.com/hanazuki","followers_url":"https://api.github.com/users/hanazuki/followers","following_url":"https://api.github.com/users/hanazuki/following{/other_user}","gists_url":"https://api.github.com/users/hanazuki/gists{/gist_id}","starred_url":"https://api.github.com/users/hanazuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanazuki/subscriptions","organizations_url":"https://api.github.com/users/hanazuki/orgs","repos_url":"https://api.github.com/users/hanazuki/repos","events_url":"https://api.github.com/users/hanazuki/events{/privacy}","received_events_url":"https://api.github.com/users/hanazuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hanazuki/railstutorial","description":"Rails Tutorialやるぞ！","fork":false,"url":"https://api.github.com/repos/hanazuki/railstutorial","forks_url":"https://api.github.com/repos/hanazuki/railstutorial/forks","keys_url":"https://api.github.com/repos/hanazuki/railstutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hanazuki/railstutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hanazuki/railstutorial/teams","hooks_url":"https://api.github.com/repos/hanazuki/railstutorial/hooks","issue_events_url":"https://api.github.com/repos/hanazuki/railstutorial/issues/events{/number}","events_url":"https://api.github.com/repos/hanazuki/railstutorial/events","assignees_url":"https://api.github.com/repos/hanazuki/railstutorial/assignees{/user}","branches_url":"https://api.github.com/repos/hanazuki/railstutorial/branches{/branch}","tags_url":"https://api.github.com/repos/hanazuki/railstutorial/tags","blobs_url":"https://api.github.com/repos/hanazuki/railstutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hanazuki/railstutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hanazuki/railstutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/hanazuki/railstutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hanazuki/railstutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/hanazuki/railstutorial/languages","stargazers_url":"https://api.github.com/repos/hanazuki/railstutorial/stargazers","contributors_url":"https://api.github.com/repos/hanazuki/railstutorial/contributors","subscribers_url":"https://api.github.com/repos/hanazuki/railstutorial/subscribers","subscription_url":"https://api.github.com/repos/hanazuki/railstutorial/subscription","commits_url":"https://api.github.com/repos/hanazuki/railstutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/hanazuki/railstutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/hanazuki/railstutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/hanazuki/railstutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/hanazuki/railstutorial/contents/{+path}","compare_url":"https://api.github.com/repos/hanazuki/railstutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hanazuki/railstutorial/merges","archive_url":"https://api.github.com/repos/hanazuki/railstutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hanazuki/railstutorial/downloads","issues_url":"https://api.github.com/repos/hanazuki/railstutorial/issues{/number}","pulls_url":"https://api.github.com/repos/hanazuki/railstutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/hanazuki/railstutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/hanazuki/railstutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hanazuki/railstutorial/labels{/name}","releases_url":"https://api.github.com/repos/hanazuki/railstutorial/releases{/id}","created_at":"2015-06-09T04:36:58Z","updated_at":"2015-06-09T05:22:56Z","pushed_at":"2015-07-01T09:24:21Z","git_url":"git://github.com/hanazuki/railstutorial.git","ssh_url":"git@github.com:hanazuki/railstutorial.git","clone_url":"https://github.com/hanazuki/railstutorial.git","svn_url":"https://github.com/hanazuki/railstutorial","homepage":null,"size":600,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"sample_app"}},"base":{"label":"hanazuki:sample_app","ref":"sample_app","sha":"be9aa274e9013b2952f1ac1f3d7082edcad0fb03","user":{"login":"hanazuki","id":1135690,"avatar_url":"https://avatars.githubusercontent.com/u/1135690?v=3","gravatar_id":"","url":"https://api.github.com/users/hanazuki","html_url":"https://github.com/hanazuki","followers_url":"https://api.github.com/users/hanazuki/followers","following_url":"https://api.github.com/users/hanazuki/following{/other_user}","gists_url":"https://api.github.com/users/hanazuki/gists{/gist_id}","starred_url":"https://api.github.com/users/hanazuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanazuki/subscriptions","organizations_url":"https://api.github.com/users/hanazuki/orgs","repos_url":"https://api.github.com/users/hanazuki/repos","events_url":"https://api.github.com/users/hanazuki/events{/privacy}","received_events_url":"https://api.github.com/users/hanazuki/received_events","type":"User","site_admin":false},"repo":{"id":37110488,"name":"railstutorial","full_name":"hanazuki/railstutorial","owner":{"login":"hanazuki","id":1135690,"avatar_url":"https://avatars.githubusercontent.com/u/1135690?v=3","gravatar_id":"","url":"https://api.github.com/users/hanazuki","html_url":"https://github.com/hanazuki","followers_url":"https://api.github.com/users/hanazuki/followers","following_url":"https://api.github.com/users/hanazuki/following{/other_user}","gists_url":"https://api.github.com/users/hanazuki/gists{/gist_id}","starred_url":"https://api.github.com/users/hanazuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanazuki/subscriptions","organizations_url":"https://api.github.com/users/hanazuki/orgs","repos_url":"https://api.github.com/users/hanazuki/repos","events_url":"https://api.github.com/users/hanazuki/events{/privacy}","received_events_url":"https://api.github.com/users/hanazuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hanazuki/railstutorial","description":"Rails Tutorialやるぞ！","fork":false,"url":"https://api.github.com/repos/hanazuki/railstutorial","forks_url":"https://api.github.com/repos/hanazuki/railstutorial/forks","keys_url":"https://api.github.com/repos/hanazuki/railstutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hanazuki/railstutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hanazuki/railstutorial/teams","hooks_url":"https://api.github.com/repos/hanazuki/railstutorial/hooks","issue_events_url":"https://api.github.com/repos/hanazuki/railstutorial/issues/events{/number}","events_url":"https://api.github.com/repos/hanazuki/railstutorial/events","assignees_url":"https://api.github.com/repos/hanazuki/railstutorial/assignees{/user}","branches_url":"https://api.github.com/repos/hanazuki/railstutorial/branches{/branch}","tags_url":"https://api.github.com/repos/hanazuki/railstutorial/tags","blobs_url":"https://api.github.com/repos/hanazuki/railstutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hanazuki/railstutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hanazuki/railstutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/hanazuki/railstutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hanazuki/railstutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/hanazuki/railstutorial/languages","stargazers_url":"https://api.github.com/repos/hanazuki/railstutorial/stargazers","contributors_url":"https://api.github.com/repos/hanazuki/railstutorial/contributors","subscribers_url":"https://api.github.com/repos/hanazuki/railstutorial/subscribers","subscription_url":"https://api.github.com/repos/hanazuki/railstutorial/subscription","commits_url":"https://api.github.com/repos/hanazuki/railstutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/hanazuki/railstutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/hanazuki/railstutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/hanazuki/railstutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/hanazuki/railstutorial/contents/{+path}","compare_url":"https://api.github.com/repos/hanazuki/railstutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hanazuki/railstutorial/merges","archive_url":"https://api.github.com/repos/hanazuki/railstutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hanazuki/railstutorial/downloads","issues_url":"https://api.github.com/repos/hanazuki/railstutorial/issues{/number}","pulls_url":"https://api.github.com/repos/hanazuki/railstutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/hanazuki/railstutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/hanazuki/railstutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hanazuki/railstutorial/labels{/name}","releases_url":"https://api.github.com/repos/hanazuki/railstutorial/releases{/id}","created_at":"2015-06-09T04:36:58Z","updated_at":"2015-06-09T05:22:56Z","pushed_at":"2015-07-01T09:24:21Z","git_url":"git://github.com/hanazuki/railstutorial.git","ssh_url":"git@github.com:hanazuki/railstutorial.git","clone_url":"https://github.com/hanazuki/railstutorial.git","svn_url":"https://github.com/hanazuki/railstutorial","homepage":null,"size":600,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"sample_app"}},"_links":{"self":{"href":"https://api.github.com/repos/hanazuki/railstutorial/pulls/27"},"html":{"href":"https://github.com/hanazuki/railstutorial/pull/27"},"issue":{"href":"https://api.github.com/repos/hanazuki/railstutorial/issues/27"},"comments":{"href":"https://api.github.com/repos/hanazuki/railstutorial/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/hanazuki/railstutorial/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/hanazuki/railstutorial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hanazuki/railstutorial/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/hanazuki/railstutorial/statuses/3cd0adbc227957f08028347acde8cc3df329a42c"}}}}