{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/22448567","id":22448567,"diff_hunk":"@@ -64,12 +64,16 @@\n      */\n     show: function(message, buttonParams) {\n       var banner = this.banner;\n-      banner.firstElementChild.textContent = message;\n-\n+      navigator.mozL10n.setAttributes(\n+        banner.firstElementChild,\n+        message.id,\n+        message.args\n+      );\n       var button = banner.querySelector('button');\n+      ","path":"tv_apps/smart-system/js/system_banner.js","position":12,"original_position":12,"commit_id":"7e8f2c716cab08c6b1649d0a3741cccb84df8cee","original_commit_id":"7e8f2c716cab08c6b1649d0a3741cccb84df8cee","user":{"login":"huchengtw-moz","id":4318454,"avatar_url":"https://avatars.githubusercontent.com/u/4318454?v=3","gravatar_id":"","url":"https://api.github.com/users/huchengtw-moz","html_url":"https://github.com/huchengtw-moz","followers_url":"https://api.github.com/users/huchengtw-moz/followers","following_url":"https://api.github.com/users/huchengtw-moz/following{/other_user}","gists_url":"https://api.github.com/users/huchengtw-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/huchengtw-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huchengtw-moz/subscriptions","organizations_url":"https://api.github.com/users/huchengtw-moz/orgs","repos_url":"https://api.github.com/users/huchengtw-moz/repos","events_url":"https://api.github.com/users/huchengtw-moz/events{/privacy}","received_events_url":"https://api.github.com/users/huchengtw-moz/received_events","type":"User","site_admin":false},"body":"trailing whitespace","created_at":"2015-01-05T06:18:51Z","updated_at":"2015-01-05T06:18:51Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/27079#discussion_r22448567","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/27079","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/22448567"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/27079#discussion_r22448567"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/27079"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/27079","id":26722858,"html_url":"https://github.com/mozilla-b2g/gaia/pull/27079","diff_url":"https://github.com/mozilla-b2g/gaia/pull/27079.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/27079.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/27079","number":27079,"state":"open","locked":false,"title":"Bug 1100808 - remove mozL10n.get and deprecated l10n API usage from tv_apps","user":{"login":"rohan013","id":4943314,"avatar_url":"https://avatars.githubusercontent.com/u/4943314?v=3","gravatar_id":"","url":"https://api.github.com/users/rohan013","html_url":"https://github.com/rohan013","followers_url":"https://api.github.com/users/rohan013/followers","following_url":"https://api.github.com/users/rohan013/following{/other_user}","gists_url":"https://api.github.com/users/rohan013/gists{/gist_id}","starred_url":"https://api.github.com/users/rohan013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohan013/subscriptions","organizations_url":"https://api.github.com/users/rohan013/orgs","repos_url":"https://api.github.com/users/rohan013/repos","events_url":"https://api.github.com/users/rohan013/events{/privacy}","received_events_url":"https://api.github.com/users/rohan013/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-31T12:20:34Z","updated_at":"2015-01-05T06:18:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d8b65fb3d20949a7b1c978787d3853ccd18ae9d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/27079/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/27079/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/27079/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/7e8f2c716cab08c6b1649d0a3741cccb84df8cee","head":{"label":"rohan013:b1100808","ref":"b1100808","sha":"7e8f2c716cab08c6b1649d0a3741cccb84df8cee","user":{"login":"rohan013","id":4943314,"avatar_url":"https://avatars.githubusercontent.com/u/4943314?v=3","gravatar_id":"","url":"https://api.github.com/users/rohan013","html_url":"https://github.com/rohan013","followers_url":"https://api.github.com/users/rohan013/followers","following_url":"https://api.github.com/users/rohan013/following{/other_user}","gists_url":"https://api.github.com/users/rohan013/gists{/gist_id}","starred_url":"https://api.github.com/users/rohan013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohan013/subscriptions","organizations_url":"https://api.github.com/users/rohan013/orgs","repos_url":"https://api.github.com/users/rohan013/repos","events_url":"https://api.github.com/users/rohan013/events{/privacy}","received_events_url":"https://api.github.com/users/rohan013/received_events","type":"User","site_admin":false},"repo":{"id":28589620,"name":"gaia","full_name":"rohan013/gaia","owner":{"login":"rohan013","id":4943314,"avatar_url":"https://avatars.githubusercontent.com/u/4943314?v=3","gravatar_id":"","url":"https://api.github.com/users/rohan013","html_url":"https://github.com/rohan013","followers_url":"https://api.github.com/users/rohan013/followers","following_url":"https://api.github.com/users/rohan013/following{/other_user}","gists_url":"https://api.github.com/users/rohan013/gists{/gist_id}","starred_url":"https://api.github.com/users/rohan013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohan013/subscriptions","organizations_url":"https://api.github.com/users/rohan013/orgs","repos_url":"https://api.github.com/users/rohan013/repos","events_url":"https://api.github.com/users/rohan013/events{/privacy}","received_events_url":"https://api.github.com/users/rohan013/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rohan013/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":true,"url":"https://api.github.com/repos/rohan013/gaia","forks_url":"https://api.github.com/repos/rohan013/gaia/forks","keys_url":"https://api.github.com/repos/rohan013/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rohan013/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rohan013/gaia/teams","hooks_url":"https://api.github.com/repos/rohan013/gaia/hooks","issue_events_url":"https://api.github.com/repos/rohan013/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/rohan013/gaia/events","assignees_url":"https://api.github.com/repos/rohan013/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/rohan013/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/rohan013/gaia/tags","blobs_url":"https://api.github.com/repos/rohan013/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rohan013/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rohan013/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/rohan013/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rohan013/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/rohan013/gaia/languages","stargazers_url":"https://api.github.com/repos/rohan013/gaia/stargazers","contributors_url":"https://api.github.com/repos/rohan013/gaia/contributors","subscribers_url":"https://api.github.com/repos/rohan013/gaia/subscribers","subscription_url":"https://api.github.com/repos/rohan013/gaia/subscription","commits_url":"https://api.github.com/repos/rohan013/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/rohan013/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/rohan013/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/rohan013/gaia/issues/comments/{number}","contents_url":"https://api.github.com/repos/rohan013/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/rohan013/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rohan013/gaia/merges","archive_url":"https://api.github.com/repos/rohan013/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rohan013/gaia/downloads","issues_url":"https://api.github.com/repos/rohan013/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/rohan013/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/rohan013/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/rohan013/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rohan013/gaia/labels{/name}","releases_url":"https://api.github.com/repos/rohan013/gaia/releases{/id}","created_at":"2014-12-29T11:10:51Z","updated_at":"2015-01-01T07:28:45Z","pushed_at":"2015-01-02T13:09:03Z","git_url":"git://github.com/rohan013/gaia.git","ssh_url":"git@github.com:rohan013/gaia.git","clone_url":"https://github.com/rohan013/gaia.git","svn_url":"https://github.com/rohan013/gaia","homepage":"https://wiki.mozilla.org/B2G","size":878172,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-b2g:master","ref":"master","sha":"47e9853c1a81afb90cd48dcbc3005dd676784821","user":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"repo":{"id":2317369,"name":"gaia","full_name":"mozilla-b2g/gaia","owner":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-b2g/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/gaia","forks_url":"https://api.github.com/repos/mozilla-b2g/gaia/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/gaia/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/gaia/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/gaia/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/gaia/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/gaia/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla-b2g/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/gaia/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/gaia/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/gaia/releases{/id}","created_at":"2011-09-03T01:38:46Z","updated_at":"2015-01-05T06:09:34Z","pushed_at":"2015-01-05T06:09:41Z","git_url":"git://github.com/mozilla-b2g/gaia.git","ssh_url":"git@github.com:mozilla-b2g/gaia.git","clone_url":"https://github.com/mozilla-b2g/gaia.git","svn_url":"https://github.com/mozilla-b2g/gaia","homepage":"https://wiki.mozilla.org/B2G","size":1364835,"stargazers_count":1842,"watchers_count":1842,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2149,"mirror_url":null,"open_issues_count":774,"forks":2149,"open_issues":774,"watchers":1842,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/27079"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/27079"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/27079"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/27079/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/27079/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/27079/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/7e8f2c716cab08c6b1649d0a3741cccb84df8cee"}}}}