From 7e7fddb86babd87b4dcf0b82a382d3c3ed57d038 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 6 Aug 2024 11:50:33 +0200 Subject: [PATCH] fix(router_basicData): transalation kmMax --- src/pages/Route/Card/RouteForm.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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}