about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTakayuki KUSANO <65759+tkusano@users.noreply.github.com>2024-06-23 17:16:20 +0900
committerGitHub <noreply@github.com>2024-06-23 01:16:20 -0700
commit0a0c7387905c7dc61fefd4f5f27d53b4797c00f6 (patch)
treee63ccca3b74cc1187bc921d8642a766787805960 /src
parentde1b7f704565f07744ea3dedc244ef1573ccde4d (diff)
downloadvoidsky-0a0c7387905c7dc61fefd4f5f27d53b4797c00f6.tar.zst
Modified to use "measure word" in "# others" (#4607)
Diffstat (limited to 'src')
-rw-r--r--src/screens/StarterPack/Wizard/index.tsx20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/screens/StarterPack/Wizard/index.tsx b/src/screens/StarterPack/Wizard/index.tsx
index 76691dc98..7cee86f84 100644
--- a/src/screens/StarterPack/Wizard/index.tsx
+++ b/src/screens/StarterPack/Wizard/index.tsx
@@ -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>