Ember-intl: Provide @t decorator

Created on 16 Oct 2018  路  5Comments  路  Source: ember-intl/ember-intl

Please provide a @t decorator. Just for convenience not to use the @macro helper everytime. Would be a good to be served by ember-intl directly.

enhancement proposal

Most helpful comment

Published a first draft of @ember-intl/decorators to npm. 馃殌

All 5 comments

I like the suggestion! 馃槉

Interesting I like the idea. Can you share an example of the API? Specifically around a translation that has props where they might not necessarily be static?

@jasonmit I've done a quick implementation in https://github.com/ember-intl/ember-intl/pull/624 that also showcases the API. 馃槉

Published a first draft of @ember-intl/decorators to npm. 馃殌

@buschtoens feel free to add to the readme. Awesome work :)

Was this page helpful?
0 / 5 - 0 ratings