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

This commit is contained in:
surfdude29
2026-02-24 21:56:12 +00:00
committed by GitHub
parent db1f45de92
commit e656fe688d
3 changed files with 6 additions and 6 deletions
@@ -402,8 +402,8 @@ export function Controls({
{hasSubtitleTrack && ( {hasSubtitleTrack && (
<ControlButton <ControlButton
active={subtitlesEnabled} active={subtitlesEnabled}
activeLabel={_(msg`Disable subtitles`)} activeLabel={_(msg`Disable captions`)}
inactiveLabel={_(msg`Enable subtitles`)} inactiveLabel={_(msg`Enable captions`)}
activeIcon={CCActiveIcon} activeIcon={CCActiveIcon}
inactiveIcon={CCInactiveIcon} inactiveIcon={CCInactiveIcon}
onPress={onPressSubtitles} onPress={onPressSubtitles}
@@ -180,7 +180,7 @@ function SubtitleDialogInner({
{subtitleMissingLanguage && ( {subtitleMissingLanguage && (
<Text style={[a.text_sm, t.atoms.text_contrast_medium]}> <Text style={[a.text_sm, t.atoms.text_contrast_medium]}>
<Trans> <Trans>
Ensure you have selected a language for each subtitle file. Ensure you have selected a language for each caption file.
</Trans> </Trans>
</Text> </Text>
)} )}
@@ -283,7 +283,7 @@ function SubtitleFileRow({
</View> </View>
<Button <Button
label={_(msg`Remove subtitle file`)} label={_(msg`Remove caption file`)}
size="tiny" size="tiny"
shape="round" shape="round"
variant="outline" variant="outline"
@@ -58,14 +58,14 @@ export function SubtitleFilePicker({
<View style={a.flex_row}> <View style={a.flex_row}>
<Button <Button
onPress={handleClick} onPress={handleClick}
label={_(msg`Select subtitle file (.vtt)`)} label={_(msg`Select caption file (.vtt)`)}
size="large" size="large"
color="primary" color="primary"
variant="solid" variant="solid"
disabled={disabled}> disabled={disabled}>
<ButtonIcon icon={CCIcon} /> <ButtonIcon icon={CCIcon} />
<ButtonText> <ButtonText>
<Trans>Select subtitle file (.vtt)</Trans> <Trans>Select caption file (.vtt)</Trans>
</ButtonText> </ButtonText>
</Button> </Button>
</View> </View>