chore: translate replacement keys

This commit is contained in:
asiaznik 2024-03-08 14:38:41 +01:00
parent c7e79aa196
commit a12bf26cb4
No known key found for this signature in database
GPG Key ID: 4D5C8972A02C52C2

View File

@ -123,7 +123,7 @@ export const OrderEditDialog = ({
min: (value) =>
Number(value) >= Number(step)
? true
: t('Price cannot be lower than {{priceStep}}', {
: t('Price cannot be lower than {{step}}', {
step,
}),
validate: validateAmount(step, t('Price')),
@ -147,7 +147,7 @@ export const OrderEditDialog = ({
min: (value) =>
Number(value) >= Number(stepSize)
? true
: t('Size cannot be lower than {{sizeStep}}', {
: t('Size cannot be lower than {{stepSize}}', {
stepSize,
}),
validate: validateAmount(stepSize, t('Size')),