mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
🌐 Translate error alert
This commit is contained in:
@@ -35,7 +35,8 @@
|
|||||||
},
|
},
|
||||||
"notSet": "Not set",
|
"notSet": "Not set",
|
||||||
"valid": "Valid"
|
"valid": "Valid"
|
||||||
}
|
},
|
||||||
|
"failed": "User creation has failed: {{error}}"
|
||||||
},
|
},
|
||||||
"completed": {
|
"completed": {
|
||||||
"alert": {
|
"alert": {
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export const ReviewInputStep = ({ values, prevStep, nextStep }: ReviewInputStepP
|
|||||||
|
|
||||||
{isError && (
|
{isError && (
|
||||||
<Alert color="red" icon={<IconAlertTriangleFilled size="0.9rem" />} mb="lg">
|
<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>
|
</Alert>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user