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

best way i18n way to produce title on scaffold templates #909

Open
ironoxid opened this issue Jun 1, 2016 · 0 comments
Open

best way i18n way to produce title on scaffold templates #909

ironoxid opened this issue Jun 1, 2016 · 0 comments

Comments

@ironoxid
Copy link

ironoxid commented Jun 1, 2016

Hello,
can you change the title line to improve i18n?
From:
<h1><%=t '.title', :default => model_class.model_name.human.pluralize.titleize %></h1>
To:
<h1><%=t '.title', :default => model_class.model_name.human(count: 2).titleize %></h1>
By this way is possibile to use model/one and model/other on locales.
Thank you
G.

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

1 participant