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

Not all names work well with functions str_singular / str_plural #79

Closed
eduardoarandah opened this issue May 8, 2016 · 3 comments
Closed

Comments

@eduardoarandah
Copy link
Contributor

for example in spanish plurals might end with "s" "es" "as"
to make it worse, some singulars also end with "s" like "mes" (month in spanish)

what if we add the option for the generators?

class CrudCommand extends Command
{
...
        {--singular= : singular for the crud name}
        ';
@sohelamin
Copy link
Owner

Great idea (y)
We can make it optional option eg: if someone fill it then generator will assume from this option otherwise will try to make singular from the crud name(plural).

@eduardoarandah
Copy link
Contributor Author

It will also help people that always use singular forms (like me)

El martes, 10 de mayo de 2016, Sohel Amin notifications@github.com
escribió:

Great idea (y)
We can make it optional option eg: if someone fill it then generator
will assume from this option otherwise will try to make singular from the
crud name(plural).


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#79 (comment)

Enviado desde mi móvil

@sohelamin
Copy link
Owner

Yeah you can make a PR for this option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants