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

Translations need plural for "Loading %{num_features} features..." #5290

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: GunChleoc
[Submitted to the original trac issue database at 8.52pm, Monday, 9th March 2015]

I have just started a new translation, and I noticed that the following string would profit from a plural from format:

"Loading %{num_features} features, which may make your browser slow or unresponsive. Are sure you want to display this data?"

!TranslateWiki ID:
Osm:Browse.start rjs.feature warning/gd

The string's comment is:

[Wiki] Parameters:
[Wiki] * %{num_features} - number of features
[Wiki] * %{max_features} - (Unused) max number of features
[Wiki]
[Wiki] Feature signifie dans le contexte : Objet OSM(node, way, relation), Point d'intrt, lment

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 6.09pm, Wednesday, 11th March 2015]

Whilst I could do this it would have no practical event at the moment, because that value is always a relatively large number (at least 100) and hence will fall into the "other" bucket.

There is an issue when it comes to languages that do something more complicated than zero/one/many for pluralisation, but this is a client side string and we don't currently have any source for custom pluralisation engines in the i18n-js code on the client.

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