Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

"%{possible_points} points" Needs plural forms #5294

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

"%{possible_points} points" Needs plural forms #5294

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: GunChleoc
[Submitted to the original trac issue database at 12.06pm, Sunday, 15th March 2015]

Can you please set the following string to use the plural format?

OSM website

[Wiki]

loaded successfully with %{trace_points} out of a possible %{possible_points} points.

I think it should look like this:

loaded successfully with %{trace_points} out of {{PLURAL|a possible %{possible_points} point|a possible %{possible_points} points}}

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 1.51pm, Sunday, 15th March 2015]

That's not going to work because there are two variables in that string which need to support pluralisation, and that isn't something the rails translation system supports.

@openstreetmap-trac
Copy link
Author

Author: Andy Allan
[Added to the original trac issue at 12.41pm, Wednesday, 16th October 2019]

Moved to openstreetmap/openstreetmap-website#2397

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant