Closed Bug 1213779 Opened 9 years ago Closed 3 years ago

Change the way we determine pluralized entities

Categories

(Webtools Graveyard :: Pontoon, defect, P4)

defect

Tracking

(firefox44 affected)

RESOLVED MOVED
Tracking Status
firefox44 --- affected

People

(Reporter: mathjazz, Unassigned)

Details

We don't currently have any good way to represent whether an entity is pluralized or not, neither on backend nor on frontend.

Current implementation on backend:
- check for Entity.string_plural
- VCSModels: dict with None key for singular, numbers for plural

Current implementation on frontend:
- check for entity.original_plural
- isPluralized(): doesn't work for locales with nplurals == 1
- getPluralForm(): doesn't work for locales with nplurals == 1

Also:
https://github.com/mozilla/pontoon/pull/208
Summary: Determine pluralized entities → Change the way we determine pluralized entities
Priority: -- → P4
*This bug has been moved to GitHub.*

*Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.