Fix footer messages in StarterPack wizard and updates ja messages

This commit is contained in:
Takayuki KUSANO
2024-06-26 21:23:17 +09:00
parent b23f112689
commit 9a90898abc
2 changed files with 221 additions and 207 deletions
File diff suppressed because it is too large Load Diff
+26 -10
View File
@@ -454,20 +454,13 @@ function Footer({
<Trans>Search for feeds that you want to suggest to others.</Trans>
</Text>
</View>
) : (
) : state.currentStep === 'Profiles' ? (
<Text style={[a.text_center, textStyles]}>
{state.currentStep === 'Profiles' && items.length === 1 ? (
{items.length === 1 ? (
<Trans>
It's just you right now! Add more people to your starter pack by
searching above.
</Trans>
) : items.length === 1 ? (
<Trans>
<Text style={[a.font_bold, textStyles]}>
{getName(items[initialNamesIndex])}
</Text>{' '}
is included in your starter pack
</Trans>
) : items.length === 2 ? (
<Trans>
<Text style={[a.font_bold, textStyles]}>You</Text> and
@@ -477,7 +470,7 @@ 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])},{' '}
@@ -489,6 +482,29 @@ function Footer({
<Plural value={items.length - 2} one="# other" other="# others" />{' '}
are included in your starter pack
</Trans>
)}
</Text>
) : (
<Text style={[a.text_center, textStyles]}>
{items.length === 1 ? (
<Trans>
<Text style={[a.font_bold, textStyles]}>
{getName(items[initialNamesIndex])}
</Text>{' '}
is included in your starter pack
</Trans>
) : items.length === 2 ? (
<Trans>
<Text style={[a.font_bold, textStyles]}>
{getName(items[initialNamesIndex])}
</Text>{' '}
and
<Text> </Text>
<Text style={[a.font_bold, textStyles]}>
{getName(items[initialNamesIndex + 1])}{' '}
</Text>
are included in your starter pack
</Trans>
) : (
<Trans context="feeds">
<Text style={[a.font_bold, textStyles]}>