Skip to content

Commit 4c29662

Browse files
committed
fix: typo
1 parent 2880dc6 commit 4c29662

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

default_hooks.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function getPluralRules(locale: string) {
4242

4343
const symPluralRule = Symbol("pluralRule");
4444

45-
function createPluginHook(pluralRule: Intl.LDMLPluralRule): Hook {
45+
function createPluralHook(pluralRule: Intl.LDMLPluralRule): Hook {
4646
return (source, args, ctx, info) => {
4747
if (ctx.metadata.matched) {
4848
return ctx.out;
@@ -71,12 +71,12 @@ export const defaultHooks: Record<string, Hook> = {
7171
female: createGenderHook("female"),
7272

7373
// plural
74-
zero: createPluginHook("zero"),
75-
one: createPluginHook("one"),
76-
two: createPluginHook("two"),
77-
few: createPluginHook("few"),
78-
many: createPluginHook("many"),
79-
other: createPluginHook("other"),
74+
zero: createPluralHook("zero"),
75+
one: createPluralHook("one"),
76+
two: createPluralHook("two"),
77+
few: createPluralHook("few"),
78+
many: createPluralHook("many"),
79+
other: createPluralHook("other"),
8080

8181
// else
8282
else: (_, args, ctx) => {

0 commit comments

Comments
 (0)