🌐 Translate error alert

This commit is contained in:
Manuel
2023-08-22 21:55:26 +02:00
parent 0f6d545e1a
commit 4e21f669f6
2 changed files with 3 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ export const ReviewInputStep = ({ values, prevStep, nextStep }: ReviewInputStepP
{isError && (
<Alert color="red" icon={<IconAlertTriangleFilled size="0.9rem" />} mb="lg">
<Text color="red">User creation has failed: {error.message}</Text>
<Text color="red">{t('steps.finish.failed', { error: error.message })}</Text>
</Alert>
)}