-
Notifications
You must be signed in to change notification settings - Fork 29
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
Format number choice #148
Comments
This can be changed by editing the (if results > 1 ---> current behaviour, if results == 1 --> new message) |
The right way to do is to use a |
Yeah, that was my first thought, but looking at the code I see I would have to create the echo_transchoice method and for me its not worth the trouble, I'll go for the condition loostro suggested. |
Is it possible to override the nbresults template without changing the vendor file? I've been trying to do it without success... |
@pjam Yes, but you will have to follow this cookbook item: Extending generator templates. |
Thanks @bobvandevijver exactly what I needed! |
Fix for nbresults.html.twig when there is only one result #148
Just a minor correction.
In list view, when only 1 object is created, it reads "Showing all 1 results", where it should be "Showing all 1 result" or "Showing 1 result".
The text was updated successfully, but these errors were encountered: