{"action":"created","comment":{"url":"https://api.github.com/repos/Catrobat/Catroid/pulls/comments/49073460","id":49073460,"diff_hunk":"@@ -284,7 +284,11 @@\n \t\t);\n \t\tsoundBrickList.add(new ChangeVolumeByNBrick(new Formula(defaultValueChangeVolumeBy)));\n \n-\t\tsoundBrickList.add(new SpeakBrick(BrickValues.SPEAK));\n+\t\tif (context.getString(R.string.brick_speak_default_value) != BrickValues.SPEAK) {\n+\t\t\tsoundBrickList.add(new SpeakBrick(context.getString(R.string.brick_speak_default_value)));\n+\t\t} else {\n+\t\t\tsoundBrickList.add(new SpeakBrick(BrickValues.SPEAK));\n+\t\t}","path":"catroid/src/org/catrobat/catroid/ui/fragment/CategoryBricksFactory.java","position":9,"original_position":9,"commit_id":"7eaaf630eb05847e991814147fcdacf9c2456674","original_commit_id":"7eaaf630eb05847e991814147fcdacf9c2456674","user":{"login":"robertpainsi","id":1794599,"avatar_url":"https://avatars.githubusercontent.com/u/1794599?v=3","gravatar_id":"","url":"https://api.github.com/users/robertpainsi","html_url":"https://github.com/robertpainsi","followers_url":"https://api.github.com/users/robertpainsi/followers","following_url":"https://api.github.com/users/robertpainsi/following{/other_user}","gists_url":"https://api.github.com/users/robertpainsi/gists{/gist_id}","starred_url":"https://api.github.com/users/robertpainsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertpainsi/subscriptions","organizations_url":"https://api.github.com/users/robertpainsi/orgs","repos_url":"https://api.github.com/users/robertpainsi/repos","events_url":"https://api.github.com/users/robertpainsi/events{/privacy}","received_events_url":"https://api.github.com/users/robertpainsi/received_events","type":"User","site_admin":false},"body":"Maybe it's better to remove the variable `BrickValues.SPEAK` entirely and always use `R.string.brick_speak_default_value`?","created_at":"2016-01-07T13:43:48Z","updated_at":"2016-01-07T13:43:48Z","html_url":"https://github.com/Catrobat/Catroid/pull/1452#discussion_r49073460","pull_request_url":"https://api.github.com/repos/Catrobat/Catroid/pulls/1452","_links":{"self":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/comments/49073460"},"html":{"href":"https://github.com/Catrobat/Catroid/pull/1452#discussion_r49073460"},"pull_request":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/1452"}}},"pull_request":{"url":"https://api.github.com/repos/Catrobat/Catroid/pulls/1452","id":55209676,"html_url":"https://github.com/Catrobat/Catroid/pull/1452","diff_url":"https://github.com/Catrobat/Catroid/pull/1452.diff","patch_url":"https://github.com/Catrobat/Catroid/pull/1452.patch","issue_url":"https://api.github.com/repos/Catrobat/Catroid/issues/1452","number":1452,"state":"open","locked":false,"title":"CAT-1697 Fix bug in CategoryBrickFactory","user":{"login":"davidmarogy","id":4179598,"avatar_url":"https://avatars.githubusercontent.com/u/4179598?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmarogy","html_url":"https://github.com/davidmarogy","followers_url":"https://api.github.com/users/davidmarogy/followers","following_url":"https://api.github.com/users/davidmarogy/following{/other_user}","gists_url":"https://api.github.com/users/davidmarogy/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarogy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarogy/subscriptions","organizations_url":"https://api.github.com/users/davidmarogy/orgs","repos_url":"https://api.github.com/users/davidmarogy/repos","events_url":"https://api.github.com/users/davidmarogy/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarogy/received_events","type":"User","site_admin":false},"body":"Fixed the Bug which appears when you don't use PocketCode in english, now we\r\ncheck before we create all the Bricks in the Category Sound if there is a difference between the constant value for the Brick  and our translated Value. If there is a difference we use the value from the translation file.","created_at":"2016-01-06T12:53:48Z","updated_at":"2016-01-07T13:43:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9dbcdd2efe26e7fb1dbb9c55bd98cb4359175d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Catrobat/Catroid/pulls/1452/commits","review_comments_url":"https://api.github.com/repos/Catrobat/Catroid/pulls/1452/comments","review_comment_url":"https://api.github.com/repos/Catrobat/Catroid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Catrobat/Catroid/issues/1452/comments","statuses_url":"https://api.github.com/repos/Catrobat/Catroid/statuses/7eaaf630eb05847e991814147fcdacf9c2456674","head":{"label":"davidmarogy:CAT_bug/1697_Speakbrick_Language","ref":"CAT_bug/1697_Speakbrick_Language","sha":"7eaaf630eb05847e991814147fcdacf9c2456674","user":{"login":"davidmarogy","id":4179598,"avatar_url":"https://avatars.githubusercontent.com/u/4179598?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmarogy","html_url":"https://github.com/davidmarogy","followers_url":"https://api.github.com/users/davidmarogy/followers","following_url":"https://api.github.com/users/davidmarogy/following{/other_user}","gists_url":"https://api.github.com/users/davidmarogy/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarogy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarogy/subscriptions","organizations_url":"https://api.github.com/users/davidmarogy/orgs","repos_url":"https://api.github.com/users/davidmarogy/repos","events_url":"https://api.github.com/users/davidmarogy/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarogy/received_events","type":"User","site_admin":false},"repo":{"id":47981261,"name":"Catroid","full_name":"davidmarogy/Catroid","owner":{"login":"davidmarogy","id":4179598,"avatar_url":"https://avatars.githubusercontent.com/u/4179598?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmarogy","html_url":"https://github.com/davidmarogy","followers_url":"https://api.github.com/users/davidmarogy/followers","following_url":"https://api.github.com/users/davidmarogy/following{/other_user}","gists_url":"https://api.github.com/users/davidmarogy/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarogy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarogy/subscriptions","organizations_url":"https://api.github.com/users/davidmarogy/orgs","repos_url":"https://api.github.com/users/davidmarogy/repos","events_url":"https://api.github.com/users/davidmarogy/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarogy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidmarogy/Catroid","description":"Writing programs on an Android device without prior knowledge.","fork":true,"url":"https://api.github.com/repos/davidmarogy/Catroid","forks_url":"https://api.github.com/repos/davidmarogy/Catroid/forks","keys_url":"https://api.github.com/repos/davidmarogy/Catroid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidmarogy/Catroid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidmarogy/Catroid/teams","hooks_url":"https://api.github.com/repos/davidmarogy/Catroid/hooks","issue_events_url":"https://api.github.com/repos/davidmarogy/Catroid/issues/events{/number}","events_url":"https://api.github.com/repos/davidmarogy/Catroid/events","assignees_url":"https://api.github.com/repos/davidmarogy/Catroid/assignees{/user}","branches_url":"https://api.github.com/repos/davidmarogy/Catroid/branches{/branch}","tags_url":"https://api.github.com/repos/davidmarogy/Catroid/tags","blobs_url":"https://api.github.com/repos/davidmarogy/Catroid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidmarogy/Catroid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidmarogy/Catroid/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidmarogy/Catroid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidmarogy/Catroid/statuses/{sha}","languages_url":"https://api.github.com/repos/davidmarogy/Catroid/languages","stargazers_url":"https://api.github.com/repos/davidmarogy/Catroid/stargazers","contributors_url":"https://api.github.com/repos/davidmarogy/Catroid/contributors","subscribers_url":"https://api.github.com/repos/davidmarogy/Catroid/subscribers","subscription_url":"https://api.github.com/repos/davidmarogy/Catroid/subscription","commits_url":"https://api.github.com/repos/davidmarogy/Catroid/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidmarogy/Catroid/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidmarogy/Catroid/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidmarogy/Catroid/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidmarogy/Catroid/contents/{+path}","compare_url":"https://api.github.com/repos/davidmarogy/Catroid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidmarogy/Catroid/merges","archive_url":"https://api.github.com/repos/davidmarogy/Catroid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidmarogy/Catroid/downloads","issues_url":"https://api.github.com/repos/davidmarogy/Catroid/issues{/number}","pulls_url":"https://api.github.com/repos/davidmarogy/Catroid/pulls{/number}","milestones_url":"https://api.github.com/repos/davidmarogy/Catroid/milestones{/number}","notifications_url":"https://api.github.com/repos/davidmarogy/Catroid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidmarogy/Catroid/labels{/name}","releases_url":"https://api.github.com/repos/davidmarogy/Catroid/releases{/id}","created_at":"2015-12-14T14:51:46Z","updated_at":"2015-12-14T14:51:51Z","pushed_at":"2016-01-06T12:48:06Z","git_url":"git://github.com/davidmarogy/Catroid.git","ssh_url":"git@github.com:davidmarogy/Catroid.git","clone_url":"https://github.com/davidmarogy/Catroid.git","svn_url":"https://github.com/davidmarogy/Catroid","homepage":"https://share.catrob.at/pocketcode","size":92878,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"Catrobat:develop","ref":"develop","sha":"ac732740e58945816dc6dcd7975b144eb1b3f2fc","user":{"login":"Catrobat","id":1747223,"avatar_url":"https://avatars.githubusercontent.com/u/1747223?v=3","gravatar_id":"","url":"https://api.github.com/users/Catrobat","html_url":"https://github.com/Catrobat","followers_url":"https://api.github.com/users/Catrobat/followers","following_url":"https://api.github.com/users/Catrobat/following{/other_user}","gists_url":"https://api.github.com/users/Catrobat/gists{/gist_id}","starred_url":"https://api.github.com/users/Catrobat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Catrobat/subscriptions","organizations_url":"https://api.github.com/users/Catrobat/orgs","repos_url":"https://api.github.com/users/Catrobat/repos","events_url":"https://api.github.com/users/Catrobat/events{/privacy}","received_events_url":"https://api.github.com/users/Catrobat/received_events","type":"Organization","site_admin":false},"repo":{"id":4475999,"name":"Catroid","full_name":"Catrobat/Catroid","owner":{"login":"Catrobat","id":1747223,"avatar_url":"https://avatars.githubusercontent.com/u/1747223?v=3","gravatar_id":"","url":"https://api.github.com/users/Catrobat","html_url":"https://github.com/Catrobat","followers_url":"https://api.github.com/users/Catrobat/followers","following_url":"https://api.github.com/users/Catrobat/following{/other_user}","gists_url":"https://api.github.com/users/Catrobat/gists{/gist_id}","starred_url":"https://api.github.com/users/Catrobat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Catrobat/subscriptions","organizations_url":"https://api.github.com/users/Catrobat/orgs","repos_url":"https://api.github.com/users/Catrobat/repos","events_url":"https://api.github.com/users/Catrobat/events{/privacy}","received_events_url":"https://api.github.com/users/Catrobat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Catrobat/Catroid","description":"Writing programs on an Android device without prior knowledge.","fork":false,"url":"https://api.github.com/repos/Catrobat/Catroid","forks_url":"https://api.github.com/repos/Catrobat/Catroid/forks","keys_url":"https://api.github.com/repos/Catrobat/Catroid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Catrobat/Catroid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Catrobat/Catroid/teams","hooks_url":"https://api.github.com/repos/Catrobat/Catroid/hooks","issue_events_url":"https://api.github.com/repos/Catrobat/Catroid/issues/events{/number}","events_url":"https://api.github.com/repos/Catrobat/Catroid/events","assignees_url":"https://api.github.com/repos/Catrobat/Catroid/assignees{/user}","branches_url":"https://api.github.com/repos/Catrobat/Catroid/branches{/branch}","tags_url":"https://api.github.com/repos/Catrobat/Catroid/tags","blobs_url":"https://api.github.com/repos/Catrobat/Catroid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Catrobat/Catroid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Catrobat/Catroid/git/refs{/sha}","trees_url":"https://api.github.com/repos/Catrobat/Catroid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Catrobat/Catroid/statuses/{sha}","languages_url":"https://api.github.com/repos/Catrobat/Catroid/languages","stargazers_url":"https://api.github.com/repos/Catrobat/Catroid/stargazers","contributors_url":"https://api.github.com/repos/Catrobat/Catroid/contributors","subscribers_url":"https://api.github.com/repos/Catrobat/Catroid/subscribers","subscription_url":"https://api.github.com/repos/Catrobat/Catroid/subscription","commits_url":"https://api.github.com/repos/Catrobat/Catroid/commits{/sha}","git_commits_url":"https://api.github.com/repos/Catrobat/Catroid/git/commits{/sha}","comments_url":"https://api.github.com/repos/Catrobat/Catroid/comments{/number}","issue_comment_url":"https://api.github.com/repos/Catrobat/Catroid/issues/comments{/number}","contents_url":"https://api.github.com/repos/Catrobat/Catroid/contents/{+path}","compare_url":"https://api.github.com/repos/Catrobat/Catroid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Catrobat/Catroid/merges","archive_url":"https://api.github.com/repos/Catrobat/Catroid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Catrobat/Catroid/downloads","issues_url":"https://api.github.com/repos/Catrobat/Catroid/issues{/number}","pulls_url":"https://api.github.com/repos/Catrobat/Catroid/pulls{/number}","milestones_url":"https://api.github.com/repos/Catrobat/Catroid/milestones{/number}","notifications_url":"https://api.github.com/repos/Catrobat/Catroid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Catrobat/Catroid/labels{/name}","releases_url":"https://api.github.com/repos/Catrobat/Catroid/releases{/id}","created_at":"2012-05-29T00:18:04Z","updated_at":"2015-12-20T14:26:18Z","pushed_at":"2016-01-07T12:43:00Z","git_url":"git://github.com/Catrobat/Catroid.git","ssh_url":"git@github.com:Catrobat/Catroid.git","clone_url":"https://github.com/Catrobat/Catroid.git","svn_url":"https://github.com/Catrobat/Catroid","homepage":"https://share.catrob.at/pocketcode","size":371446,"stargazers_count":113,"watchers_count":113,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":131,"mirror_url":null,"open_issues_count":124,"forks":131,"open_issues":124,"watchers":113,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/1452"},"html":{"href":"https://github.com/Catrobat/Catroid/pull/1452"},"issue":{"href":"https://api.github.com/repos/Catrobat/Catroid/issues/1452"},"comments":{"href":"https://api.github.com/repos/Catrobat/Catroid/issues/1452/comments"},"review_comments":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/1452/comments"},"review_comment":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Catrobat/Catroid/pulls/1452/commits"},"statuses":{"href":"https://api.github.com/repos/Catrobat/Catroid/statuses/7eaaf630eb05847e991814147fcdacf9c2456674"}}}}