Hi.
What is the proper way to handle situations where you need
pluralization with and without adding the count?
The best I could think of is to write it twice:
item:
one: 'item'
other: 'items'
c_item:
one: 'one item'
other: '{{count}} items'
It's not very DRY.
I guess there should be a better way of doing. How do you handle this
situation?
--
M.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---