[openstreetmap/openstreetmap-website] Notifier message pluralization (#2431)
Bruno Rafael
notifications at github.com
Tue Nov 12 18:40:27 UTC 2019
### Feature
Correctly pluralize the word point in the notification message based on the given possible points.
The possible points parameter name needs to be `count` in order to provide the necessary information to i18n choose the right message.
Solves #2397
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2431
-- Commit Summary --
* Pluralize notifier message when other than 1
-- File Changes --
M app/views/notifier/gpx_success.html.erb (2)
M config/locales/en.yml (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2431.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2431.diff
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191112/d4ea46eb/attachment.html>
More information about the rails-dev
mailing list