Skip to content

Commit

Permalink
missing translations added
Browse files Browse the repository at this point in the history
  • Loading branch information
burczu committed Mar 26, 2024
1 parent a32a620 commit 291fec5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2126,6 +2126,10 @@ export default {
failedToClearBalanceText: 'We were unable to clear the balance. Please try again later.',
successTitle: 'Woohoo! All set.',
successDescription: "You're now the owner if this workspace.",
errorTitle: 'Oops! Not so fast...',
errorDescriptionPartOne: 'There was a problem transferring ownership of this workspace. Try again, or',
errorDescriptionPartTwo: 'reach out to Concierge',
errorDescriptionPartThree: 'for help.',
},
},
getAssistancePage: {
Expand Down
3 changes: 3 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2156,6 +2156,9 @@ export default {
failedToClearBalanceText: 'We were unable to clear the balance. Please try again later.',
successTitle: '¡Guau! Todo listo.',
successDescription: 'Ahora eres el propietario de este espacio de trabajo.',
errorDescriptionPartOne: 'Hubo un problema al transferir la propiedad de este espacio de trabajo. Inténtalo de nuevo, o',
errorDescriptionPartTwo: 'contacta con el conserje',
errorDescriptionPartThree: 'por ayuda.',
},
},
getAssistancePage: {
Expand Down
7 changes: 4 additions & 3 deletions src/pages/workspace/members/WorkspaceOwnerChangeErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ function WorkspaceOwnerChangeErrorPage({route}: WorkspaceOwnerChangeSuccessPageP
fill=""
additionalStyles={styles.mb3}
/>
<Text style={[styles.textHeadline, styles.textAlignCenter, styles.mv2]}>Oops! Not so fast...</Text>
<Text style={[styles.textHeadline, styles.textAlignCenter, styles.mv2]}>{translate('workspace.changeOwner.errorTitle')}</Text>
<Text style={[styles.textAlignCenter, styles.textSupporting]}>
There was a problem transferring ownership of this workspace. Try again, or <TextLink href={`mailto:${CONST.EMAIL.CONCIERGE}`}>reach out to Concierge</TextLink>{' '}
for help.
{translate('workspace.changeOwner.errorDescriptionPartOne')}{' '}
<TextLink href={`mailto:${CONST.EMAIL.CONCIERGE}`}>{translate('workspace.changeOwner.errorDescriptionPartTwo')}</TextLink>{' '}
{translate('workspace.changeOwner.errorDescriptionPartThree')}
</Text>
</View>
<FixedFooter>
Expand Down

0 comments on commit 291fec5

Please sign in to comment.