Skip to content

Commit 6e1aa92

Browse files
authored
fix: plural variable name change not generating screenshots correctly (#3438)
Closes #3419
1 parent c765a14 commit 6e1aa92

File tree

1 file changed

+4
-1
lines changed
  • packages/web/src/package/ui/KeyDialog/dialogContext

1 file changed

+4
-1
lines changed

packages/web/src/package/ui/KeyDialog/dialogContext/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,10 @@ export const [DialogProvider, useDialogActions, useDialogContext] =
450450
([language, value]) =>
451451
[
452452
language,
453-
tolgeeFormatGenerateIcu(value.value, !icuPlaceholders),
453+
tolgeeFormatGenerateIcu(
454+
{ ...value.value, parameter: pluralArgName },
455+
!icuPlaceholders
456+
),
454457
] as [string, string]
455458
)
456459
);

0 commit comments

Comments
 (0)