Please sign in to comment.
Pass the current locale to Inflector from the pluralize text helper.
The pluralize text helper uses the Inflector to determine the plural form. The inflector accepts an optional parameter for the locale, so we can pass it from the text helper to have locale-aware pluralizations on the text helpers level. The pluralize text helper now only accepts 2 positional arguments: `count` and `singular`. Passing `plural` as a positional argument is now deprecated.
- Loading branch information...
Showing with 36 additions and 17 deletions.