{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/298","repository_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge","labels_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/298/comments","events_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/298/events","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/298","id":184632345,"number":298,"title":"aurelia-i18n not working with aurelia-materialize-bridge?","user":{"login":"mar9000","id":331128,"avatar_url":"https://avatars.githubusercontent.com/u/331128?v=3","gravatar_id":"","url":"https://api.github.com/users/mar9000","html_url":"https://github.com/mar9000","followers_url":"https://api.github.com/users/mar9000/followers","following_url":"https://api.github.com/users/mar9000/following{/other_user}","gists_url":"https://api.github.com/users/mar9000/gists{/gist_id}","starred_url":"https://api.github.com/users/mar9000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mar9000/subscriptions","organizations_url":"https://api.github.com/users/mar9000/orgs","repos_url":"https://api.github.com/users/mar9000/repos","events_url":"https://api.github.com/users/mar9000/events{/privacy}","received_events_url":"https://api.github.com/users/mar9000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-22T14:09:12Z","updated_at":"2016-10-22T16:43:06Z","closed_at":null,"body":"with `t=\"[md-label]email\"` in an `md-input` element the md-label seems to be set correctly but only after the label element gets created indeed the label content does not come from translation. The original md-input:\r\n```html\r\n<md-input t=\"[md-label]email\" md-label=\"E\" md-type=\"email\" md-value.bind=\"email\"></md-input>\r\n```\r\nThe result:\r\n```html\r\n<md-input t=\"[md-label]email\" md-label=\"Email\" md-type=\"email\" md-value.bind=\"email\" class=\"au-target\" au-target-id=\"96\">\r\n  <div class=\"input-field\">\r\n    [snip]\r\n    <label ref=\"label\" class=\"au-target\" au-target-id=\"87\" for=\"md-input-0\">E</label>\r\n  </div>\r\n</md-input>\r\n```\r\nThe label should show \"Email\" instead of \"E\".\r\nI'm quite sure this is a bug of this project, can someone in case confirm it's a bug of the aurelia-i18n project instead?"},"comment":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/comments/255539138","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/298#issuecomment-255539138","issue_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/298","id":255539138,"user":{"login":"mar9000","id":331128,"avatar_url":"https://avatars.githubusercontent.com/u/331128?v=3","gravatar_id":"","url":"https://api.github.com/users/mar9000","html_url":"https://github.com/mar9000","followers_url":"https://api.github.com/users/mar9000/followers","following_url":"https://api.github.com/users/mar9000/following{/other_user}","gists_url":"https://api.github.com/users/mar9000/gists{/gist_id}","starred_url":"https://api.github.com/users/mar9000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mar9000/subscriptions","organizations_url":"https://api.github.com/users/mar9000/orgs","repos_url":"https://api.github.com/users/mar9000/repos","events_url":"https://api.github.com/users/mar9000/events{/privacy}","received_events_url":"https://api.github.com/users/mar9000/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T16:43:06Z","updated_at":"2016-10-22T16:43:06Z","body":"In fact (after investigation) i18n.js just use Element.setAttribute() on the node, in the above example set the attribute \"md-label\" is set to \"Email\". Still not sure if this is an aurelia-i18n bug or an aurelia-materialize-bridge bug."}}
{"actor":{"display_login":"mar9000"}}