From a6d794143b073ea33d6e9b8497012b091f893387 Mon Sep 17 00:00:00 2001 From: Dotty Date: Wed, 12 Jun 2024 18:29:59 -0400 Subject: [PATCH] [TM-874] solved PR - add transifex --- .../MapPolygonPanel/ChecklistInformation.tsx | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/src/components/elements/MapPolygonPanel/ChecklistInformation.tsx b/src/components/elements/MapPolygonPanel/ChecklistInformation.tsx index 3412f1c5e..bbe6b4ae9 100644 --- a/src/components/elements/MapPolygonPanel/ChecklistInformation.tsx +++ b/src/components/elements/MapPolygonPanel/ChecklistInformation.tsx @@ -1,3 +1,5 @@ +import { useT } from "@transifex/react"; + import Icon, { IconNames } from "@/components/extensive/Icon/Icon"; import ModalWithMap from "@/components/extensive/Modal/ModalWithMap"; import { useModalContext } from "@/context/modal.provider"; @@ -7,12 +9,13 @@ import Text from "../Text/Text"; const ChecklistInformation = () => { const { openModal, closeModal } = useModalContext(); + const t = useT(); + const openFormModalHandlerRequestPolygonSupport = () => { openModal( @@ -20,59 +23,59 @@ const ChecklistInformation = () => { }; return (
- 3 out 14 - Validation criteria are not met + 3 {t("out")} 14 + {t("Validation criteria are not met")}
- GeoJSON Format + {t("GeoJSON Format")} - WGS84 Projection + {t("WGS84 Projection")} - Earth Location + {t("Earth Location")} - Country + {t("Country")} - Reasonable Size Self-Intersecting Topology + {t("Reasonable Size Self-Intersecting Topology")} - Overlapping Polygons + {t("Overlapping Polygons")} - Spike + {t("Spike")} - Polygon Integrity + {t("Polygon Integrity")} - GeoJSON Format + {t("GeoJSON Format")} - WGS84 Projection + {t("WGS84 Projection")} - Earth Location + {t("Earth Location")} - Country + {t("Country")}