Skip to content

Commit

Permalink
Modified to use "measure word" in "# others" (#4607)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkusano authored Jun 23, 2024
1 parent de1b7f7 commit 0a0c738
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/screens/StarterPack/Wizard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,17 +493,29 @@ function Footer({
</Text>
are included in your starter pack
</Trans>
) : state.currentStep === 'Profiles' ? (
<Trans context="profiles">
<Text style={[a.font_bold, textStyles]}>
{getName(items[initialNamesIndex])},{' '}
</Text>
<Text style={[a.font_bold, textStyles]}>
{getName(items[initialNamesIndex + 1])},{' '}
</Text>
and{' '}
<Plural value={items.length - 2} one="# other" other="# others" />{' '}
are included in your starter pack
</Trans>
) : (
<Trans>
<Trans context="feeds">
<Text style={[a.font_bold, textStyles]}>
{getName(items[initialNamesIndex])},{' '}
</Text>
<Text style={[a.font_bold, textStyles]}>
{getName(items[initialNamesIndex + 1])},{' '}
</Text>
and {items.length - 2}{' '}
<Plural value={items.length - 2} one="other" other="others" /> are
included in your starter pack
and{' '}
<Plural value={items.length - 2} one="# other" other="# others" />{' '}
are included in your starter pack
</Trans>
)}
</Text>
Expand Down

0 comments on commit 0a0c738

Please sign in to comment.