1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-08 13:06:15 +02:00

Chore: Adjust some strings for translations

This commit is contained in:
Laurent Cozic 2025-01-06 12:02:29 +00:00
parent 3ae834e508
commit 533f8f47ce
4 changed files with 5 additions and 6 deletions

View File

@ -108,7 +108,7 @@ const ActionButtons: React.FC<Props> = props => {
<IconButton
iconName={props.takingPicture ? 'ionicon checkmark' : 'ionicon camera'}
onPress={props.onTakePicture}
description={props.takingPicture ? _('Processing photo...') : _('Take picture')}
description={props.takingPicture ? _('Processing photo...') : _('Take photo')}
themeId={props.themeId}
iconStyle={styles.takePhotoButtonContent}
containerStyle={styles.takePhotoButtonContainer}

View File

@ -59,7 +59,7 @@ describe('CameraView', () => {
expect(await screen.findByRole('button', { name: 'Back' })).toBeVisible();
startCamera();
expect(await screen.findByRole('button', { name: 'Take picture' })).toBeVisible();
expect(await screen.findByRole('button', { name: 'Take photo' })).toBeVisible();
view.unmount();
});

View File

@ -50,7 +50,7 @@ const WebBetaButton: React.FC<Props> = props => {
>
<Text>{'At present, the web client is in beta. In the future, it may change significantly, or be removed.'}</Text>
<View style={feedbackContainerStyles}>
<LinkButton onPress={onLeaveFeedback}>{_('Give feedback')}</LinkButton>
<LinkButton onPress={onLeaveFeedback}>{'Give feedback'}</LinkButton>
</View>
</DismissibleDialog>
</>

View File

@ -1286,8 +1286,7 @@ const builtInMetadata = (Setting: typeof SettingType) => {
type: SettingItemType.Bool,
public: true,
appTypes: [AppType.Desktop],
label: () => _('Enable spell checking in Markdown editor?'),
description: () => _('Checks spelling in most non-code regions of the Markdown editor.'),
label: () => _('Enable spell checking in Markdown editor'),
storage: SettingStorage.File,
isGlobal: true,
},
@ -1332,7 +1331,7 @@ const builtInMetadata = (Setting: typeof SettingType) => {
public: true,
appTypes: [AppType.Desktop],
label: () => _('Use the legacy Markdown editor'),
description: () => _('Enable the the legacy Markdown editor. Some plugins require this editor to function. However, it has accessibility issues and other plugins will not work.'),
description: () => 'Enable the the legacy Markdown editor. Some plugins require this editor to function. However, it has accessibility issues and other plugins will not work.',
storage: SettingStorage.File,
isGlobal: true,
},