{"action":"created","comment":{"url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/comments/40407255","id":40407255,"diff_hunk":"@@ -11,12 +13,26 @@ class SliderBlockView(BaseBlock):\n     def get_panes(self):\n         return self.context.getFolderContents(full_objects=True)\n \n+    def extend_translations(self, config):\n+        translations = {\n+            'play': translate(_(u'label_slider_play', default=u'Play'),\n+                              context=self.request),\n+            'pause': translate(_(u'label_slider_pause', default=u'Pause'),\n+                               context=self.request),\n+            'next': translate(_(u'label_slider_next', default=u'Next'),\n+                              context=self.request),\n+            'prev': translate(_(u'label_slider_prev', default=u'Previous'),\n+                              context=self.request),\n+        }\n+        config['labels'] = translations\n+        return config;","path":"ftw/sliderblock/browser/sliderblock.py","position":29,"original_position":29,"commit_id":"9e99a505c2b49b2f4b0bcfa6fd3eeb9cb4ef7e0d","original_commit_id":"9e99a505c2b49b2f4b0bcfa6fd3eeb9cb4ef7e0d","user":{"login":"jone","id":7469,"avatar_url":"https://avatars.githubusercontent.com/u/7469?v=3","gravatar_id":"","url":"https://api.github.com/users/jone","html_url":"https://github.com/jone","followers_url":"https://api.github.com/users/jone/followers","following_url":"https://api.github.com/users/jone/following{/other_user}","gists_url":"https://api.github.com/users/jone/gists{/gist_id}","starred_url":"https://api.github.com/users/jone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jone/subscriptions","organizations_url":"https://api.github.com/users/jone/orgs","repos_url":"https://api.github.com/users/jone/repos","events_url":"https://api.github.com/users/jone/events{/privacy}","received_events_url":"https://api.github.com/users/jone/received_events","type":"User","site_admin":false},"body":"oh, could you remove the trailing semicolon? :scream_cat: ","created_at":"2015-09-25T08:00:53Z","updated_at":"2015-09-25T08:00:53Z","html_url":"https://github.com/4teamwork/ftw.sliderblock/pull/19#discussion_r40407255","pull_request_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/comments/40407255"},"html":{"href":"https://github.com/4teamwork/ftw.sliderblock/pull/19#discussion_r40407255"},"pull_request":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/19","id":45890060,"html_url":"https://github.com/4teamwork/ftw.sliderblock/pull/19","diff_url":"https://github.com/4teamwork/ftw.sliderblock/pull/19.diff","patch_url":"https://github.com/4teamwork/ftw.sliderblock/pull/19.patch","issue_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues/19","number":19,"state":"open","locked":false,"title":"Provide slider translations.","user":{"login":"bierik","id":1637820,"avatar_url":"https://avatars.githubusercontent.com/u/1637820?v=3","gravatar_id":"","url":"https://api.github.com/users/bierik","html_url":"https://github.com/bierik","followers_url":"https://api.github.com/users/bierik/followers","following_url":"https://api.github.com/users/bierik/following{/other_user}","gists_url":"https://api.github.com/users/bierik/gists{/gist_id}","starred_url":"https://api.github.com/users/bierik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bierik/subscriptions","organizations_url":"https://api.github.com/users/bierik/orgs","repos_url":"https://api.github.com/users/bierik/repos","events_url":"https://api.github.com/users/bierik/events{/privacy}","received_events_url":"https://api.github.com/users/bierik/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-24T12:19:19Z","updated_at":"2015-09-25T08:00:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd1623f4582c8eacf659e3ef4240d3461b96bf50","assignee":{"login":"jone","id":7469,"avatar_url":"https://avatars.githubusercontent.com/u/7469?v=3","gravatar_id":"","url":"https://api.github.com/users/jone","html_url":"https://github.com/jone","followers_url":"https://api.github.com/users/jone/followers","following_url":"https://api.github.com/users/jone/following{/other_user}","gists_url":"https://api.github.com/users/jone/gists{/gist_id}","starred_url":"https://api.github.com/users/jone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jone/subscriptions","organizations_url":"https://api.github.com/users/jone/orgs","repos_url":"https://api.github.com/users/jone/repos","events_url":"https://api.github.com/users/jone/events{/privacy}","received_events_url":"https://api.github.com/users/jone/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/19/commits","review_comments_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/19/comments","review_comment_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues/19/comments","statuses_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/statuses/9e99a505c2b49b2f4b0bcfa6fd3eeb9cb4ef7e0d","head":{"label":"4teamwork:kb_button_translations","ref":"kb_button_translations","sha":"9e99a505c2b49b2f4b0bcfa6fd3eeb9cb4ef7e0d","user":{"login":"4teamwork","id":681821,"avatar_url":"https://avatars.githubusercontent.com/u/681821?v=3","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"repo":{"id":37849207,"name":"ftw.sliderblock","full_name":"4teamwork/ftw.sliderblock","owner":{"login":"4teamwork","id":681821,"avatar_url":"https://avatars.githubusercontent.com/u/681821?v=3","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4teamwork/ftw.sliderblock","description":"","fork":false,"url":"https://api.github.com/repos/4teamwork/ftw.sliderblock","forks_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/forks","keys_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/teams","hooks_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/hooks","issue_events_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues/events{/number}","events_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/events","assignees_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/assignees{/user}","branches_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/branches{/branch}","tags_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/tags","blobs_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/refs{/sha}","trees_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/statuses/{sha}","languages_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/languages","stargazers_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/stargazers","contributors_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/contributors","subscribers_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/subscribers","subscription_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/subscription","commits_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/commits{/sha}","git_commits_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/commits{/sha}","comments_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/comments{/number}","issue_comment_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues/comments{/number}","contents_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/contents/{+path}","compare_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/merges","archive_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/downloads","issues_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues{/number}","pulls_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls{/number}","milestones_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/milestones{/number}","notifications_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/labels{/name}","releases_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/releases{/id}","created_at":"2015-06-22T10:22:27Z","updated_at":"2015-06-26T06:21:04Z","pushed_at":"2015-09-24T12:50:29Z","git_url":"git://github.com/4teamwork/ftw.sliderblock.git","ssh_url":"git@github.com:4teamwork/ftw.sliderblock.git","clone_url":"https://github.com/4teamwork/ftw.sliderblock.git","svn_url":"https://github.com/4teamwork/ftw.sliderblock","homepage":null,"size":356,"stargazers_count":0,"watchers_count":0,"language":"Python","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":0,"default_branch":"master"}},"base":{"label":"4teamwork:master","ref":"master","sha":"cd45ca06a03c47a203f6271689747c0712b4c41d","user":{"login":"4teamwork","id":681821,"avatar_url":"https://avatars.githubusercontent.com/u/681821?v=3","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"repo":{"id":37849207,"name":"ftw.sliderblock","full_name":"4teamwork/ftw.sliderblock","owner":{"login":"4teamwork","id":681821,"avatar_url":"https://avatars.githubusercontent.com/u/681821?v=3","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4teamwork/ftw.sliderblock","description":"","fork":false,"url":"https://api.github.com/repos/4teamwork/ftw.sliderblock","forks_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/forks","keys_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/teams","hooks_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/hooks","issue_events_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues/events{/number}","events_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/events","assignees_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/assignees{/user}","branches_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/branches{/branch}","tags_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/tags","blobs_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/refs{/sha}","trees_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/statuses/{sha}","languages_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/languages","stargazers_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/stargazers","contributors_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/contributors","subscribers_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/subscribers","subscription_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/subscription","commits_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/commits{/sha}","git_commits_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/git/commits{/sha}","comments_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/comments{/number}","issue_comment_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues/comments{/number}","contents_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/contents/{+path}","compare_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/merges","archive_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/downloads","issues_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues{/number}","pulls_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls{/number}","milestones_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/milestones{/number}","notifications_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/labels{/name}","releases_url":"https://api.github.com/repos/4teamwork/ftw.sliderblock/releases{/id}","created_at":"2015-06-22T10:22:27Z","updated_at":"2015-06-26T06:21:04Z","pushed_at":"2015-09-24T12:50:29Z","git_url":"git://github.com/4teamwork/ftw.sliderblock.git","ssh_url":"git@github.com:4teamwork/ftw.sliderblock.git","clone_url":"https://github.com/4teamwork/ftw.sliderblock.git","svn_url":"https://github.com/4teamwork/ftw.sliderblock","homepage":null,"size":356,"stargazers_count":0,"watchers_count":0,"language":"Python","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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/19"},"html":{"href":"https://github.com/4teamwork/ftw.sliderblock/pull/19"},"issue":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues/19"},"comments":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/4teamwork/ftw.sliderblock/statuses/9e99a505c2b49b2f4b0bcfa6fd3eeb9cb4ef7e0d"}}}}