Closed Bug 1437579 Opened 6 years ago Closed 6 years ago

Update plural rule for Breton (br), removing special case for 1

Categories

(Core :: Internationalization, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox60 --- affected

People

(Reporter: flod, Assigned: flod)

References

Details

Full discussion is in bug 1432149. We should sync with CLDR and drop the special case for '1'.
Turns out the rule is already exactly like CLDR…

n%10==1 && n%100!=11 && n%100!=71 && n%100!=91 
    ? 0
    : n%10==2 && n%100!=12 && n%100!=72 && n%100!=92
        ? 1
        :(n%10==3||n%10==4||n%10==9) && n%100!=13 && n%100!=14 && n%100!=19 && n%100!=73 && n%100!=74 && n%100!=79 && n%100!=93 && n%100!=94 && n%100!=99
            ? 2
            : n%1000000==0 && n!=0 
                ? 3
                : 4

It's only the description here that is wrong
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals#List_of_Plural_Rules
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.