Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit 5a426bd

Browse files
committed
Use the correct get-text function for plurals.
CL-1302
1 parent bc35853 commit 5a426bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/i18n.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class I18n {
8787
public static plural(
8888
context: string, text: string, textPlural: string, numberOfThings: number,
8989
): string {
90-
const stringValue = I18n._gt.dngettext(context, text, textPlural, numberOfThings);
90+
const stringValue = I18n._gt.npgettext(context, text, textPlural, numberOfThings);
9191
return I18n.interpolate(stringValue, { n: numberOfThings });
9292
}
9393

0 commit comments

Comments
 (0)