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

Version 1.0.14 thinks any method ending in `_t` is a translation method

Open mvz opened this issue 1 year ago • 1 comments

I have a method theme_t that takes a string and is used in my ERB files. With version 1.0.14, i18n-tasks has started complaining that these string arguments cannot be found in the translation files.

It seems the relevant change is e939d0e1f51baaa5d8f229f54bc18d3cc438d71b, since the changed regex matches theme_t "foo" but the original regex did not.

mvz avatar May 13 '24 08:05 mvz

Will check it out.

davidwessman avatar May 13 '24 10:05 davidwessman

@mvz Could you add your config/i18n-tasks.yml?

davidwessman avatar May 13 '24 20:05 davidwessman

@davidwessman thanks for taking care of this. I missed your request but it seems it's not needed anymore.

mvz avatar May 14 '24 07:05 mvz

@davidwessman thanks for taking care of this. I missed your request but it seems it's not needed anymore.

I figured it out, that it was not in an .html.erb but some other .erb 🙂

davidwessman avatar May 14 '24 07:05 davidwessman