Inserting a translation into a placeholder with Emblem.js
问题 I'm trying to write a login form with ember.js/emblem.js. Everything works, unless I try I18ning the placeholders like so: Em.TextField valueBinding="view.username" placeholder="#{t 'users.attributes.username}" Em.TextField valueBinding="view.password" placeholder="#{t 'users.attributes.password'}" type="password" I get the same response if I try: = input value=view.username placeholder="#{t 'users.attributes.username}" = input value=view.password placeholder="#{t 'users.attributes.password'}