Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Add context and comments to button text, label and title in email verification dialog (#8810)

* add context and comment for translators to button text in email verification dialog

* shorten comment

* add comment for other string

* tweak comment

* tweak again

authored by

surfdude29 and committed by
GitHub
f873f3b3 a3bb8cca

+15 -3
+15 -3
src/components/dialogs/EmailDialog/screens/Verify.tsx
··· 211 211 <Trans>Verify your email</Trans> 212 212 ) 213 213 ) : ( 214 - <Trans>Verify email code</Trans> 214 + <Trans comment="Dialog title when a user is verifying their email address by entering a code they have been sent"> 215 + Verify email code 216 + </Trans> 215 217 )} 216 218 </Text> 217 219 ··· 345 347 {state.error && <Admonition type="error">{state.error}</Admonition>} 346 348 347 349 <Button 348 - label={_(msg`Verify code`)} 350 + label={_( 351 + msg({ 352 + message: `Verify code`, 353 + context: `action`, 354 + comment: `Button text and accessibility label for action to verify the user's email address using the code entered`, 355 + }), 356 + )} 349 357 size="large" 350 358 variant="solid" 351 359 color="primary" ··· 356 364 state.mutationStatus === 'pending' 357 365 }> 358 366 <ButtonText> 359 - <Trans>Verify code</Trans> 367 + <Trans 368 + context="action" 369 + comment="Button text and accessibility label for action to verify the user's email address using the code entered"> 370 + Verify code 371 + </Trans> 360 372 </ButtonText> 361 373 {state.mutationStatus === 'pending' && <ButtonIcon icon={Loader} />} 362 374 </Button>