You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like with the new class syntax, our macro seems unnecessary:
t
Old
exportdefaultComponent.extend({followersCount: 1,// A simple translation.title: t('user.edit.title'),// A translation with interpolations. This computed property// depends on `count` and will send `{ count: this.followersCount }`// in to the translation.followersTitle: t('user.followers.title',{count: 'followersCount'})});
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Looks like with the new class syntax, our macro seems unnecessary:
t
Old
New
intl
Old
New
Thoughts? @jasonmit
Beta Was this translation helpful? Give feedback.
All reactions