gravitystorm left a comment (openstreetmap/openstreetmap-website#5878)

> Can `%{count}` be anything other that 1 in "less than %{count} second ago"?

https://github.com/rails/rails/blob/3235827585d87661942c91bc81f64f56d710f0b2/actionview/lib/action_view/helpers/date_helper.rb#L114-L116

For `:less_than_x_seconds` the only values of `count` that are used are 5, 10 
and 20. It's unknown to me if any language uses the `:one` form for 5, 10 or 
20. It seems unlikely. 

However, it would be a very hard edge-case to code into Translatewiki to know 
that the `:one` key isn't needed for this specific translation! So it's 
probably easier to treat it as normal, and require the `%{count}` placeholder 
anyway, since it's needed in all the other translations.




-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5878#issuecomment-2775123925
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/5878/2775123...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to