{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/50316978","id":50316978,"diff_hunk":"@@ -106,6 +106,9 @@ public ConnectionFailedLogic(Widget widget, OrderManager orderManager, Action on\n \t\t\tvar connectionError = widget.Get<LabelWidget>(\"CONNECTION_ERROR\");\n \t\t\tconnectionError.GetText = () => orderManager.ServerError;\n \n+\t\t\tvar panelTitle = widget.Get<LabelWidget>(\"TITLE\");\r\n+\t\t\tpanelTitle.GetText = () => orderManager.AuthenticationFailed ? \"Password Required\" : \"Connection Failed\";","path":"OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs","position":5,"original_position":5,"commit_id":"6f715a6a4ee37abaa29d2c0dd879cfdeff3f9322","original_commit_id":"931ccf570a7d2bf48e84df5470492e5814357d7d","user":{"login":"Phrohdoh","id":4861023,"avatar_url":"https://avatars.githubusercontent.com/u/4861023?v=3","gravatar_id":"","url":"https://api.github.com/users/Phrohdoh","html_url":"https://github.com/Phrohdoh","followers_url":"https://api.github.com/users/Phrohdoh/followers","following_url":"https://api.github.com/users/Phrohdoh/following{/other_user}","gists_url":"https://api.github.com/users/Phrohdoh/gists{/gist_id}","starred_url":"https://api.github.com/users/Phrohdoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phrohdoh/subscriptions","organizations_url":"https://api.github.com/users/Phrohdoh/orgs","repos_url":"https://api.github.com/users/Phrohdoh/repos","events_url":"https://api.github.com/users/Phrohdoh/events{/privacy}","received_events_url":"https://api.github.com/users/Phrohdoh/received_events","type":"User","site_admin":false},"body":"Wouldn't it be more sane and modder friendly to have two strings defined in YAML and referenced here?","created_at":"2016-01-20T20:52:08Z","updated_at":"2016-01-20T20:52:08Z","html_url":"https://github.com/OpenRA/OpenRA/pull/10551#discussion_r50316978","pull_request_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10551","_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/50316978"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/10551#discussion_r50316978"},"pull_request":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10551"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10551","id":56506495,"html_url":"https://github.com/OpenRA/OpenRA/pull/10551","diff_url":"https://github.com/OpenRA/OpenRA/pull/10551.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/10551.patch","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10551","number":10551,"state":"open","locked":false,"title":"Change CONNECTIONFAILED_PANEL title if server requires password","user":{"login":"RockyTV","id":1251067,"avatar_url":"https://avatars.githubusercontent.com/u/1251067?v=3","gravatar_id":"","url":"https://api.github.com/users/RockyTV","html_url":"https://github.com/RockyTV","followers_url":"https://api.github.com/users/RockyTV/followers","following_url":"https://api.github.com/users/RockyTV/following{/other_user}","gists_url":"https://api.github.com/users/RockyTV/gists{/gist_id}","starred_url":"https://api.github.com/users/RockyTV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RockyTV/subscriptions","organizations_url":"https://api.github.com/users/RockyTV/orgs","repos_url":"https://api.github.com/users/RockyTV/repos","events_url":"https://api.github.com/users/RockyTV/events{/privacy}","received_events_url":"https://api.github.com/users/RockyTV/received_events","type":"User","site_admin":false},"body":"I've also fixed the alignment of the Retry button on the `CONNECTIONFAILED_PANEL`.\r\n\r\nThis is how the panel looks now:\r\n![](http://i.imgur.com/fGXtzWG.png)\r\n\r\nFixes #7160","created_at":"2016-01-19T18:33:37Z","updated_at":"2016-01-20T20:52:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"966b74b2ad7772084a4f09b3ac629de3b6e590bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10551/commits","review_comments_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10551/comments","review_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10551/comments","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/6f715a6a4ee37abaa29d2c0dd879cfdeff3f9322","head":{"label":"RockyTV:rockytv","ref":"rockytv","sha":"6f715a6a4ee37abaa29d2c0dd879cfdeff3f9322","user":{"login":"RockyTV","id":1251067,"avatar_url":"https://avatars.githubusercontent.com/u/1251067?v=3","gravatar_id":"","url":"https://api.github.com/users/RockyTV","html_url":"https://github.com/RockyTV","followers_url":"https://api.github.com/users/RockyTV/followers","following_url":"https://api.github.com/users/RockyTV/following{/other_user}","gists_url":"https://api.github.com/users/RockyTV/gists{/gist_id}","starred_url":"https://api.github.com/users/RockyTV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RockyTV/subscriptions","organizations_url":"https://api.github.com/users/RockyTV/orgs","repos_url":"https://api.github.com/users/RockyTV/repos","events_url":"https://api.github.com/users/RockyTV/events{/privacy}","received_events_url":"https://api.github.com/users/RockyTV/received_events","type":"User","site_admin":false},"repo":{"id":45126822,"name":"OpenRA","full_name":"RockyTV/OpenRA","owner":{"login":"RockyTV","id":1251067,"avatar_url":"https://avatars.githubusercontent.com/u/1251067?v=3","gravatar_id":"","url":"https://api.github.com/users/RockyTV","html_url":"https://github.com/RockyTV","followers_url":"https://api.github.com/users/RockyTV/followers","following_url":"https://api.github.com/users/RockyTV/following{/other_user}","gists_url":"https://api.github.com/users/RockyTV/gists{/gist_id}","starred_url":"https://api.github.com/users/RockyTV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RockyTV/subscriptions","organizations_url":"https://api.github.com/users/RockyTV/orgs","repos_url":"https://api.github.com/users/RockyTV/repos","events_url":"https://api.github.com/users/RockyTV/events{/privacy}","received_events_url":"https://api.github.com/users/RockyTV/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RockyTV/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":true,"url":"https://api.github.com/repos/RockyTV/OpenRA","forks_url":"https://api.github.com/repos/RockyTV/OpenRA/forks","keys_url":"https://api.github.com/repos/RockyTV/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RockyTV/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RockyTV/OpenRA/teams","hooks_url":"https://api.github.com/repos/RockyTV/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/RockyTV/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/RockyTV/OpenRA/events","assignees_url":"https://api.github.com/repos/RockyTV/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/RockyTV/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/RockyTV/OpenRA/tags","blobs_url":"https://api.github.com/repos/RockyTV/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RockyTV/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RockyTV/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/RockyTV/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RockyTV/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/RockyTV/OpenRA/languages","stargazers_url":"https://api.github.com/repos/RockyTV/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/RockyTV/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/RockyTV/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/RockyTV/OpenRA/subscription","commits_url":"https://api.github.com/repos/RockyTV/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/RockyTV/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/RockyTV/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/RockyTV/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/RockyTV/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/RockyTV/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RockyTV/OpenRA/merges","archive_url":"https://api.github.com/repos/RockyTV/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RockyTV/OpenRA/downloads","issues_url":"https://api.github.com/repos/RockyTV/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/RockyTV/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/RockyTV/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/RockyTV/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RockyTV/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/RockyTV/OpenRA/releases{/id}","created_at":"2015-10-28T16:37:48Z","updated_at":"2016-01-15T15:33:21Z","pushed_at":"2016-01-20T20:44:56Z","git_url":"git://github.com/RockyTV/OpenRA.git","ssh_url":"git@github.com:RockyTV/OpenRA.git","clone_url":"https://github.com/RockyTV/OpenRA.git","svn_url":"https://github.com/RockyTV/OpenRA","homepage":"http://www.openra.net","size":101813,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"bleed"}},"base":{"label":"OpenRA:bleed","ref":"bleed","sha":"3b675c9badf12f70c89c815c2c0a9248fc3c7683","user":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"repo":{"id":959908,"name":"OpenRA","full_name":"OpenRA/OpenRA","owner":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRA/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":false,"url":"https://api.github.com/repos/OpenRA/OpenRA","forks_url":"https://api.github.com/repos/OpenRA/OpenRA/forks","keys_url":"https://api.github.com/repos/OpenRA/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRA/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRA/OpenRA/teams","hooks_url":"https://api.github.com/repos/OpenRA/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRA/OpenRA/events","assignees_url":"https://api.github.com/repos/OpenRA/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRA/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRA/OpenRA/tags","blobs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRA/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRA/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRA/OpenRA/languages","stargazers_url":"https://api.github.com/repos/OpenRA/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/OpenRA/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/OpenRA/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/OpenRA/OpenRA/subscription","commits_url":"https://api.github.com/repos/OpenRA/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRA/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRA/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRA/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRA/OpenRA/merges","archive_url":"https://api.github.com/repos/OpenRA/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRA/OpenRA/downloads","issues_url":"https://api.github.com/repos/OpenRA/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRA/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRA/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/OpenRA/OpenRA/releases{/id}","created_at":"2010-10-04T07:38:05Z","updated_at":"2016-01-20T13:53:54Z","pushed_at":"2016-01-20T20:44:57Z","git_url":"git://github.com/OpenRA/OpenRA.git","ssh_url":"git@github.com:OpenRA/OpenRA.git","clone_url":"https://github.com/OpenRA/OpenRA.git","svn_url":"https://github.com/OpenRA/OpenRA","homepage":"http://www.openra.net","size":141520,"stargazers_count":2529,"watchers_count":2529,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":872,"mirror_url":null,"open_issues_count":936,"forks":872,"open_issues":936,"watchers":2529,"default_branch":"bleed"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10551"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/10551"},"issue":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/10551"},"comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/10551/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10551/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10551/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRA/OpenRA/statuses/6f715a6a4ee37abaa29d2c0dd879cfdeff3f9322"}}}}