{"action":"opened","number":203,"pull_request":{"url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls/203","id":74279590,"html_url":"https://github.com/uProxy/ufo-management-server-flask/pull/203","diff_url":"https://github.com/uProxy/ufo-management-server-flask/pull/203.diff","patch_url":"https://github.com/uProxy/ufo-management-server-flask/pull/203.patch","issue_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues/203","number":203,"state":"open","locked":false,"title":"Use Quaintous-i18n for i18n Messages in Polymer Elements and Remove Messages from Resource Dictionary","user":{"login":"xwsxethan","id":6269245,"avatar_url":"https://avatars.githubusercontent.com/u/6269245?v=3","gravatar_id":"","url":"https://api.github.com/users/xwsxethan","html_url":"https://github.com/xwsxethan","followers_url":"https://api.github.com/users/xwsxethan/followers","following_url":"https://api.github.com/users/xwsxethan/following{/other_user}","gists_url":"https://api.github.com/users/xwsxethan/gists{/gist_id}","starred_url":"https://api.github.com/users/xwsxethan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xwsxethan/subscriptions","organizations_url":"https://api.github.com/users/xwsxethan/orgs","repos_url":"https://api.github.com/users/xwsxethan/repos","events_url":"https://api.github.com/users/xwsxethan/events{/privacy}","received_events_url":"https://api.github.com/users/xwsxethan/received_events","type":"User","site_admin":false},"body":"A lot of Polymer elements/components are modified in this PR, but as you'll see the changes are pretty small in nature, just copied multiple times over. Each change is basically as follows:\r\n\r\n1. Make the dom module reference a new property for the i18n message (rather than referencing resources).\r\n2. Make the binding one way instead of two way (use square brackets [] instead of curly braces {}).\r\n3. Set the new property inside of the attached event handler function for the dom module (have to use attached to ensure that quaintous-i18n is already loaded) using the __i18n__ function from quaintous-i18n.\r\n4. Add quaintous-i18n as a relative import. This isn't actually necessary because of how we handle vulcanization, but it is still included to show where the reference comes from.\r\n\r\nFinally, I removed all the messages from the resource dictionary since the resource dictionary is no longer being reference for them.","created_at":"2016-06-17T17:44:52Z","updated_at":"2016-06-17T17:44:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls/203/commits","review_comments_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls/203/comments","review_comment_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues/203/comments","statuses_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/statuses/11efea89de73883a38002b0bbee457adafbc247a","head":{"label":"uProxy:i18nPolymerSwitch","ref":"i18nPolymerSwitch","sha":"11efea89de73883a38002b0bbee457adafbc247a","user":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"repo":{"id":49228678,"name":"ufo-management-server-flask","full_name":"uProxy/ufo-management-server-flask","owner":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uProxy/ufo-management-server-flask","description":"Management Server component of uProxy for Orgs","fork":false,"url":"https://api.github.com/repos/uProxy/ufo-management-server-flask","forks_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/forks","keys_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/teams","hooks_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/hooks","issue_events_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues/events{/number}","events_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/events","assignees_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/assignees{/user}","branches_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/branches{/branch}","tags_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/tags","blobs_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/statuses/{sha}","languages_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/languages","stargazers_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/stargazers","contributors_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/contributors","subscribers_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/subscribers","subscription_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/subscription","commits_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/contents/{+path}","compare_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/merges","archive_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/downloads","issues_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues{/number}","pulls_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls{/number}","milestones_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/milestones{/number}","notifications_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/labels{/name}","releases_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/releases{/id}","deployments_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/deployments","created_at":"2016-01-07T20:25:00Z","updated_at":"2016-04-20T16:24:26Z","pushed_at":"2016-06-17T17:38:28Z","git_url":"git://github.com/uProxy/ufo-management-server-flask.git","ssh_url":"git@github.com:uProxy/ufo-management-server-flask.git","clone_url":"https://github.com/uProxy/ufo-management-server-flask.git","svn_url":"https://github.com/uProxy/ufo-management-server-flask","homepage":"","size":1005,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"uProxy:master","ref":"master","sha":"98213d5a34b96d3d9270fe9bc4dd10ec47aba0f4","user":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"repo":{"id":49228678,"name":"ufo-management-server-flask","full_name":"uProxy/ufo-management-server-flask","owner":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uProxy/ufo-management-server-flask","description":"Management Server component of uProxy for Orgs","fork":false,"url":"https://api.github.com/repos/uProxy/ufo-management-server-flask","forks_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/forks","keys_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/teams","hooks_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/hooks","issue_events_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues/events{/number}","events_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/events","assignees_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/assignees{/user}","branches_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/branches{/branch}","tags_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/tags","blobs_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/statuses/{sha}","languages_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/languages","stargazers_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/stargazers","contributors_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/contributors","subscribers_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/subscribers","subscription_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/subscription","commits_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/contents/{+path}","compare_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/merges","archive_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/downloads","issues_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues{/number}","pulls_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls{/number}","milestones_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/milestones{/number}","notifications_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/labels{/name}","releases_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/releases{/id}","deployments_url":"https://api.github.com/repos/uProxy/ufo-management-server-flask/deployments","created_at":"2016-01-07T20:25:00Z","updated_at":"2016-04-20T16:24:26Z","pushed_at":"2016-06-17T17:38:28Z","git_url":"git://github.com/uProxy/ufo-management-server-flask.git","ssh_url":"git@github.com:uProxy/ufo-management-server-flask.git","clone_url":"https://github.com/uProxy/ufo-management-server-flask.git","svn_url":"https://github.com/uProxy/ufo-management-server-flask","homepage":"","size":1005,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls/203"},"html":{"href":"https://github.com/uProxy/ufo-management-server-flask/pull/203"},"issue":{"href":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues/203"},"comments":{"href":"https://api.github.com/repos/uProxy/ufo-management-server-flask/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uProxy/ufo-management-server-flask/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/uProxy/ufo-management-server-flask/statuses/11efea89de73883a38002b0bbee457adafbc247a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":291,"deletions":289,"changed_files":18}}
{"actor":{"display_login":"xwsxethan"}}