akeeba / fof

Rapid Application Development framework for Joomla!™ 3 and 4
0 stars 0 forks source link

Inflector bug. lowercase fix. #560

Closed Cook-Self-Service closed 9 years ago

Cook-Self-Service commented 9 years ago

When inflector tries to translate triad names, they are received whit first capital letter. So the custom words in cache cannot be found. This fix permits to custom the pairs of singular/plural for the triad files.

nikosdion commented 9 years ago

No, it is not a bug. The singular form of Items is Item and the singular form of items is item. Having read your emails, the problem is that you are only adding the lowercase pair to the inflector instead of BOTH the lowercase and camelcased pairs.