diff --git a/src/pages/Route/Card/RouteForm.vue b/src/pages/Route/Card/RouteForm.vue index 725644824..b80b4536d 100644 --- a/src/pages/Route/Card/RouteForm.vue +++ b/src/pages/Route/Card/RouteForm.vue @@ -145,7 +145,7 @@ const onSave = (data, response) => { :rules="[ (val) => val < maxDistance || - t('Distance must be lesser than') + ` ${maxDistance}`, + t('Distance must be lesser than', { maxDistance }), ]" clearable type="number" @@ -194,5 +194,7 @@ es: Description: DescripciĆ³n Is served: Se ha servido Created: Creado - Distance must be lesser than: La distancia debe ser inferior a + Distance must be lesser than: La distancia debe ser inferior a {maxDistance} +en: + Distance must be lesser than: Distance must be lesser than {maxDistance}