
Wrong argument interpolation
Reported by Nando Vieira | April 25th, 2009 @ 07:00 AM
When setting a translation string to "Página %d" the following error message is raised:
interpolation argument count missing in "Página {{count}}"
This is an incorrectly behavior because I'm not asking for {{count}} interpolation. The interpolation should be applied only on braces placeholders, as extensively documented.
Comments and changes to this ticket
-
Sven Fuchs July 5th, 2009 @ 11:04 PM
- State changed from new to invalid
Hi Nando,
this behaviour is intended and due to backwards compatibility w/ older Rails versions (should also issue a deprecation warning). It will be removed in the next Rails version.
Please reopen the ticket if I'm missing something here.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Internationalization API for Ruby.
This library is used in Ruby on Rails but also suited for use in other contexts.