Hello,
Im using this method and sometimes getting errors like this:
I18n::InvalidPluralizationData in Forums#show
Showing app/views/forums/show.html.erb where line #13 raised:
translation data {:one=>"1 minuto", :many=>"{{count}} minutos"} can
not be used with :count => 2
It only happens when using localization (I have the file, pt-br.yml
and its ok, I checked it for indentation and all ). if I set it for
the default language, or just remove the translation strings regarding
to datetime, it works.
Seems like the error happens only when dealing with differences in
minutes. for differences greater than 1 hour it works correctly.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---