mainmatter / ember-intl-analyzer

Find missing or unused translations in your Ember.js projects
MIT License
48 stars 14 forks source link

`analyzeConcatExpression` Doesn't catch component arguments #641

Closed amk221 closed 1 year ago

amk221 commented 1 year ago

Example:

<MyComponent @arg={{t (concat "foo." @bar)}} />
amk221 commented 1 year ago

Ah, I was looking at the tests a bit more, and I see now that analyzeConcatExpression expects at least a string, so it can complete the concatenation. Whereas, in my example it's unknown