Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Mark `under13` and `Next` and `Back` buttons in signup for localisation (#3341)

* Mark under13 string for translation

* Mark buttons for localisation

* tweak label

* wrap in `ButtonText`

* lint

* try to fix lint again

authored by

surfdude29 and committed by
GitHub
d507fa9f 5b44aa96

+13 -7
+1 -1
src/screens/Signup/StepInfo/Policies.tsx
··· 76 76 77 77 {under13 ? ( 78 78 <Text style={[a.font_bold, a.leading_snug, t.atoms.text_contrast_high]}> 79 - You must be 13 years of age or older to sign up. 79 + <Trans>You must be 13 years of age or older to sign up.</Trans> 80 80 </Text> 81 81 ) : needsGuardian ? ( 82 82 <Text style={[a.font_bold, a.leading_snug, t.atoms.text_contrast_high]}>
+12 -6
src/screens/Signup/index.tsx
··· 170 170 171 171 <View style={[a.flex_row, a.justify_between, a.pb_lg]}> 172 172 <Button 173 - label="Back" 173 + label={_(msg`Go back to previous step`)} 174 174 variant="solid" 175 175 color="secondary" 176 176 size="medium" 177 177 onPress={onBackPress}> 178 - Back 178 + <ButtonText> 179 + <Trans>Back</Trans> 180 + </ButtonText> 179 181 </Button> 180 182 {state.activeStep !== SignupStep.CAPTCHA && ( 181 183 <> 182 184 {isError ? ( 183 185 <Button 184 - label="Retry" 186 + label={_(msg`Press to retry`)} 185 187 variant="solid" 186 188 color="primary" 187 189 size="medium" 188 190 disabled={state.isLoading} 189 191 onPress={() => refetch()}> 190 - Retry 192 + <ButtonText> 193 + <Trans>Retry</Trans> 194 + </ButtonText> 191 195 </Button> 192 196 ) : ( 193 197 <Button 194 - label="Next" 198 + label={_(msg`Continue to next step`)} 195 199 variant="solid" 196 200 color="primary" 197 201 size="medium" 198 202 disabled={!state.canNext || state.isLoading} 199 203 onPress={onNextPress}> 200 - <ButtonText>Next</ButtonText> 204 + <ButtonText> 205 + <Trans>Next</Trans> 206 + </ButtonText> 201 207 </Button> 202 208 )} 203 209 </>