Skip to content

Conversation

@aleho
Copy link
Contributor

@aleho aleho commented Aug 1, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
License MIT

The English inflector incorrectly singularizes words ending in "les", e.g., "articles":

[
  0 => "articl",
  1 => "article"
]

As far as I'm aware "articl" is not a valid singular form for "articles". ;)

After this PR:

[
  0 => "article"
]

I'm not entirely sure whether the map entry is correct this way, but at least the tests don't break.

@carsonbot carsonbot added this to the 5.4 milestone Aug 1, 2024
@carsonbot carsonbot changed the title [String][EnglishInflector] Fix words ending in 'le', e.g., articles [String] [EnglishInflector] Fix words ending in 'le', e.g., articles Aug 1, 2024
@OskarStark OskarStark changed the title [String] [EnglishInflector] Fix words ending in 'le', e.g., articles [String] [EnglishInflector] Fix words ending with le, e.g., articles Aug 2, 2024
@fabpot
Copy link
Member

fabpot commented Aug 3, 2024

Thank you @aleho.

@fabpot fabpot merged commit a91d20d into symfony:5.4 Aug 3, 2024
This was referenced Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants