Merge branch 'invite-code-warning' of https://github.com/mozzius/bluesky-official-app into mozzius-invite-code-warning

zio/stable
Paul Frazee 2023-11-30 16:13:16 -08:00
commit 1755c2e538
14 changed files with 488 additions and 307 deletions

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,12 @@ msgstr ""
#~ msgid ". This warning is only available for posts with media attached."
#~ msgstr ""
#: src/view/screens/Settings.tsx:408
#: src/view/shell/desktop/RightNav.tsx:158
#: src/view/shell/Drawer.tsx:527
msgid "{0, plural, one {# invite code available} other {# invite codes available}}"
msgstr ""
#: src/view/com/modals/Repost.tsx:44
msgid "{0}"
msgstr ""
@ -29,6 +35,11 @@ msgstr ""
msgid "{0} {purposeLabel} List"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:141
#: src/view/shell/Drawer.tsx:504
msgid "{invitesAvailable, plural, one {Invite codes: # available} other {Invite codes: # available}}"
msgstr ""
#: src/view/screens/Search/Search.tsx:86
msgid "{message}"
msgstr ""
@ -50,12 +61,12 @@ msgid "A new version of the app is available. Please update to continue using th
msgstr ""
#: src/view/com/modals/EditImage.tsx:299
#: src/view/screens/Settings.tsx:410
#: src/view/screens/Settings.tsx:420
msgid "Accessibility"
msgstr ""
#: src/view/com/auth/login/LoginForm.tsx:161
#: src/view/screens/Settings.tsx:288
#: src/view/screens/Settings.tsx:287
msgid "Account"
msgstr ""
@ -77,8 +88,8 @@ msgstr ""
msgid "Add a user to this list"
msgstr ""
#: src/view/screens/Settings.tsx:357
#: src/view/screens/Settings.tsx:366
#: src/view/screens/Settings.tsx:356
#: src/view/screens/Settings.tsx:365
msgid "Add account"
msgstr ""
@ -129,7 +140,7 @@ msgstr ""
msgid "Adult Content"
msgstr ""
#: src/view/screens/Settings.tsx:562
#: src/view/screens/Settings.tsx:572
msgid "Advanced"
msgstr ""
@ -161,7 +172,7 @@ msgstr ""
msgid "App Language"
msgstr ""
#: src/view/screens/Settings.tsx:582
#: src/view/screens/Settings.tsx:592
msgid "App passwords"
msgstr ""
@ -169,7 +180,7 @@ msgstr ""
msgid "App Passwords"
msgstr ""
#: src/view/screens/Settings.tsx:425
#: src/view/screens/Settings.tsx:435
msgid "Appearance"
msgstr ""
@ -206,7 +217,7 @@ msgstr ""
msgid "Back"
msgstr ""
#: src/view/screens/Settings.tsx:454
#: src/view/screens/Settings.tsx:464
msgid "Basics"
msgstr ""
@ -215,7 +226,7 @@ msgstr ""
msgid "Birthday"
msgstr ""
#: src/view/screens/Settings.tsx:314
#: src/view/screens/Settings.tsx:313
msgid "Birthday:"
msgstr ""
@ -280,7 +291,7 @@ msgstr ""
msgid "Bluesky.Social"
msgstr ""
#: src/view/screens/Settings.tsx:711
#: src/view/screens/Settings.tsx:721
msgid "Build version {0} {1}"
msgstr ""
@ -348,12 +359,12 @@ msgstr ""
msgid "Cancel waitlist signup"
msgstr ""
#: src/view/screens/Settings.tsx:308
#: src/view/screens/Settings.tsx:307
msgid "Change"
msgstr ""
#: src/view/screens/Settings.tsx:594
#: src/view/screens/Settings.tsx:603
#: src/view/screens/Settings.tsx:604
#: src/view/screens/Settings.tsx:613
msgid "Change handle"
msgstr ""
@ -397,19 +408,19 @@ msgstr ""
msgid "Choose your password"
msgstr ""
#: src/view/screens/Settings.tsx:687
#: src/view/screens/Settings.tsx:697
msgid "Clear all legacy storage data"
msgstr ""
#: src/view/screens/Settings.tsx:689
#: src/view/screens/Settings.tsx:699
msgid "Clear all legacy storage data (restart after this)"
msgstr ""
#: src/view/screens/Settings.tsx:699
#: src/view/screens/Settings.tsx:709
msgid "Clear all storage data"
msgstr ""
#: src/view/screens/Settings.tsx:701
#: src/view/screens/Settings.tsx:711
msgid "Clear all storage data (restart after this)"
msgstr ""
@ -562,7 +573,7 @@ msgstr ""
msgid "Custom domain"
msgstr ""
#: src/view/screens/Settings.tsx:608
#: src/view/screens/Settings.tsx:618
msgid "Danger Zone"
msgstr ""
@ -570,7 +581,7 @@ msgstr ""
#~ msgid "Dark"
#~ msgstr ""
#: src/view/screens/Settings.tsx:615
#: src/view/screens/Settings.tsx:625
msgid "Delete account"
msgstr ""
@ -592,7 +603,7 @@ msgstr ""
msgid "Delete my account"
msgstr ""
#: src/view/screens/Settings.tsx:625
#: src/view/screens/Settings.tsx:635
msgid "Delete my account…"
msgstr ""
@ -619,7 +630,7 @@ msgstr ""
msgid "Dev Server"
msgstr ""
#: src/view/screens/Settings.tsx:630
#: src/view/screens/Settings.tsx:640
msgid "Developer Tools"
msgstr ""
@ -713,7 +724,7 @@ msgstr ""
msgid "Email Updated"
msgstr ""
#: src/view/screens/Settings.tsx:292
#: src/view/screens/Settings.tsx:291
msgid "Email:"
msgstr ""
@ -766,7 +777,7 @@ msgstr ""
msgid "Feed Preferences"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:65
#: src/view/shell/desktop/RightNav.tsx:64
#: src/view/shell/Drawer.tsx:411
msgid "Feedback"
msgstr ""
@ -885,7 +896,7 @@ msgstr ""
msgid "Handle"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:94
#: src/view/shell/desktop/RightNav.tsx:93
#: src/view/shell/Drawer.tsx:421
msgid "Help"
msgstr ""
@ -931,7 +942,7 @@ msgstr ""
#: src/view/com/pager/FeedsTabBarMobile.tsx:99
#: src/view/screens/PreferencesHomeFeed.tsx:95
#: src/view/screens/Settings.tsx:474
#: src/view/screens/Settings.tsx:484
msgid "Home Feed Preferences"
msgstr ""
@ -974,12 +985,12 @@ msgstr ""
msgid "Invalid username or password"
msgstr ""
#: src/view/screens/Settings.tsx:385
#: src/view/screens/Settings.tsx:384
msgid "Invite"
msgstr ""
#: src/view/com/modals/InviteCodes.tsx:91
#: src/view/screens/Settings.tsx:373
#: src/view/screens/Settings.tsx:372
msgid "Invite a Friend"
msgstr ""
@ -1012,7 +1023,7 @@ msgstr ""
msgid "Language Settings"
msgstr ""
#: src/view/screens/Settings.tsx:534
#: src/view/screens/Settings.tsx:544
msgid "Languages"
msgstr ""
@ -1113,7 +1124,7 @@ msgid "Menu"
msgstr ""
#: src/view/screens/Moderation.tsx:51
#: src/view/screens/Settings.tsx:556
#: src/view/screens/Settings.tsx:566
#: src/view/shell/desktop/LeftNav.tsx:400
#: src/view/shell/Drawer.tsx:346
#: src/view/shell/Drawer.tsx:347
@ -1182,7 +1193,7 @@ msgstr ""
msgid "My Profile"
msgstr ""
#: src/view/screens/Settings.tsx:513
#: src/view/screens/Settings.tsx:523
msgid "My Saved Feeds"
msgstr ""
@ -1292,39 +1303,44 @@ msgstr ""
msgid "Open navigation"
msgstr ""
#: src/view/screens/Settings.tsx:526
#: src/view/screens/Settings.tsx:536
msgid "Opens configurable language settings"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:146
#: src/view/shell/Drawer.tsx:509
msgid "Opens list of invite codes"
msgstr ""
#: src/view/com/modals/ChangeHandle.tsx:279
msgid "Opens modal for using custom domain"
msgstr ""
#: src/view/screens/Settings.tsx:551
#: src/view/screens/Settings.tsx:561
msgid "Opens moderation settings"
msgstr ""
#: src/view/screens/Settings.tsx:507
#: src/view/screens/Settings.tsx:517
msgid "Opens screen with all saved feeds"
msgstr ""
#: src/view/screens/Settings.tsx:574
#: src/view/screens/Settings.tsx:584
msgid "Opens the app password settings page"
msgstr ""
#: src/view/screens/Settings.tsx:466
#: src/view/screens/Settings.tsx:476
msgid "Opens the home feed preferences"
msgstr ""
#: src/view/screens/Settings.tsx:657
#: src/view/screens/Settings.tsx:667
msgid "Opens the storybook page"
msgstr ""
#: src/view/screens/Settings.tsx:637
#: src/view/screens/Settings.tsx:647
msgid "Opens the system log page"
msgstr ""
#: src/view/screens/Settings.tsx:487
#: src/view/screens/Settings.tsx:497
msgid "Opens the threads preferences"
msgstr ""
@ -1431,7 +1447,7 @@ msgstr ""
msgid "Prioritize Your Follows"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:76
#: src/view/shell/desktop/RightNav.tsx:75
msgid "Privacy"
msgstr ""
@ -1450,7 +1466,7 @@ msgstr ""
msgid "Profile"
msgstr ""
#: src/view/screens/Settings.tsx:782
#: src/view/screens/Settings.tsx:792
msgid "Protect your account by verifying your email."
msgstr ""
@ -1581,7 +1597,7 @@ msgstr ""
msgid "Reset code"
msgstr ""
#: src/view/screens/Settings.tsx:679
#: src/view/screens/Settings.tsx:689
msgid "Reset onboarding state"
msgstr ""
@ -1589,15 +1605,15 @@ msgstr ""
msgid "Reset password"
msgstr ""
#: src/view/screens/Settings.tsx:669
#: src/view/screens/Settings.tsx:679
msgid "Reset preferences state"
msgstr ""
#: src/view/screens/Settings.tsx:677
#: src/view/screens/Settings.tsx:687
msgid "Resets the onboarding state"
msgstr ""
#: src/view/screens/Settings.tsx:667
#: src/view/screens/Settings.tsx:677
msgid "Resets the preferences state"
msgstr ""
@ -1742,7 +1758,7 @@ msgstr ""
msgid "Set this setting to \"Yes\" to show samples of your saved feeds in your following feed. This is an experimental feature."
msgstr ""
#: src/view/screens/Settings.tsx:279
#: src/view/screens/Settings.tsx:278
#: src/view/shell/desktop/LeftNav.tsx:436
#: src/view/shell/Drawer.tsx:380
#: src/view/shell/Drawer.tsx:381
@ -1767,7 +1783,7 @@ msgstr ""
#~ msgid "Share link"
#~ msgstr ""
#: src/view/screens/Settings.tsx:318
#: src/view/screens/Settings.tsx:317
msgid "Show"
msgstr ""
@ -1839,7 +1855,7 @@ msgstr ""
msgid "Sign up or sign in to join the conversation"
msgstr ""
#: src/view/screens/Settings.tsx:329
#: src/view/screens/Settings.tsx:328
msgid "Signed in as"
msgstr ""
@ -1864,11 +1880,11 @@ msgstr ""
msgid "Staging"
msgstr ""
#: src/view/screens/Settings.tsx:723
#: src/view/screens/Settings.tsx:733
msgid "Status page"
msgstr ""
#: src/view/screens/Settings.tsx:659
#: src/view/screens/Settings.tsx:669
msgid "Storybook"
msgstr ""
@ -1897,7 +1913,7 @@ msgstr ""
#~ msgid "System"
#~ msgstr ""
#: src/view/screens/Settings.tsx:639
#: src/view/screens/Settings.tsx:649
msgid "System log"
msgstr ""
@ -1905,7 +1921,7 @@ msgstr ""
msgid "Tall"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:85
#: src/view/shell/desktop/RightNav.tsx:84
msgid "Terms"
msgstr ""
@ -1978,7 +1994,7 @@ msgid "This warning is only available for posts with media attached."
msgstr ""
#: src/view/screens/PreferencesThreads.tsx:53
#: src/view/screens/Settings.tsx:496
#: src/view/screens/Settings.tsx:506
msgid "Thread Preferences"
msgstr ""
@ -2085,15 +2101,15 @@ msgstr ""
msgid "Users"
msgstr ""
#: src/view/screens/Settings.tsx:743
#: src/view/screens/Settings.tsx:753
msgid "Verify email"
msgstr ""
#: src/view/screens/Settings.tsx:768
#: src/view/screens/Settings.tsx:778
msgid "Verify my email"
msgstr ""
#: src/view/screens/Settings.tsx:777
#: src/view/screens/Settings.tsx:787
msgid "Verify My Email"
msgstr ""
@ -2251,6 +2267,12 @@ msgstr ""
msgid "Your hosting provider"
msgstr ""
#: src/view/screens/Settings.tsx:403
#: src/view/shell/desktop/RightNav.tsx:127
#: src/view/shell/Drawer.tsx:523
msgid "Your invite codes are hidden when logged in using an App Password"
msgstr ""
#: src/view/com/auth/onboarding/WelcomeMobile.tsx:59
msgid "Your posts, likes, and blocks are public. Mutes are private."
msgstr ""

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,12 @@ msgstr ""
#~ msgid ". This warning is only available for posts with media attached."
#~ msgstr ""
#: src/view/screens/Settings.tsx:408
#: src/view/shell/desktop/RightNav.tsx:158
#: src/view/shell/Drawer.tsx:527
msgid "{0, plural, one {# invite code available} other {# invite codes available}}"
msgstr ""
#: src/view/com/modals/Repost.tsx:44
msgid "{0}"
msgstr ""
@ -29,6 +35,11 @@ msgstr ""
msgid "{0} {purposeLabel} List"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:141
#: src/view/shell/Drawer.tsx:504
msgid "{invitesAvailable, plural, one {Invite codes: # available} other {Invite codes: # available}}"
msgstr ""
#: src/view/screens/Search/Search.tsx:86
msgid "{message}"
msgstr ""
@ -50,12 +61,12 @@ msgid "A new version of the app is available. Please update to continue using th
msgstr ""
#: src/view/com/modals/EditImage.tsx:299
#: src/view/screens/Settings.tsx:410
#: src/view/screens/Settings.tsx:420
msgid "Accessibility"
msgstr ""
#: src/view/com/auth/login/LoginForm.tsx:161
#: src/view/screens/Settings.tsx:288
#: src/view/screens/Settings.tsx:287
msgid "Account"
msgstr ""
@ -77,8 +88,8 @@ msgstr ""
msgid "Add a user to this list"
msgstr ""
#: src/view/screens/Settings.tsx:357
#: src/view/screens/Settings.tsx:366
#: src/view/screens/Settings.tsx:356
#: src/view/screens/Settings.tsx:365
msgid "Add account"
msgstr ""
@ -129,7 +140,7 @@ msgstr ""
msgid "Adult Content"
msgstr ""
#: src/view/screens/Settings.tsx:562
#: src/view/screens/Settings.tsx:572
msgid "Advanced"
msgstr ""
@ -161,7 +172,7 @@ msgstr ""
msgid "App Language"
msgstr ""
#: src/view/screens/Settings.tsx:582
#: src/view/screens/Settings.tsx:592
msgid "App passwords"
msgstr ""
@ -169,7 +180,7 @@ msgstr ""
msgid "App Passwords"
msgstr ""
#: src/view/screens/Settings.tsx:425
#: src/view/screens/Settings.tsx:435
msgid "Appearance"
msgstr ""
@ -206,7 +217,7 @@ msgstr ""
msgid "Back"
msgstr ""
#: src/view/screens/Settings.tsx:454
#: src/view/screens/Settings.tsx:464
msgid "Basics"
msgstr ""
@ -215,7 +226,7 @@ msgstr ""
msgid "Birthday"
msgstr ""
#: src/view/screens/Settings.tsx:314
#: src/view/screens/Settings.tsx:313
msgid "Birthday:"
msgstr ""
@ -280,7 +291,7 @@ msgstr ""
msgid "Bluesky.Social"
msgstr ""
#: src/view/screens/Settings.tsx:711
#: src/view/screens/Settings.tsx:721
msgid "Build version {0} {1}"
msgstr ""
@ -348,12 +359,12 @@ msgstr ""
msgid "Cancel waitlist signup"
msgstr ""
#: src/view/screens/Settings.tsx:308
#: src/view/screens/Settings.tsx:307
msgid "Change"
msgstr ""
#: src/view/screens/Settings.tsx:594
#: src/view/screens/Settings.tsx:603
#: src/view/screens/Settings.tsx:604
#: src/view/screens/Settings.tsx:613
msgid "Change handle"
msgstr ""
@ -397,19 +408,19 @@ msgstr ""
msgid "Choose your password"
msgstr ""
#: src/view/screens/Settings.tsx:687
#: src/view/screens/Settings.tsx:697
msgid "Clear all legacy storage data"
msgstr ""
#: src/view/screens/Settings.tsx:689
#: src/view/screens/Settings.tsx:699
msgid "Clear all legacy storage data (restart after this)"
msgstr ""
#: src/view/screens/Settings.tsx:699
#: src/view/screens/Settings.tsx:709
msgid "Clear all storage data"
msgstr ""
#: src/view/screens/Settings.tsx:701
#: src/view/screens/Settings.tsx:711
msgid "Clear all storage data (restart after this)"
msgstr ""
@ -562,7 +573,7 @@ msgstr ""
msgid "Custom domain"
msgstr ""
#: src/view/screens/Settings.tsx:608
#: src/view/screens/Settings.tsx:618
msgid "Danger Zone"
msgstr ""
@ -570,7 +581,7 @@ msgstr ""
#~ msgid "Dark"
#~ msgstr ""
#: src/view/screens/Settings.tsx:615
#: src/view/screens/Settings.tsx:625
msgid "Delete account"
msgstr ""
@ -592,7 +603,7 @@ msgstr ""
msgid "Delete my account"
msgstr ""
#: src/view/screens/Settings.tsx:625
#: src/view/screens/Settings.tsx:635
msgid "Delete my account…"
msgstr ""
@ -619,7 +630,7 @@ msgstr ""
msgid "Dev Server"
msgstr ""
#: src/view/screens/Settings.tsx:630
#: src/view/screens/Settings.tsx:640
msgid "Developer Tools"
msgstr ""
@ -713,7 +724,7 @@ msgstr ""
msgid "Email Updated"
msgstr ""
#: src/view/screens/Settings.tsx:292
#: src/view/screens/Settings.tsx:291
msgid "Email:"
msgstr ""
@ -766,7 +777,7 @@ msgstr ""
msgid "Feed Preferences"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:65
#: src/view/shell/desktop/RightNav.tsx:64
#: src/view/shell/Drawer.tsx:411
msgid "Feedback"
msgstr ""
@ -885,7 +896,7 @@ msgstr ""
msgid "Handle"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:94
#: src/view/shell/desktop/RightNav.tsx:93
#: src/view/shell/Drawer.tsx:421
msgid "Help"
msgstr ""
@ -931,7 +942,7 @@ msgstr ""
#: src/view/com/pager/FeedsTabBarMobile.tsx:99
#: src/view/screens/PreferencesHomeFeed.tsx:95
#: src/view/screens/Settings.tsx:474
#: src/view/screens/Settings.tsx:484
msgid "Home Feed Preferences"
msgstr ""
@ -974,12 +985,12 @@ msgstr ""
msgid "Invalid username or password"
msgstr ""
#: src/view/screens/Settings.tsx:385
#: src/view/screens/Settings.tsx:384
msgid "Invite"
msgstr ""
#: src/view/com/modals/InviteCodes.tsx:91
#: src/view/screens/Settings.tsx:373
#: src/view/screens/Settings.tsx:372
msgid "Invite a Friend"
msgstr ""
@ -1012,7 +1023,7 @@ msgstr ""
msgid "Language Settings"
msgstr ""
#: src/view/screens/Settings.tsx:534
#: src/view/screens/Settings.tsx:544
msgid "Languages"
msgstr ""
@ -1113,7 +1124,7 @@ msgid "Menu"
msgstr ""
#: src/view/screens/Moderation.tsx:51
#: src/view/screens/Settings.tsx:556
#: src/view/screens/Settings.tsx:566
#: src/view/shell/desktop/LeftNav.tsx:400
#: src/view/shell/Drawer.tsx:346
#: src/view/shell/Drawer.tsx:347
@ -1182,7 +1193,7 @@ msgstr ""
msgid "My Profile"
msgstr ""
#: src/view/screens/Settings.tsx:513
#: src/view/screens/Settings.tsx:523
msgid "My Saved Feeds"
msgstr ""
@ -1292,39 +1303,44 @@ msgstr ""
msgid "Open navigation"
msgstr ""
#: src/view/screens/Settings.tsx:526
#: src/view/screens/Settings.tsx:536
msgid "Opens configurable language settings"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:146
#: src/view/shell/Drawer.tsx:509
msgid "Opens list of invite codes"
msgstr ""
#: src/view/com/modals/ChangeHandle.tsx:279
msgid "Opens modal for using custom domain"
msgstr ""
#: src/view/screens/Settings.tsx:551
#: src/view/screens/Settings.tsx:561
msgid "Opens moderation settings"
msgstr ""
#: src/view/screens/Settings.tsx:507
#: src/view/screens/Settings.tsx:517
msgid "Opens screen with all saved feeds"
msgstr ""
#: src/view/screens/Settings.tsx:574
#: src/view/screens/Settings.tsx:584
msgid "Opens the app password settings page"
msgstr ""
#: src/view/screens/Settings.tsx:466
#: src/view/screens/Settings.tsx:476
msgid "Opens the home feed preferences"
msgstr ""
#: src/view/screens/Settings.tsx:657
#: src/view/screens/Settings.tsx:667
msgid "Opens the storybook page"
msgstr ""
#: src/view/screens/Settings.tsx:637
#: src/view/screens/Settings.tsx:647
msgid "Opens the system log page"
msgstr ""
#: src/view/screens/Settings.tsx:487
#: src/view/screens/Settings.tsx:497
msgid "Opens the threads preferences"
msgstr ""
@ -1431,7 +1447,7 @@ msgstr ""
msgid "Prioritize Your Follows"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:76
#: src/view/shell/desktop/RightNav.tsx:75
msgid "Privacy"
msgstr ""
@ -1450,7 +1466,7 @@ msgstr ""
msgid "Profile"
msgstr ""
#: src/view/screens/Settings.tsx:782
#: src/view/screens/Settings.tsx:792
msgid "Protect your account by verifying your email."
msgstr ""
@ -1581,7 +1597,7 @@ msgstr ""
msgid "Reset code"
msgstr ""
#: src/view/screens/Settings.tsx:679
#: src/view/screens/Settings.tsx:689
msgid "Reset onboarding state"
msgstr ""
@ -1589,15 +1605,15 @@ msgstr ""
msgid "Reset password"
msgstr ""
#: src/view/screens/Settings.tsx:669
#: src/view/screens/Settings.tsx:679
msgid "Reset preferences state"
msgstr ""
#: src/view/screens/Settings.tsx:677
#: src/view/screens/Settings.tsx:687
msgid "Resets the onboarding state"
msgstr ""
#: src/view/screens/Settings.tsx:667
#: src/view/screens/Settings.tsx:677
msgid "Resets the preferences state"
msgstr ""
@ -1742,7 +1758,7 @@ msgstr ""
msgid "Set this setting to \"Yes\" to show samples of your saved feeds in your following feed. This is an experimental feature."
msgstr ""
#: src/view/screens/Settings.tsx:279
#: src/view/screens/Settings.tsx:278
#: src/view/shell/desktop/LeftNav.tsx:436
#: src/view/shell/Drawer.tsx:380
#: src/view/shell/Drawer.tsx:381
@ -1767,7 +1783,7 @@ msgstr ""
#~ msgid "Share link"
#~ msgstr ""
#: src/view/screens/Settings.tsx:318
#: src/view/screens/Settings.tsx:317
msgid "Show"
msgstr ""
@ -1839,7 +1855,7 @@ msgstr ""
msgid "Sign up or sign in to join the conversation"
msgstr ""
#: src/view/screens/Settings.tsx:329
#: src/view/screens/Settings.tsx:328
msgid "Signed in as"
msgstr ""
@ -1864,11 +1880,11 @@ msgstr ""
msgid "Staging"
msgstr ""
#: src/view/screens/Settings.tsx:723
#: src/view/screens/Settings.tsx:733
msgid "Status page"
msgstr ""
#: src/view/screens/Settings.tsx:659
#: src/view/screens/Settings.tsx:669
msgid "Storybook"
msgstr ""
@ -1897,7 +1913,7 @@ msgstr ""
#~ msgid "System"
#~ msgstr ""
#: src/view/screens/Settings.tsx:639
#: src/view/screens/Settings.tsx:649
msgid "System log"
msgstr ""
@ -1905,7 +1921,7 @@ msgstr ""
msgid "Tall"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:85
#: src/view/shell/desktop/RightNav.tsx:84
msgid "Terms"
msgstr ""
@ -1978,7 +1994,7 @@ msgid "This warning is only available for posts with media attached."
msgstr ""
#: src/view/screens/PreferencesThreads.tsx:53
#: src/view/screens/Settings.tsx:496
#: src/view/screens/Settings.tsx:506
msgid "Thread Preferences"
msgstr ""
@ -2085,15 +2101,15 @@ msgstr ""
msgid "Users"
msgstr ""
#: src/view/screens/Settings.tsx:743
#: src/view/screens/Settings.tsx:753
msgid "Verify email"
msgstr ""
#: src/view/screens/Settings.tsx:768
#: src/view/screens/Settings.tsx:778
msgid "Verify my email"
msgstr ""
#: src/view/screens/Settings.tsx:777
#: src/view/screens/Settings.tsx:787
msgid "Verify My Email"
msgstr ""
@ -2251,6 +2267,12 @@ msgstr ""
msgid "Your hosting provider"
msgstr ""
#: src/view/screens/Settings.tsx:403
#: src/view/shell/desktop/RightNav.tsx:127
#: src/view/shell/Drawer.tsx:523
msgid "Your invite codes are hidden when logged in using an App Password"
msgstr ""
#: src/view/com/auth/onboarding/WelcomeMobile.tsx:59
msgid "Your posts, likes, and blocks are public. Mutes are private."
msgstr ""

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,12 @@ msgstr ""
#~ msgid ". This warning is only available for posts with media attached."
#~ msgstr ""
#: src/view/screens/Settings.tsx:408
#: src/view/shell/desktop/RightNav.tsx:158
#: src/view/shell/Drawer.tsx:527
msgid "{0, plural, one {# invite code available} other {# invite codes available}}"
msgstr ""
#: src/view/com/modals/Repost.tsx:44
msgid "{0}"
msgstr ""
@ -29,6 +35,11 @@ msgstr ""
msgid "{0} {purposeLabel} List"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:141
#: src/view/shell/Drawer.tsx:504
msgid "{invitesAvailable, plural, one {Invite codes: # available} other {Invite codes: # available}}"
msgstr ""
#: src/view/screens/Search/Search.tsx:86
msgid "{message}"
msgstr ""
@ -50,12 +61,12 @@ msgid "A new version of the app is available. Please update to continue using th
msgstr ""
#: src/view/com/modals/EditImage.tsx:299
#: src/view/screens/Settings.tsx:410
#: src/view/screens/Settings.tsx:420
msgid "Accessibility"
msgstr ""
#: src/view/com/auth/login/LoginForm.tsx:161
#: src/view/screens/Settings.tsx:288
#: src/view/screens/Settings.tsx:287
msgid "Account"
msgstr ""
@ -77,8 +88,8 @@ msgstr ""
msgid "Add a user to this list"
msgstr ""
#: src/view/screens/Settings.tsx:357
#: src/view/screens/Settings.tsx:366
#: src/view/screens/Settings.tsx:356
#: src/view/screens/Settings.tsx:365
msgid "Add account"
msgstr ""
@ -129,7 +140,7 @@ msgstr ""
msgid "Adult Content"
msgstr ""
#: src/view/screens/Settings.tsx:562
#: src/view/screens/Settings.tsx:572
msgid "Advanced"
msgstr ""
@ -161,7 +172,7 @@ msgstr ""
msgid "App Language"
msgstr ""
#: src/view/screens/Settings.tsx:582
#: src/view/screens/Settings.tsx:592
msgid "App passwords"
msgstr ""
@ -169,7 +180,7 @@ msgstr ""
msgid "App Passwords"
msgstr ""
#: src/view/screens/Settings.tsx:425
#: src/view/screens/Settings.tsx:435
msgid "Appearance"
msgstr ""
@ -206,7 +217,7 @@ msgstr ""
msgid "Back"
msgstr ""
#: src/view/screens/Settings.tsx:454
#: src/view/screens/Settings.tsx:464
msgid "Basics"
msgstr ""
@ -215,7 +226,7 @@ msgstr ""
msgid "Birthday"
msgstr ""
#: src/view/screens/Settings.tsx:314
#: src/view/screens/Settings.tsx:313
msgid "Birthday:"
msgstr ""
@ -280,7 +291,7 @@ msgstr ""
msgid "Bluesky.Social"
msgstr ""
#: src/view/screens/Settings.tsx:711
#: src/view/screens/Settings.tsx:721
msgid "Build version {0} {1}"
msgstr ""
@ -348,12 +359,12 @@ msgstr ""
msgid "Cancel waitlist signup"
msgstr ""
#: src/view/screens/Settings.tsx:308
#: src/view/screens/Settings.tsx:307
msgid "Change"
msgstr ""
#: src/view/screens/Settings.tsx:594
#: src/view/screens/Settings.tsx:603
#: src/view/screens/Settings.tsx:604
#: src/view/screens/Settings.tsx:613
msgid "Change handle"
msgstr ""
@ -397,19 +408,19 @@ msgstr ""
msgid "Choose your password"
msgstr ""
#: src/view/screens/Settings.tsx:687
#: src/view/screens/Settings.tsx:697
msgid "Clear all legacy storage data"
msgstr ""
#: src/view/screens/Settings.tsx:689
#: src/view/screens/Settings.tsx:699
msgid "Clear all legacy storage data (restart after this)"
msgstr ""
#: src/view/screens/Settings.tsx:699
#: src/view/screens/Settings.tsx:709
msgid "Clear all storage data"
msgstr ""
#: src/view/screens/Settings.tsx:701
#: src/view/screens/Settings.tsx:711
msgid "Clear all storage data (restart after this)"
msgstr ""
@ -562,7 +573,7 @@ msgstr ""
msgid "Custom domain"
msgstr ""
#: src/view/screens/Settings.tsx:608
#: src/view/screens/Settings.tsx:618
msgid "Danger Zone"
msgstr ""
@ -570,7 +581,7 @@ msgstr ""
#~ msgid "Dark"
#~ msgstr ""
#: src/view/screens/Settings.tsx:615
#: src/view/screens/Settings.tsx:625
msgid "Delete account"
msgstr ""
@ -592,7 +603,7 @@ msgstr ""
msgid "Delete my account"
msgstr ""
#: src/view/screens/Settings.tsx:625
#: src/view/screens/Settings.tsx:635
msgid "Delete my account…"
msgstr ""
@ -619,7 +630,7 @@ msgstr ""
msgid "Dev Server"
msgstr ""
#: src/view/screens/Settings.tsx:630
#: src/view/screens/Settings.tsx:640
msgid "Developer Tools"
msgstr ""
@ -713,7 +724,7 @@ msgstr ""
msgid "Email Updated"
msgstr ""
#: src/view/screens/Settings.tsx:292
#: src/view/screens/Settings.tsx:291
msgid "Email:"
msgstr ""
@ -766,7 +777,7 @@ msgstr ""
msgid "Feed Preferences"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:65
#: src/view/shell/desktop/RightNav.tsx:64
#: src/view/shell/Drawer.tsx:411
msgid "Feedback"
msgstr ""
@ -885,7 +896,7 @@ msgstr ""
msgid "Handle"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:94
#: src/view/shell/desktop/RightNav.tsx:93
#: src/view/shell/Drawer.tsx:421
msgid "Help"
msgstr ""
@ -931,7 +942,7 @@ msgstr ""
#: src/view/com/pager/FeedsTabBarMobile.tsx:99
#: src/view/screens/PreferencesHomeFeed.tsx:95
#: src/view/screens/Settings.tsx:474
#: src/view/screens/Settings.tsx:484
msgid "Home Feed Preferences"
msgstr ""
@ -974,12 +985,12 @@ msgstr ""
msgid "Invalid username or password"
msgstr ""
#: src/view/screens/Settings.tsx:385
#: src/view/screens/Settings.tsx:384
msgid "Invite"
msgstr ""
#: src/view/com/modals/InviteCodes.tsx:91
#: src/view/screens/Settings.tsx:373
#: src/view/screens/Settings.tsx:372
msgid "Invite a Friend"
msgstr ""
@ -1012,7 +1023,7 @@ msgstr ""
msgid "Language Settings"
msgstr ""
#: src/view/screens/Settings.tsx:534
#: src/view/screens/Settings.tsx:544
msgid "Languages"
msgstr ""
@ -1113,7 +1124,7 @@ msgid "Menu"
msgstr ""
#: src/view/screens/Moderation.tsx:51
#: src/view/screens/Settings.tsx:556
#: src/view/screens/Settings.tsx:566
#: src/view/shell/desktop/LeftNav.tsx:400
#: src/view/shell/Drawer.tsx:346
#: src/view/shell/Drawer.tsx:347
@ -1182,7 +1193,7 @@ msgstr ""
msgid "My Profile"
msgstr ""
#: src/view/screens/Settings.tsx:513
#: src/view/screens/Settings.tsx:523
msgid "My Saved Feeds"
msgstr ""
@ -1292,39 +1303,44 @@ msgstr ""
msgid "Open navigation"
msgstr ""
#: src/view/screens/Settings.tsx:526
#: src/view/screens/Settings.tsx:536
msgid "Opens configurable language settings"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:146
#: src/view/shell/Drawer.tsx:509
msgid "Opens list of invite codes"
msgstr ""
#: src/view/com/modals/ChangeHandle.tsx:279
msgid "Opens modal for using custom domain"
msgstr ""
#: src/view/screens/Settings.tsx:551
#: src/view/screens/Settings.tsx:561
msgid "Opens moderation settings"
msgstr ""
#: src/view/screens/Settings.tsx:507
#: src/view/screens/Settings.tsx:517
msgid "Opens screen with all saved feeds"
msgstr ""
#: src/view/screens/Settings.tsx:574
#: src/view/screens/Settings.tsx:584
msgid "Opens the app password settings page"
msgstr ""
#: src/view/screens/Settings.tsx:466
#: src/view/screens/Settings.tsx:476
msgid "Opens the home feed preferences"
msgstr ""
#: src/view/screens/Settings.tsx:657
#: src/view/screens/Settings.tsx:667
msgid "Opens the storybook page"
msgstr ""
#: src/view/screens/Settings.tsx:637
#: src/view/screens/Settings.tsx:647
msgid "Opens the system log page"
msgstr ""
#: src/view/screens/Settings.tsx:487
#: src/view/screens/Settings.tsx:497
msgid "Opens the threads preferences"
msgstr ""
@ -1431,7 +1447,7 @@ msgstr ""
msgid "Prioritize Your Follows"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:76
#: src/view/shell/desktop/RightNav.tsx:75
msgid "Privacy"
msgstr ""
@ -1450,7 +1466,7 @@ msgstr ""
msgid "Profile"
msgstr ""
#: src/view/screens/Settings.tsx:782
#: src/view/screens/Settings.tsx:792
msgid "Protect your account by verifying your email."
msgstr ""
@ -1581,7 +1597,7 @@ msgstr ""
msgid "Reset code"
msgstr ""
#: src/view/screens/Settings.tsx:679
#: src/view/screens/Settings.tsx:689
msgid "Reset onboarding state"
msgstr ""
@ -1589,15 +1605,15 @@ msgstr ""
msgid "Reset password"
msgstr ""
#: src/view/screens/Settings.tsx:669
#: src/view/screens/Settings.tsx:679
msgid "Reset preferences state"
msgstr ""
#: src/view/screens/Settings.tsx:677
#: src/view/screens/Settings.tsx:687
msgid "Resets the onboarding state"
msgstr ""
#: src/view/screens/Settings.tsx:667
#: src/view/screens/Settings.tsx:677
msgid "Resets the preferences state"
msgstr ""
@ -1742,7 +1758,7 @@ msgstr ""
msgid "Set this setting to \"Yes\" to show samples of your saved feeds in your following feed. This is an experimental feature."
msgstr ""
#: src/view/screens/Settings.tsx:279
#: src/view/screens/Settings.tsx:278
#: src/view/shell/desktop/LeftNav.tsx:436
#: src/view/shell/Drawer.tsx:380
#: src/view/shell/Drawer.tsx:381
@ -1767,7 +1783,7 @@ msgstr ""
#~ msgid "Share link"
#~ msgstr ""
#: src/view/screens/Settings.tsx:318
#: src/view/screens/Settings.tsx:317
msgid "Show"
msgstr ""
@ -1839,7 +1855,7 @@ msgstr ""
msgid "Sign up or sign in to join the conversation"
msgstr ""
#: src/view/screens/Settings.tsx:329
#: src/view/screens/Settings.tsx:328
msgid "Signed in as"
msgstr ""
@ -1864,11 +1880,11 @@ msgstr ""
msgid "Staging"
msgstr ""
#: src/view/screens/Settings.tsx:723
#: src/view/screens/Settings.tsx:733
msgid "Status page"
msgstr ""
#: src/view/screens/Settings.tsx:659
#: src/view/screens/Settings.tsx:669
msgid "Storybook"
msgstr ""
@ -1897,7 +1913,7 @@ msgstr ""
#~ msgid "System"
#~ msgstr ""
#: src/view/screens/Settings.tsx:639
#: src/view/screens/Settings.tsx:649
msgid "System log"
msgstr ""
@ -1905,7 +1921,7 @@ msgstr ""
msgid "Tall"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:85
#: src/view/shell/desktop/RightNav.tsx:84
msgid "Terms"
msgstr ""
@ -1978,7 +1994,7 @@ msgid "This warning is only available for posts with media attached."
msgstr ""
#: src/view/screens/PreferencesThreads.tsx:53
#: src/view/screens/Settings.tsx:496
#: src/view/screens/Settings.tsx:506
msgid "Thread Preferences"
msgstr ""
@ -2085,15 +2101,15 @@ msgstr ""
msgid "Users"
msgstr ""
#: src/view/screens/Settings.tsx:743
#: src/view/screens/Settings.tsx:753
msgid "Verify email"
msgstr ""
#: src/view/screens/Settings.tsx:768
#: src/view/screens/Settings.tsx:778
msgid "Verify my email"
msgstr ""
#: src/view/screens/Settings.tsx:777
#: src/view/screens/Settings.tsx:787
msgid "Verify My Email"
msgstr ""
@ -2251,6 +2267,12 @@ msgstr ""
msgid "Your hosting provider"
msgstr ""
#: src/view/screens/Settings.tsx:403
#: src/view/shell/desktop/RightNav.tsx:127
#: src/view/shell/Drawer.tsx:523
msgid "Your invite codes are hidden when logged in using an App Password"
msgstr ""
#: src/view/com/auth/onboarding/WelcomeMobile.tsx:59
msgid "Your posts, likes, and blocks are public. Mutes are private."
msgstr ""

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,12 @@ msgstr ""
#~ msgid ". This warning is only available for posts with media attached."
#~ msgstr ""
#: src/view/screens/Settings.tsx:408
#: src/view/shell/desktop/RightNav.tsx:158
#: src/view/shell/Drawer.tsx:527
msgid "{0, plural, one {# invite code available} other {# invite codes available}}"
msgstr ""
#: src/view/com/modals/Repost.tsx:44
msgid "{0}"
msgstr ""
@ -29,6 +35,11 @@ msgstr ""
msgid "{0} {purposeLabel} List"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:141
#: src/view/shell/Drawer.tsx:504
msgid "{invitesAvailable, plural, one {Invite codes: # available} other {Invite codes: # available}}"
msgstr ""
#: src/view/screens/Search/Search.tsx:86
msgid "{message}"
msgstr ""
@ -50,12 +61,12 @@ msgid "A new version of the app is available. Please update to continue using th
msgstr ""
#: src/view/com/modals/EditImage.tsx:299
#: src/view/screens/Settings.tsx:410
#: src/view/screens/Settings.tsx:420
msgid "Accessibility"
msgstr ""
#: src/view/com/auth/login/LoginForm.tsx:161
#: src/view/screens/Settings.tsx:288
#: src/view/screens/Settings.tsx:287
msgid "Account"
msgstr ""
@ -77,8 +88,8 @@ msgstr ""
msgid "Add a user to this list"
msgstr ""
#: src/view/screens/Settings.tsx:357
#: src/view/screens/Settings.tsx:366
#: src/view/screens/Settings.tsx:356
#: src/view/screens/Settings.tsx:365
msgid "Add account"
msgstr ""
@ -129,7 +140,7 @@ msgstr ""
msgid "Adult Content"
msgstr ""
#: src/view/screens/Settings.tsx:562
#: src/view/screens/Settings.tsx:572
msgid "Advanced"
msgstr ""
@ -161,7 +172,7 @@ msgstr ""
msgid "App Language"
msgstr ""
#: src/view/screens/Settings.tsx:582
#: src/view/screens/Settings.tsx:592
msgid "App passwords"
msgstr ""
@ -169,7 +180,7 @@ msgstr ""
msgid "App Passwords"
msgstr ""
#: src/view/screens/Settings.tsx:425
#: src/view/screens/Settings.tsx:435
msgid "Appearance"
msgstr ""
@ -206,7 +217,7 @@ msgstr ""
msgid "Back"
msgstr ""
#: src/view/screens/Settings.tsx:454
#: src/view/screens/Settings.tsx:464
msgid "Basics"
msgstr ""
@ -215,7 +226,7 @@ msgstr ""
msgid "Birthday"
msgstr ""
#: src/view/screens/Settings.tsx:314
#: src/view/screens/Settings.tsx:313
msgid "Birthday:"
msgstr ""
@ -280,7 +291,7 @@ msgstr ""
msgid "Bluesky.Social"
msgstr ""
#: src/view/screens/Settings.tsx:711
#: src/view/screens/Settings.tsx:721
msgid "Build version {0} {1}"
msgstr ""
@ -348,12 +359,12 @@ msgstr ""
msgid "Cancel waitlist signup"
msgstr ""
#: src/view/screens/Settings.tsx:308
#: src/view/screens/Settings.tsx:307
msgid "Change"
msgstr ""
#: src/view/screens/Settings.tsx:594
#: src/view/screens/Settings.tsx:603
#: src/view/screens/Settings.tsx:604
#: src/view/screens/Settings.tsx:613
msgid "Change handle"
msgstr ""
@ -397,19 +408,19 @@ msgstr ""
msgid "Choose your password"
msgstr ""
#: src/view/screens/Settings.tsx:687
#: src/view/screens/Settings.tsx:697
msgid "Clear all legacy storage data"
msgstr ""
#: src/view/screens/Settings.tsx:689
#: src/view/screens/Settings.tsx:699
msgid "Clear all legacy storage data (restart after this)"
msgstr ""
#: src/view/screens/Settings.tsx:699
#: src/view/screens/Settings.tsx:709
msgid "Clear all storage data"
msgstr ""
#: src/view/screens/Settings.tsx:701
#: src/view/screens/Settings.tsx:711
msgid "Clear all storage data (restart after this)"
msgstr ""
@ -562,7 +573,7 @@ msgstr ""
msgid "Custom domain"
msgstr ""
#: src/view/screens/Settings.tsx:608
#: src/view/screens/Settings.tsx:618
msgid "Danger Zone"
msgstr ""
@ -570,7 +581,7 @@ msgstr ""
#~ msgid "Dark"
#~ msgstr ""
#: src/view/screens/Settings.tsx:615
#: src/view/screens/Settings.tsx:625
msgid "Delete account"
msgstr ""
@ -592,7 +603,7 @@ msgstr ""
msgid "Delete my account"
msgstr ""
#: src/view/screens/Settings.tsx:625
#: src/view/screens/Settings.tsx:635
msgid "Delete my account…"
msgstr ""
@ -619,7 +630,7 @@ msgstr ""
msgid "Dev Server"
msgstr ""
#: src/view/screens/Settings.tsx:630
#: src/view/screens/Settings.tsx:640
msgid "Developer Tools"
msgstr ""
@ -713,7 +724,7 @@ msgstr ""
msgid "Email Updated"
msgstr ""
#: src/view/screens/Settings.tsx:292
#: src/view/screens/Settings.tsx:291
msgid "Email:"
msgstr ""
@ -766,7 +777,7 @@ msgstr ""
msgid "Feed Preferences"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:65
#: src/view/shell/desktop/RightNav.tsx:64
#: src/view/shell/Drawer.tsx:411
msgid "Feedback"
msgstr ""
@ -885,7 +896,7 @@ msgstr ""
msgid "Handle"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:94
#: src/view/shell/desktop/RightNav.tsx:93
#: src/view/shell/Drawer.tsx:421
msgid "Help"
msgstr ""
@ -931,7 +942,7 @@ msgstr ""
#: src/view/com/pager/FeedsTabBarMobile.tsx:99
#: src/view/screens/PreferencesHomeFeed.tsx:95
#: src/view/screens/Settings.tsx:474
#: src/view/screens/Settings.tsx:484
msgid "Home Feed Preferences"
msgstr ""
@ -974,12 +985,12 @@ msgstr ""
msgid "Invalid username or password"
msgstr ""
#: src/view/screens/Settings.tsx:385
#: src/view/screens/Settings.tsx:384
msgid "Invite"
msgstr ""
#: src/view/com/modals/InviteCodes.tsx:91
#: src/view/screens/Settings.tsx:373
#: src/view/screens/Settings.tsx:372
msgid "Invite a Friend"
msgstr ""
@ -1012,7 +1023,7 @@ msgstr ""
msgid "Language Settings"
msgstr ""
#: src/view/screens/Settings.tsx:534
#: src/view/screens/Settings.tsx:544
msgid "Languages"
msgstr ""
@ -1113,7 +1124,7 @@ msgid "Menu"
msgstr ""
#: src/view/screens/Moderation.tsx:51
#: src/view/screens/Settings.tsx:556
#: src/view/screens/Settings.tsx:566
#: src/view/shell/desktop/LeftNav.tsx:400
#: src/view/shell/Drawer.tsx:346
#: src/view/shell/Drawer.tsx:347
@ -1182,7 +1193,7 @@ msgstr ""
msgid "My Profile"
msgstr ""
#: src/view/screens/Settings.tsx:513
#: src/view/screens/Settings.tsx:523
msgid "My Saved Feeds"
msgstr ""
@ -1292,39 +1303,44 @@ msgstr ""
msgid "Open navigation"
msgstr ""
#: src/view/screens/Settings.tsx:526
#: src/view/screens/Settings.tsx:536
msgid "Opens configurable language settings"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:146
#: src/view/shell/Drawer.tsx:509
msgid "Opens list of invite codes"
msgstr ""
#: src/view/com/modals/ChangeHandle.tsx:279
msgid "Opens modal for using custom domain"
msgstr ""
#: src/view/screens/Settings.tsx:551
#: src/view/screens/Settings.tsx:561
msgid "Opens moderation settings"
msgstr ""
#: src/view/screens/Settings.tsx:507
#: src/view/screens/Settings.tsx:517
msgid "Opens screen with all saved feeds"
msgstr ""
#: src/view/screens/Settings.tsx:574
#: src/view/screens/Settings.tsx:584
msgid "Opens the app password settings page"
msgstr ""
#: src/view/screens/Settings.tsx:466
#: src/view/screens/Settings.tsx:476
msgid "Opens the home feed preferences"
msgstr ""
#: src/view/screens/Settings.tsx:657
#: src/view/screens/Settings.tsx:667
msgid "Opens the storybook page"
msgstr ""
#: src/view/screens/Settings.tsx:637
#: src/view/screens/Settings.tsx:647
msgid "Opens the system log page"
msgstr ""
#: src/view/screens/Settings.tsx:487
#: src/view/screens/Settings.tsx:497
msgid "Opens the threads preferences"
msgstr ""
@ -1431,7 +1447,7 @@ msgstr ""
msgid "Prioritize Your Follows"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:76
#: src/view/shell/desktop/RightNav.tsx:75
msgid "Privacy"
msgstr ""
@ -1450,7 +1466,7 @@ msgstr ""
msgid "Profile"
msgstr ""
#: src/view/screens/Settings.tsx:782
#: src/view/screens/Settings.tsx:792
msgid "Protect your account by verifying your email."
msgstr ""
@ -1581,7 +1597,7 @@ msgstr ""
msgid "Reset code"
msgstr ""
#: src/view/screens/Settings.tsx:679
#: src/view/screens/Settings.tsx:689
msgid "Reset onboarding state"
msgstr ""
@ -1589,15 +1605,15 @@ msgstr ""
msgid "Reset password"
msgstr ""
#: src/view/screens/Settings.tsx:669
#: src/view/screens/Settings.tsx:679
msgid "Reset preferences state"
msgstr ""
#: src/view/screens/Settings.tsx:677
#: src/view/screens/Settings.tsx:687
msgid "Resets the onboarding state"
msgstr ""
#: src/view/screens/Settings.tsx:667
#: src/view/screens/Settings.tsx:677
msgid "Resets the preferences state"
msgstr ""
@ -1742,7 +1758,7 @@ msgstr ""
msgid "Set this setting to \"Yes\" to show samples of your saved feeds in your following feed. This is an experimental feature."
msgstr ""
#: src/view/screens/Settings.tsx:279
#: src/view/screens/Settings.tsx:278
#: src/view/shell/desktop/LeftNav.tsx:436
#: src/view/shell/Drawer.tsx:380
#: src/view/shell/Drawer.tsx:381
@ -1767,7 +1783,7 @@ msgstr ""
#~ msgid "Share link"
#~ msgstr ""
#: src/view/screens/Settings.tsx:318
#: src/view/screens/Settings.tsx:317
msgid "Show"
msgstr ""
@ -1839,7 +1855,7 @@ msgstr ""
msgid "Sign up or sign in to join the conversation"
msgstr ""
#: src/view/screens/Settings.tsx:329
#: src/view/screens/Settings.tsx:328
msgid "Signed in as"
msgstr ""
@ -1864,11 +1880,11 @@ msgstr ""
msgid "Staging"
msgstr ""
#: src/view/screens/Settings.tsx:723
#: src/view/screens/Settings.tsx:733
msgid "Status page"
msgstr ""
#: src/view/screens/Settings.tsx:659
#: src/view/screens/Settings.tsx:669
msgid "Storybook"
msgstr ""
@ -1897,7 +1913,7 @@ msgstr ""
#~ msgid "System"
#~ msgstr ""
#: src/view/screens/Settings.tsx:639
#: src/view/screens/Settings.tsx:649
msgid "System log"
msgstr ""
@ -1905,7 +1921,7 @@ msgstr ""
msgid "Tall"
msgstr ""
#: src/view/shell/desktop/RightNav.tsx:85
#: src/view/shell/desktop/RightNav.tsx:84
msgid "Terms"
msgstr ""
@ -1978,7 +1994,7 @@ msgid "This warning is only available for posts with media attached."
msgstr ""
#: src/view/screens/PreferencesThreads.tsx:53
#: src/view/screens/Settings.tsx:496
#: src/view/screens/Settings.tsx:506
msgid "Thread Preferences"
msgstr ""
@ -2085,15 +2101,15 @@ msgstr ""
msgid "Users"
msgstr ""
#: src/view/screens/Settings.tsx:743
#: src/view/screens/Settings.tsx:753
msgid "Verify email"
msgstr ""
#: src/view/screens/Settings.tsx:768
#: src/view/screens/Settings.tsx:778
msgid "Verify my email"
msgstr ""
#: src/view/screens/Settings.tsx:777
#: src/view/screens/Settings.tsx:787
msgid "Verify My Email"
msgstr ""
@ -2251,6 +2267,12 @@ msgstr ""
msgid "Your hosting provider"
msgstr ""
#: src/view/screens/Settings.tsx:403
#: src/view/shell/desktop/RightNav.tsx:127
#: src/view/shell/Drawer.tsx:523
msgid "Your invite codes are hidden when logged in using an App Password"
msgstr ""
#: src/view/com/auth/onboarding/WelcomeMobile.tsx:59
msgid "Your posts, likes, and blocks are public. Mutes are private."
msgstr ""

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,12 @@ msgstr ""
#~ msgid ". This warning is only available for posts with media attached."
#~ msgstr "यह चेतावनी केवल मीडिया वाले पोस्ट के लिए उपलब्ध है।"
#: src/view/screens/Settings.tsx:408
#: src/view/shell/desktop/RightNav.tsx:158
#: src/view/shell/Drawer.tsx:527
msgid "{0, plural, one {# invite code available} other {# invite codes available}}"
msgstr ""
#: src/view/com/modals/Repost.tsx:44
msgid "{0}"
msgstr "{0}"
@ -29,6 +35,11 @@ msgstr "{0}"
msgid "{0} {purposeLabel} List"
msgstr "{0} {purposeLabel} सूची"
#: src/view/shell/desktop/RightNav.tsx:141
#: src/view/shell/Drawer.tsx:504
msgid "{invitesAvailable, plural, one {Invite codes: # available} other {Invite codes: # available}}"
msgstr ""
#: src/view/screens/Search/Search.tsx:86
msgid "{message}"
msgstr ""
@ -50,12 +61,12 @@ msgid "A new version of the app is available. Please update to continue using th
msgstr "ऐप का एक नया संस्करण उपलब्ध है. कृपया ऐप का उपयोग जारी रखने के लिए अपडेट करें।"
#: src/view/com/modals/EditImage.tsx:299
#: src/view/screens/Settings.tsx:410
#: src/view/screens/Settings.tsx:420
msgid "Accessibility"
msgstr "प्रवेर्शयोग्यता"
#: src/view/com/auth/login/LoginForm.tsx:161
#: src/view/screens/Settings.tsx:288
#: src/view/screens/Settings.tsx:287
msgid "Account"
msgstr "अकाउंट"
@ -77,8 +88,8 @@ msgstr "सामग्री चेतावनी जोड़ें"
msgid "Add a user to this list"
msgstr "इस सूची में किसी को जोड़ें"
#: src/view/screens/Settings.tsx:357
#: src/view/screens/Settings.tsx:366
#: src/view/screens/Settings.tsx:356
#: src/view/screens/Settings.tsx:365
msgid "Add account"
msgstr "अकाउंट जोड़ें"
@ -129,7 +140,7 @@ msgstr "पसंद की संख्या को समायोजित
msgid "Adult Content"
msgstr "वयस्क सामग्री"
#: src/view/screens/Settings.tsx:562
#: src/view/screens/Settings.tsx:572
msgid "Advanced"
msgstr "विकसित"
@ -161,7 +172,7 @@ msgstr "और"
msgid "App Language"
msgstr "ऐप भाषा"
#: src/view/screens/Settings.tsx:582
#: src/view/screens/Settings.tsx:592
msgid "App passwords"
msgstr "ऐप पासवर्ड"
@ -169,7 +180,7 @@ msgstr "ऐप पासवर्ड"
msgid "App Passwords"
msgstr "ऐप पासवर्ड"
#: src/view/screens/Settings.tsx:425
#: src/view/screens/Settings.tsx:435
msgid "Appearance"
msgstr "दिखावट"
@ -206,7 +217,7 @@ msgstr "कलात्मक या गैर-कामुक नग्नत
msgid "Back"
msgstr "वापस"
#: src/view/screens/Settings.tsx:454
#: src/view/screens/Settings.tsx:464
msgid "Basics"
msgstr "मूल बातें"
@ -215,7 +226,7 @@ msgstr "मूल बातें"
msgid "Birthday"
msgstr "जन्मदिन"
#: src/view/screens/Settings.tsx:314
#: src/view/screens/Settings.tsx:313
msgid "Birthday:"
msgstr "जन्मदिन:"
@ -280,7 +291,7 @@ msgstr "ब्लूस्की एक स्वस्थ समुदाय
msgid "Bluesky.Social"
msgstr "Bluesky.Social"
#: src/view/screens/Settings.tsx:711
#: src/view/screens/Settings.tsx:721
msgid "Build version {0} {1}"
msgstr "Build version {0} {1}"
@ -348,12 +359,12 @@ msgstr "खोज मत करो"
msgid "Cancel waitlist signup"
msgstr "प्रतीक्षा सूची पंजीकरण मत करो"
#: src/view/screens/Settings.tsx:308
#: src/view/screens/Settings.tsx:307
msgid "Change"
msgstr "परिवर्तन"
#: src/view/screens/Settings.tsx:594
#: src/view/screens/Settings.tsx:603
#: src/view/screens/Settings.tsx:604
#: src/view/screens/Settings.tsx:613
msgid "Change handle"
msgstr "हैंडल बदलें"
@ -393,19 +404,19 @@ msgstr "उन एल्गोरिदम का चयन करें जो
msgid "Choose your password"
msgstr "अपना पासवर्ड चुनें"
#: src/view/screens/Settings.tsx:687
#: src/view/screens/Settings.tsx:697
msgid "Clear all legacy storage data"
msgstr ""
#: src/view/screens/Settings.tsx:689
#: src/view/screens/Settings.tsx:699
msgid "Clear all legacy storage data (restart after this)"
msgstr ""
#: src/view/screens/Settings.tsx:699
#: src/view/screens/Settings.tsx:709
msgid "Clear all storage data"
msgstr ""
#: src/view/screens/Settings.tsx:701
#: src/view/screens/Settings.tsx:711
msgid "Clear all storage data (restart after this)"
msgstr ""
@ -558,7 +569,7 @@ msgstr "बनाया गया {0}"
msgid "Custom domain"
msgstr "कस्टम डोमेन"
#: src/view/screens/Settings.tsx:608
#: src/view/screens/Settings.tsx:618
msgid "Danger Zone"
msgstr "खतरा क्षेत्र"
@ -566,7 +577,7 @@ msgstr "खतरा क्षेत्र"
#~ msgid "Dark"
#~ msgstr "डार्क मोड"
#: src/view/screens/Settings.tsx:615
#: src/view/screens/Settings.tsx:625
msgid "Delete account"
msgstr "खाता हटाएं"
@ -588,7 +599,7 @@ msgstr "सूची हटाएँ"
msgid "Delete my account"
msgstr "मेरा खाता हटाएं"
#: src/view/screens/Settings.tsx:625
#: src/view/screens/Settings.tsx:635
msgid "Delete my account…"
msgstr "मेरा खाता हटाएं…"
@ -615,7 +626,7 @@ msgstr "विवरण"
msgid "Dev Server"
msgstr "देव सर्वर"
#: src/view/screens/Settings.tsx:630
#: src/view/screens/Settings.tsx:640
msgid "Developer Tools"
msgstr "डेवलपर उपकरण"
@ -709,7 +720,7 @@ msgstr "ईमेल"
msgid "Email Updated"
msgstr "ईमेल अपडेट किया गया"
#: src/view/screens/Settings.tsx:292
#: src/view/screens/Settings.tsx:291
msgid "Email:"
msgstr "ईमेल:"
@ -762,7 +773,7 @@ msgstr "फ़ीड ऑफ़लाइन है"
msgid "Feed Preferences"
msgstr "फ़ीड प्राथमिकता"
#: src/view/shell/desktop/RightNav.tsx:65
#: src/view/shell/desktop/RightNav.tsx:64
#: src/view/shell/Drawer.tsx:411
msgid "Feedback"
msgstr "प्रतिक्रिया"
@ -877,7 +888,7 @@ msgstr "अगला"
msgid "Handle"
msgstr "हैंडल"
#: src/view/shell/desktop/RightNav.tsx:94
#: src/view/shell/desktop/RightNav.tsx:93
#: src/view/shell/Drawer.tsx:421
msgid "Help"
msgstr "सहायता"
@ -923,7 +934,7 @@ msgstr "होम फीड"
#: src/view/com/pager/FeedsTabBarMobile.tsx:99
#: src/view/screens/PreferencesHomeFeed.tsx:95
#: src/view/screens/Settings.tsx:474
#: src/view/screens/Settings.tsx:484
msgid "Home Feed Preferences"
msgstr "होम फ़ीड प्राथमिकताएं"
@ -966,12 +977,12 @@ msgstr "छवि विकल्प"
msgid "Invalid username or password"
msgstr "अवैध उपयोगकर्ता नाम या पासवर्ड"
#: src/view/screens/Settings.tsx:385
#: src/view/screens/Settings.tsx:384
msgid "Invite"
msgstr "आमंत्रण भेजो"
#: src/view/com/modals/InviteCodes.tsx:91
#: src/view/screens/Settings.tsx:373
#: src/view/screens/Settings.tsx:372
msgid "Invite a Friend"
msgstr "एक दोस्त को आमंत्रित करें"
@ -1004,7 +1015,7 @@ msgstr "अपनी भाषा चुने"
msgid "Language Settings"
msgstr "भाषा सेटिंग्स"
#: src/view/screens/Settings.tsx:534
#: src/view/screens/Settings.tsx:544
msgid "Languages"
msgstr "भाषा"
@ -1105,7 +1116,7 @@ msgid "Menu"
msgstr "मेनू"
#: src/view/screens/Moderation.tsx:51
#: src/view/screens/Settings.tsx:556
#: src/view/screens/Settings.tsx:566
#: src/view/shell/desktop/LeftNav.tsx:400
#: src/view/shell/Drawer.tsx:346
#: src/view/shell/Drawer.tsx:347
@ -1174,7 +1185,7 @@ msgstr "मेरी फ़ीड"
msgid "My Profile"
msgstr "मेरी प्रोफाइल"
#: src/view/screens/Settings.tsx:513
#: src/view/screens/Settings.tsx:523
msgid "My Saved Feeds"
msgstr "मेरी फ़ीड"
@ -1284,39 +1295,44 @@ msgstr "एक या अधिक छवियाँ alt पाठ याद
msgid "Open navigation"
msgstr "ओपन नेविगेशन"
#: src/view/screens/Settings.tsx:526
#: src/view/screens/Settings.tsx:536
msgid "Opens configurable language settings"
msgstr "भाषा सेटिंग्स खोलें"
#: src/view/shell/desktop/RightNav.tsx:146
#: src/view/shell/Drawer.tsx:509
msgid "Opens list of invite codes"
msgstr ""
#: src/view/com/modals/ChangeHandle.tsx:279
msgid "Opens modal for using custom domain"
msgstr "कस्टम डोमेन का उपयोग करने के लिए मोडल खोलें"
#: src/view/screens/Settings.tsx:551
#: src/view/screens/Settings.tsx:561
msgid "Opens moderation settings"
msgstr "मॉडरेशन सेटिंग्स खोलें"
#: src/view/screens/Settings.tsx:507
#: src/view/screens/Settings.tsx:517
msgid "Opens screen with all saved feeds"
msgstr "सभी बचाया फ़ीड के साथ स्क्रीन खोलें"
#: src/view/screens/Settings.tsx:574
#: src/view/screens/Settings.tsx:584
msgid "Opens the app password settings page"
msgstr "ऐप पासवर्ड सेटिंग पेज खोलें"
#: src/view/screens/Settings.tsx:466
#: src/view/screens/Settings.tsx:476
msgid "Opens the home feed preferences"
msgstr "होम फीड वरीयताओं को खोलता है"
#: src/view/screens/Settings.tsx:657
#: src/view/screens/Settings.tsx:667
msgid "Opens the storybook page"
msgstr "स्टोरीबुक पेज खोलें"
#: src/view/screens/Settings.tsx:637
#: src/view/screens/Settings.tsx:647
msgid "Opens the system log page"
msgstr "सिस्टम लॉग पेज खोलें"
#: src/view/screens/Settings.tsx:487
#: src/view/screens/Settings.tsx:497
msgid "Opens the threads preferences"
msgstr "धागे वरीयताओं को खोलता है"
@ -1423,7 +1439,7 @@ msgstr "प्राथमिक भाषा"
msgid "Prioritize Your Follows"
msgstr "अपने फ़ॉलोअर्स को प्राथमिकता दें"
#: src/view/shell/desktop/RightNav.tsx:76
#: src/view/shell/desktop/RightNav.tsx:75
msgid "Privacy"
msgstr "गोपनीयता"
@ -1442,7 +1458,7 @@ msgstr "प्रसंस्करण..."
msgid "Profile"
msgstr "प्रोफ़ाइल"
#: src/view/screens/Settings.tsx:782
#: src/view/screens/Settings.tsx:792
msgid "Protect your account by verifying your email."
msgstr "अपने ईमेल को सत्यापित करके अपने खाते को सुरक्षित रखें।।"
@ -1573,7 +1589,7 @@ msgstr "इस प्रदाता के लिए आवश्यक"
msgid "Reset code"
msgstr "कोड रीसेट करें"
#: src/view/screens/Settings.tsx:679
#: src/view/screens/Settings.tsx:689
msgid "Reset onboarding state"
msgstr "ऑनबोर्डिंग स्टेट को रीसेट करें"
@ -1581,15 +1597,15 @@ msgstr "ऑनबोर्डिंग स्टेट को रीसेट
msgid "Reset password"
msgstr "पासवर्ड रीसेट"
#: src/view/screens/Settings.tsx:669
#: src/view/screens/Settings.tsx:679
msgid "Reset preferences state"
msgstr "प्राथमिकताओं को रीसेट करें"
#: src/view/screens/Settings.tsx:677
#: src/view/screens/Settings.tsx:687
msgid "Resets the onboarding state"
msgstr "ऑनबोर्डिंग स्टेट को रीसेट करें"
#: src/view/screens/Settings.tsx:667
#: src/view/screens/Settings.tsx:677
msgid "Resets the preferences state"
msgstr "प्राथमिकताओं की स्थिति को रीसेट करें"
@ -1734,7 +1750,7 @@ msgstr "इस सेटिंग को \"हाँ\" में सेट क
msgid "Set this setting to \"Yes\" to show samples of your saved feeds in your following feed. This is an experimental feature."
msgstr "इस सेटिंग को अपने निम्नलिखित फ़ीड में अपने सहेजे गए फ़ीड के नमूने दिखाने के लिए \"हाँ\" पर सेट करें। यह एक प्रयोगात्मक विशेषता है।।"
#: src/view/screens/Settings.tsx:279
#: src/view/screens/Settings.tsx:278
#: src/view/shell/desktop/LeftNav.tsx:436
#: src/view/shell/Drawer.tsx:380
#: src/view/shell/Drawer.tsx:381
@ -1759,7 +1775,7 @@ msgstr ""
#~ msgid "Share link"
#~ msgstr "लिंक शेयर करें"
#: src/view/screens/Settings.tsx:318
#: src/view/screens/Settings.tsx:317
msgid "Show"
msgstr "दिखाओ"
@ -1831,7 +1847,7 @@ msgstr ""
msgid "Sign up or sign in to join the conversation"
msgstr ""
#: src/view/screens/Settings.tsx:329
#: src/view/screens/Settings.tsx:328
msgid "Signed in as"
msgstr "आपने इस रूप में साइन इन करा है:"
@ -1856,11 +1872,11 @@ msgstr "स्क्वायर"
msgid "Staging"
msgstr "स्टेजिंग"
#: src/view/screens/Settings.tsx:723
#: src/view/screens/Settings.tsx:733
msgid "Status page"
msgstr "स्थिति पृष्ठ"
#: src/view/screens/Settings.tsx:659
#: src/view/screens/Settings.tsx:669
msgid "Storybook"
msgstr "Storybook"
@ -1889,7 +1905,7 @@ msgstr "खाते बदलें"
#~ msgid "System"
#~ msgstr "प्रणाली"
#: src/view/screens/Settings.tsx:639
#: src/view/screens/Settings.tsx:649
msgid "System log"
msgstr "सिस्टम लॉग"
@ -1897,7 +1913,7 @@ msgstr "सिस्टम लॉग"
msgid "Tall"
msgstr "लंबा"
#: src/view/shell/desktop/RightNav.tsx:85
#: src/view/shell/desktop/RightNav.tsx:84
msgid "Terms"
msgstr "शर्तें"
@ -1970,7 +1986,7 @@ msgid "This warning is only available for posts with media attached."
msgstr "यह चेतावनी केवल मीडिया संलग्न पोस्ट के लिए उपलब्ध है।"
#: src/view/screens/PreferencesThreads.tsx:53
#: src/view/screens/Settings.tsx:496
#: src/view/screens/Settings.tsx:506
msgid "Thread Preferences"
msgstr "थ्रेड प्राथमिकता"
@ -2077,15 +2093,15 @@ msgstr "यूजर नाम या ईमेल पता"
msgid "Users"
msgstr "यूजर लोग"
#: src/view/screens/Settings.tsx:743
#: src/view/screens/Settings.tsx:753
msgid "Verify email"
msgstr "ईमेल सत्यापित करें"
#: src/view/screens/Settings.tsx:768
#: src/view/screens/Settings.tsx:778
msgid "Verify my email"
msgstr "मेरी ईमेल सत्यापित करें"
#: src/view/screens/Settings.tsx:777
#: src/view/screens/Settings.tsx:787
msgid "Verify My Email"
msgstr "मेरी ईमेल सत्यापित करें"
@ -2243,6 +2259,12 @@ msgstr "आपका पूरा हैंडल होगा"
msgid "Your hosting provider"
msgstr "आपका होस्टिंग प्रदाता"
#: src/view/screens/Settings.tsx:403
#: src/view/shell/desktop/RightNav.tsx:127
#: src/view/shell/Drawer.tsx:523
msgid "Your invite codes are hidden when logged in using an App Password"
msgstr ""
#: src/view/com/auth/onboarding/WelcomeMobile.tsx:59
msgid "Your posts, likes, and blocks are public. Mutes are private."
msgstr "आपकी पोस्ट, पसंद और ब्लॉक सार्वजनिक हैं। म्यूट निजी हैं।।"

View File

@ -3,6 +3,7 @@ import {useQuery} from '@tanstack/react-query'
import {getAgent} from '#/state/session'
import {STALE} from '#/state/queries'
import {cleanError} from '#/lib/strings/errors'
function isInviteAvailable(invite: ComAtprotoServerDefs.InviteCode): boolean {
return invite.available - invite.uses.length > 0 && !invite.disabled
@ -17,7 +18,24 @@ export function useInviteCodesQuery() {
staleTime: STALE.HOURS.ONE,
queryKey: ['inviteCodes'],
queryFn: async () => {
const res = await getAgent().com.atproto.server.getAccountInviteCodes({})
const res = await getAgent()
.com.atproto.server.getAccountInviteCodes({})
.catch(e => {
if (cleanError(e) === 'Bad token scope') {
return null
} else {
throw e
}
})
if (res === null) {
return {
disabled: true,
all: [],
available: [],
used: [],
}
}
if (!res.data?.codes) {
throw new Error(`useInviteCodesQuery: no codes returned`)
@ -27,6 +45,7 @@ export function useInviteCodesQuery() {
const used = res.data.codes.filter(code => !isInviteAvailable(code))
return {
disabled: false,
all: [...available, ...used],
available,
used,

View File

@ -32,7 +32,6 @@ import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
import {useAccountSwitcher} from 'lib/hooks/useAccountSwitcher'
import {useAnalytics} from 'lib/analytics/analytics'
import {NavigationProp} from 'lib/routes/types'
import {pluralize} from 'lib/strings/helpers'
import {HandIcon, HashtagIcon} from 'lib/icons'
import {formatCount} from 'view/com/util/numeric/format'
import Clipboard from '@react-native-clipboard/clipboard'
@ -67,7 +66,7 @@ import {clearLegacyStorage} from '#/state/persisted/legacy'
// -prf
import {useDebugHeaderSetting} from 'lib/api/debug-appview-proxy-header'
import {STATUS_PAGE_URL} from 'lib/constants'
import {Trans, msg} from '@lingui/macro'
import {Plural, Trans, msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {useQueryClient} from '@tanstack/react-query'
import {useLoggedOutViewControls} from '#/state/shell/logged-out'
@ -383,7 +382,8 @@ export function SettingsScreen({}: Props) {
onPress={isSwitchingAccounts ? undefined : onPressInviteCodes}
accessibilityRole="button"
accessibilityLabel={_(msg`Invite`)}
accessibilityHint="Opens invite code list">
accessibilityHint="Opens invite code list"
disabled={invites?.disabled}>
<View
style={[
styles.iconContainer,
@ -399,8 +399,18 @@ export function SettingsScreen({}: Props) {
/>
</View>
<Text type="lg" style={invitesAvailable > 0 ? pal.link : pal.text}>
{formatCount(invitesAvailable)} invite{' '}
{pluralize(invitesAvailable, 'code')} available
{invites?.disabled ? (
<Trans>
Your invite codes are hidden when logged in using an App
Password
</Trans>
) : (
<Plural
value={formatCount(invitesAvailable)}
one="# invite code available"
other="# invite codes available"
/>
)}
</Text>
</TouchableOpacity>

View File

@ -42,7 +42,7 @@ import {NavigationProp} from 'lib/routes/types'
import {useNavigationTabState} from 'lib/hooks/useNavigationTabState'
import {isWeb} from 'platform/detection'
import {formatCount, formatCountShortOnly} from 'view/com/util/numeric/format'
import {Trans, msg} from '@lingui/macro'
import {Plural, Trans, msg, plural} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {useSetDrawerOpen} from '#/state/shell'
import {useModalControls} from '#/state/modals'
@ -486,23 +486,28 @@ function InviteCodes({style}: {style?: StyleProp<ViewStyle>}) {
const {data: invites} = useInviteCodesQuery()
const invitesAvailable = invites?.available?.length ?? 0
const {openModal} = useModalControls()
const {_} = useLingui()
const onPress = React.useCallback(() => {
track('Menu:ItemClicked', {url: '#invite-codes'})
setDrawerOpen(false)
openModal({name: 'invite-codes'})
}, [openModal, track, setDrawerOpen])
return (
<TouchableOpacity
testID="menuItemInviteCodes"
style={[styles.inviteCodes, style]}
onPress={onPress}
accessibilityRole="button"
accessibilityLabel={
invitesAvailable === 1
? 'Invite codes: 1 available'
: `Invite codes: ${invitesAvailable} available`
}
accessibilityHint="Opens list of invite codes">
accessibilityLabel={_(
plural(invitesAvailable, {
one: 'Invite codes: # available',
other: 'Invite codes: # available',
}),
)}
accessibilityHint={_(msg`Opens list of invite codes`)}
disabled={invites?.disabled}>
<FontAwesomeIcon
icon="ticket"
style={[
@ -514,8 +519,17 @@ function InviteCodes({style}: {style?: StyleProp<ViewStyle>}) {
<Text
type="lg-medium"
style={invitesAvailable > 0 ? pal.link : pal.textLight}>
{formatCount(invitesAvailable)} invite{' '}
{pluralize(invitesAvailable, 'code')}
{invites?.disabled ? (
<Trans>
Your invite codes are hidden when logged in using an App Password
</Trans>
) : (
<Plural
value={formatCount(invitesAvailable)}
one="# invite code available"
other="# invite codes available"
/>
)}
</Text>
</TouchableOpacity>
)
@ -592,10 +606,11 @@ const styles = StyleSheet.create({
paddingLeft: 22,
paddingVertical: 8,
flexDirection: 'row',
alignItems: 'center',
},
inviteCodesIcon: {
marginRight: 6,
flexShrink: 0,
marginTop: 2,
},
footer: {

View File

@ -9,11 +9,10 @@ import {TextLink} from 'view/com/util/Link'
import {FEEDBACK_FORM_URL, HELP_DESK_URL} from 'lib/constants'
import {s} from 'lib/styles'
import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
import {pluralize} from 'lib/strings/helpers'
import {formatCount} from 'view/com/util/numeric/format'
import {useModalControls} from '#/state/modals'
import {useLingui} from '@lingui/react'
import {msg} from '@lingui/macro'
import {Plural, Trans, msg, plural} from '@lingui/macro'
import {useSession} from '#/state/session'
import {useInviteCodesQuery} from '#/state/queries/invites'
@ -106,21 +105,45 @@ function InviteCodes() {
const {openModal} = useModalControls()
const {data: invites} = useInviteCodesQuery()
const invitesAvailable = invites?.available?.length ?? 0
const {_} = useLingui()
const onPress = React.useCallback(() => {
openModal({name: 'invite-codes'})
}, [openModal])
if (!invites) {
return null
}
if (invites?.disabled) {
return (
<View style={[styles.inviteCodes, pal.border]}>
<FontAwesomeIcon
icon="ticket"
style={[styles.inviteCodesIcon, pal.textLight]}
size={16}
/>
<Text type="md-medium" style={pal.textLight}>
<Trans>
Your invite codes are hidden when logged in using an App Password
</Trans>
</Text>
</View>
)
}
return (
<TouchableOpacity
style={[styles.inviteCodes, pal.border]}
onPress={onPress}
accessibilityRole="button"
accessibilityLabel={
invitesAvailable === 1
? 'Invite codes: 1 available'
: `Invite codes: ${invitesAvailable} available`
}
accessibilityHint="Opens list of invite codes">
accessibilityLabel={_(
plural(invitesAvailable, {
one: 'Invite codes: # available',
other: 'Invite codes: # available',
}),
)}
accessibilityHint={_(msg`Opens list of invite codes`)}>
<FontAwesomeIcon
icon="ticket"
style={[
@ -132,8 +155,11 @@ function InviteCodes() {
<Text
type="md-medium"
style={invitesAvailable > 0 ? pal.link : pal.textLight}>
{formatCount(invitesAvailable)} invite{' '}
{pluralize(invitesAvailable, 'code')} available
<Plural
value={formatCount(invitesAvailable)}
one="# invite code available"
other="# invite codes available"
/>
</Text>
</TouchableOpacity>
)
@ -163,9 +189,10 @@ const styles = StyleSheet.create({
paddingHorizontal: 16,
paddingVertical: 12,
flexDirection: 'row',
alignItems: 'center',
},
inviteCodesIcon: {
marginTop: 2,
marginRight: 6,
flexShrink: 0,
},
})