Fix footer messages in StarterPack wizard and updates ja messages
This commit is contained in:
+195
-197
File diff suppressed because it is too large
Load Diff
@@ -454,20 +454,13 @@ function Footer({
|
|||||||
<Trans>Search for feeds that you want to suggest to others.</Trans>
|
<Trans>Search for feeds that you want to suggest to others.</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
) : (
|
) : state.currentStep === 'Profiles' ? (
|
||||||
<Text style={[a.text_center, textStyles]}>
|
<Text style={[a.text_center, textStyles]}>
|
||||||
{state.currentStep === 'Profiles' && items.length === 1 ? (
|
{items.length === 1 ? (
|
||||||
<Trans>
|
<Trans>
|
||||||
It's just you right now! Add more people to your starter pack by
|
It's just you right now! Add more people to your starter pack by
|
||||||
searching above.
|
searching above.
|
||||||
</Trans>
|
</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 ? (
|
) : items.length === 2 ? (
|
||||||
<Trans>
|
<Trans>
|
||||||
<Text style={[a.font_bold, textStyles]}>You</Text> and
|
<Text style={[a.font_bold, textStyles]}>You</Text> and
|
||||||
@@ -477,7 +470,7 @@ function Footer({
|
|||||||
</Text>
|
</Text>
|
||||||
are included in your starter pack
|
are included in your starter pack
|
||||||
</Trans>
|
</Trans>
|
||||||
) : state.currentStep === 'Profiles' ? (
|
) : (
|
||||||
<Trans context="profiles">
|
<Trans context="profiles">
|
||||||
<Text style={[a.font_bold, textStyles]}>
|
<Text style={[a.font_bold, textStyles]}>
|
||||||
{getName(items[initialNamesIndex])},{' '}
|
{getName(items[initialNamesIndex])},{' '}
|
||||||
@@ -489,6 +482,29 @@ function Footer({
|
|||||||
<Plural value={items.length - 2} one="# other" other="# others" />{' '}
|
<Plural value={items.length - 2} one="# other" other="# others" />{' '}
|
||||||
are included in your starter pack
|
are included in your starter pack
|
||||||
</Trans>
|
</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">
|
<Trans context="feeds">
|
||||||
<Text style={[a.font_bold, textStyles]}>
|
<Text style={[a.font_bold, textStyles]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user