You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Patches are welcome. The proper fix is not to unconditionally call getPluralRules, but call getPluralRules again in setLanguage if the language changed.
Subj.
Error is here:
...
// initialize _pluralRules
if (!gMacros._pluralRules) {
gMacros._pluralRules = getPluralRules(gLanguage);
}
...
so, pluralRules are intializaed only once.
To fix it, remove if statement:
...
// initialize _pluralRules
gMacros._pluralRules = getPluralRules(gLanguage);
...
The text was updated successfully, but these errors were encountered: