search for: num_posts_today

Displaying 1 result from an estimated 1 matches for "num_posts_today".

2005 Aug 10
24
Multilingual Rails v0.5. Big update!
...up. Extensive unit tests for all announced features. A brief description of the new features. More detailed information is available at the homepage: http://www.tuxsoft.se/oss/rails/multilingual The biggest new feature is IMHO support for pluralization. Example translation file: string :num_posts_today do to :en, "%P today.", "No posts", "One post", "Two posts", "%d posts" end Example usage: :num_posts_today % [0] #=> "No posts today." :num_posts_today % [1] #=> "One post today." :num_posts_today % [2] #=> "Tw...