Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork client

Align strings from 'subtitles' to 'captions' (#9941)

authored by

surfdude29 and committed by
GitHub
e656fe68 db1f45de

+6 -6
+2 -2
src/components/Post/Embed/VideoEmbed/VideoEmbedInner/web-controls/VideoControls.tsx
··· 402 {hasSubtitleTrack && ( 403 <ControlButton 404 active={subtitlesEnabled} 405 - activeLabel={_(msg`Disable subtitles`)} 406 - inactiveLabel={_(msg`Enable subtitles`)} 407 activeIcon={CCActiveIcon} 408 inactiveIcon={CCInactiveIcon} 409 onPress={onPressSubtitles}
··· 402 {hasSubtitleTrack && ( 403 <ControlButton 404 active={subtitlesEnabled} 405 + activeLabel={_(msg`Disable captions`)} 406 + inactiveLabel={_(msg`Enable captions`)} 407 activeIcon={CCActiveIcon} 408 inactiveIcon={CCInactiveIcon} 409 onPress={onPressSubtitles}
+2 -2
src/view/com/composer/videos/SubtitleDialog.tsx
··· 180 {subtitleMissingLanguage && ( 181 <Text style={[a.text_sm, t.atoms.text_contrast_medium]}> 182 <Trans> 183 - Ensure you have selected a language for each subtitle file. 184 </Trans> 185 </Text> 186 )} ··· 283 </View> 284 285 <Button 286 - label={_(msg`Remove subtitle file`)} 287 size="tiny" 288 shape="round" 289 variant="outline"
··· 180 {subtitleMissingLanguage && ( 181 <Text style={[a.text_sm, t.atoms.text_contrast_medium]}> 182 <Trans> 183 + Ensure you have selected a language for each caption file. 184 </Trans> 185 </Text> 186 )} ··· 283 </View> 284 285 <Button 286 + label={_(msg`Remove caption file`)} 287 size="tiny" 288 shape="round" 289 variant="outline"
+2 -2
src/view/com/composer/videos/SubtitleFilePicker.tsx
··· 58 <View style={a.flex_row}> 59 <Button 60 onPress={handleClick} 61 - label={_(msg`Select subtitle file (.vtt)`)} 62 size="large" 63 color="primary" 64 variant="solid" 65 disabled={disabled}> 66 <ButtonIcon icon={CCIcon} /> 67 <ButtonText> 68 - <Trans>Select subtitle file (.vtt)</Trans> 69 </ButtonText> 70 </Button> 71 </View>
··· 58 <View style={a.flex_row}> 59 <Button 60 onPress={handleClick} 61 + label={_(msg`Select caption file (.vtt)`)} 62 size="large" 63 color="primary" 64 variant="solid" 65 disabled={disabled}> 66 <ButtonIcon icon={CCIcon} /> 67 <ButtonText> 68 + <Trans>Select caption file (.vtt)</Trans> 69 </ButtonText> 70 </Button> 71 </View>