[openstreetmap/openstreetmap-website] Notifier message pluralization (#2431)

Tom Hughes notifications at github.com
Tue Mar 31 23:00:25 UTC 2020


Aside from the fact that it won't work? It's trying to pluralise but that only works if the variable is called `count` and neither variable here is called that.

The core problem that is that there are two numeric variables here and either one could be singular or plural but pluralisation only supports a single controlling variable. Because the two here are related it might just be possible but I can imagine there might be languages where it would be a problem.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2431#issuecomment-606928810
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200331/3649e5be/attachment.htm>


More information about the rails-dev mailing list