Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add `english-only-resource` context and tweak labels (#8805)

* add context in VerificationsDialog.tsx

* add context in VerifierDialog.tsx

* add context in VerificationSettings.tsx

* add context in EditProfileDialog.tsx

* add context and tweak label in ChangeHandleDialog.tsx

* tweak label in ContentHider.tsx

authored by

surfdude29 and committed by
GitHub
01c20958 99722436

+41 -11
+1 -1
src/components/moderation/ContentHider.tsx
··· 215 215 control.open() 216 216 }} 217 217 label={_( 218 - msg`Learn more about the moderation applied to this content.`, 218 + msg`Learn more about the moderation applied to this content`, 219 219 )} 220 220 style={[a.pt_sm]}> 221 221 {state => (
+7 -2
src/components/verification/VerificationsDialog.tsx
··· 147 147 <Link 148 148 overridePresentation 149 149 to={urls.website.blog.initialVerificationAnnouncement} 150 - label={_(msg`Learn more about verification on Bluesky`)} 150 + label={_( 151 + msg({ 152 + message: `Learn more about verification on Bluesky`, 153 + context: `english-only-resource`, 154 + }), 155 + )} 151 156 size="small" 152 157 variant="solid" 153 158 color="secondary" ··· 162 167 ) 163 168 }}> 164 169 <ButtonText> 165 - <Trans>Learn more</Trans> 170 + <Trans context="english-only-resource">Learn more</Trans> 166 171 </ButtonText> 167 172 </Link> 168 173 </View>
+7 -2
src/components/verification/VerifierDialog.tsx
··· 114 114 <Link 115 115 overridePresentation 116 116 to={urls.website.blog.initialVerificationAnnouncement} 117 - label={_(msg`Learn more about verification on Bluesky`)} 117 + label={_( 118 + msg({ 119 + message: `Learn more about verification on Bluesky`, 120 + context: `english-only-resource`, 121 + }), 122 + )} 118 123 size="small" 119 124 variant="solid" 120 125 color="primary" ··· 129 134 ) 130 135 }}> 131 136 <ButtonText> 132 - <Trans>Learn more</Trans> 137 + <Trans context="english-only-resource">Learn more</Trans> 133 138 </ButtonText> 134 139 </Link> 135 140 <Button
+6 -1
src/screens/Moderation/VerificationSettings.tsx
··· 44 44 <InlineLinkText 45 45 overridePresentation 46 46 to={urls.website.blog.initialVerificationAnnouncement} 47 - label={_(msg`Learn more`)} 47 + label={_( 48 + msg({ 49 + message: `Learn more`, 50 + context: `english-only-resource`, 51 + }), 52 + )} 48 53 onPress={() => { 49 54 logger.metric( 50 55 'verification:learn-more',
+7 -2
src/screens/Profile/Header/EditProfileDialog.tsx
··· 347 347 You are verified. You will lose your verification status if you 348 348 change your display name.{' '} 349 349 <InlineLinkText 350 - label={_(msg`Learn more`)} 350 + label={_( 351 + msg({ 352 + message: `Learn more`, 353 + context: `english-only-resource`, 354 + }), 355 + )} 351 356 to={urls.website.blog.initialVerificationAnnouncement}> 352 - <Trans>Learn more.</Trans> 357 + <Trans context="english-only-resource">Learn more.</Trans> 353 358 </InlineLinkText> 354 359 </Trans> 355 360 </Admonition>
+13 -3
src/screens/Settings/components/ChangeHandleDialog.tsx
··· 209 209 You are verified. You will lose your verification status if you 210 210 change your handle.{' '} 211 211 <InlineLinkText 212 - label={_(msg`Learn more`)} 212 + label={_( 213 + msg({ 214 + message: `Learn more`, 215 + context: `english-only-resource`, 216 + }), 217 + )} 213 218 to={urls.website.blog.initialVerificationAnnouncement}> 214 - <Trans>Learn more.</Trans> 219 + <Trans context="english-only-resource">Learn more.</Trans> 215 220 </InlineLinkText> 216 221 </Trans> 217 222 </Admonition> ··· 268 273 If you have your own domain, you can use that as your handle. This 269 274 lets you self-verify your identity.{' '} 270 275 <InlineLinkText 271 - label={_(msg`learn more`)} 276 + label={_( 277 + msg({ 278 + message: `Learn more`, 279 + context: `english-only-resource`, 280 + }), 281 + )} 272 282 to="https://bsky.social/about/blog/4-28-2023-domain-handle-tutorial" 273 283 style={[a.font_bold]} 274 284 disableMismatchWarning>