Change the way we determine pluralized entities

NEW
Unassigned

Status

P4
normal
3 years ago
3 years ago

People

(Reporter: mathjazz, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox44 affected)

Details

(Reporter)

Description

3 years ago
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
(Reporter)

Updated

3 years ago
Summary: Determine pluralized entities → Change the way we determine pluralized entities
(Reporter)

Updated

3 years ago
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.