Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inflector turns settings -> settingss (settings is already plural) #52800

Closed
acirulis opened this issue Nov 29, 2023 · 3 comments
Closed

Inflector turns settings -> settingss (settings is already plural) #52800

acirulis opened this issue Nov 29, 2023 · 3 comments

Comments

@acirulis
Copy link

acirulis commented Nov 29, 2023

Symfony version(s) affected

6.3.9

Description

It is a continuation of api-platform/core#5957 and #52526

I discovered that plural of "settings" is now "settingss" - double s.

How to reproduce

$inflector = new EnglishInflector();
$inflector->pluralize('equipment')); // will return correctly: equipment
$inflector->pluralize('setting')); // will return correctly: settings
$inflector->pluralize('settings')); // will return INCORRECTLY: settingss - it is already plural

Possible Solution

No response

Additional Context

No response

@carsonbot
Copy link

Hey, thanks for your report!
There has not been a lot of activity here for a while. Is this bug still relevant? Have you managed to find a workaround?

@xabbuh
Copy link
Member

xabbuh commented May 30, 2024

Is "settings" a valid singular form?

@xabbuh
Copy link
Member

xabbuh commented Jun 7, 2024

closing here as if I am not mistaken "settings" is already plural and therefore must not be passed to pluralize() (see #52803 (comment))

@xabbuh xabbuh closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants