From c0c3c0bc67adc221e3200654473b7d7741269e77 Mon Sep 17 00:00:00 2001 From: shevijacobson Date: Mon, 30 Sep 2024 14:33:45 +0300 Subject: [PATCH] Edit unsupported file type message for uploads Signed-off-by: shevijacobson --- client/public/locales/en/translation.json | 1 + .../import-applications-form/import-applications-form.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/public/locales/en/translation.json b/client/public/locales/en/translation.json index 6942e06e7..98c21b4eb 100644 --- a/client/public/locales/en/translation.json +++ b/client/public/locales/en/translation.json @@ -192,6 +192,7 @@ "duplicateTag": "A tag with this name already exists. Use a different name.", "duplicateWave": "The migration wave could not be created due to a conflict with an existing wave. Make sure the name and start/end dates are unique and try again.", "importErrorCheckDocumentation": "For status Error imports, check the documentation to ensure your file is structured correctly.", + "unsupportedFileType": "Unsupported file type. Only Excel, ODS, and CSV files are allowed.", "insecureTracker": "Insecure mode deactivates certificate verification. Use insecure mode for instances that have self-signed certificates.", "inheritedReviewTooltip": "This application is inheriting a review from an archetype.", "inheritedReviewTooltip_plural": "This application is inheriting reviews from {{count}} archetypes.", diff --git a/client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx b/client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx index 3f0189d23..d050e7aea 100644 --- a/client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx +++ b/client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx @@ -112,7 +112,7 @@ export const ImportApplicationsForm: React.FC = ({ - You should select a CSV/EXEL/ODS file. + {t("message.unsupportedFileType")}