i18n-tasks icon indicating copy to clipboard operation
i18n-tasks copied to clipboard

Unused false positive with dynamic + plural keys

Open atd opened this issue 6 years ago • 2 comments

Adding the following translation to a haml results in keys reported as unused

= t("views.shared.filters.by.#{group_type}", count: items.length)

atd avatar Dec 04 '17 08:12 atd

Do you have search.strict set to false, as per https://github.com/glebm/i18n-tasks#dynamic-keys?

glebm avatar Dec 04 '17 11:12 glebm

That's the first thing I tried, but didn't work. I double checked by setting it in config/i18n-tasks.yml but still not working

atd avatar Dec 06 '17 07:12 atd