diff --git a/packages/app-mobile/components/screens/ShareManager/AcceptedShareItem.tsx b/packages/app-mobile/components/screens/ShareManager/AcceptedShareItem.tsx index fb4209de4..9a60b5a1d 100644 --- a/packages/app-mobile/components/screens/ShareManager/AcceptedShareItem.tsx +++ b/packages/app-mobile/components/screens/ShareManager/AcceptedShareItem.tsx @@ -64,7 +64,7 @@ const AcceptedShareItem: React.FC = props => { } catch (error) { logger.error('Failed to leave share', error); await shim.showMessageBox( - _('Failed to leave share. Please verify that Joplin is connected to the internet and able to sync.\nError: %s', error), + _('Error: %s', error), { buttons: [_('OK')] }, ); } finally { @@ -87,7 +87,7 @@ const AcceptedShareItem: React.FC = props => { onPress={onLeaveShare} disabled={props.processing || leaving || hasLeft} loading={leaving || !folderTitle} - >{_('Leave share')} + >{_('Leave notebook')} ; }; diff --git a/packages/app-mobile/components/screens/ShareManager/index.test.tsx b/packages/app-mobile/components/screens/ShareManager/index.test.tsx index 345876d5e..966f470a8 100644 --- a/packages/app-mobile/components/screens/ShareManager/index.test.tsx +++ b/packages/app-mobile/components/screens/ShareManager/index.test.tsx @@ -110,6 +110,6 @@ describe('ShareManager', () => { render(); // Should now allow leaving - expect(await screen.findByRole('button', { name: 'Leave share' })).toBeVisible(); + expect(await screen.findByRole('button', { name: 'Leave notebook' })).toBeVisible(); }); }); diff --git a/packages/app-mobile/components/screens/ShareManager/index.tsx b/packages/app-mobile/components/screens/ShareManager/index.tsx index 880fd1e21..eff155f95 100644 --- a/packages/app-mobile/components/screens/ShareManager/index.tsx +++ b/packages/app-mobile/components/screens/ShareManager/index.tsx @@ -89,13 +89,13 @@ export const ShareManagerComponent: React.FC = props => { const renderNoIncomingShares = () => { if (incomingShareComponents.length > 0) return null; - return {_('No incoming shares')}; + return {_('No new invitations')}; }; const renderAcceptedShares = () => { if (acceptedShareComponents.length === 0) return null; return <> - {_('Accepted shares')} + {_('Accepted invitations')} {acceptedShareComponents} @@ -117,7 +117,7 @@ export const ShareManagerComponent: React.FC = props => { } testID='refreshControl' > - {_('Incoming shares')} + {_('New invitations')} {renderNoIncomingShares()} {incomingShareComponents}