Skip to content

Commit c0c3c0b

Browse files
author
shevijacobson
committed
Edit unsupported file type message for uploads
Signed-off-by: shevijacobson <shevi214375552>
1 parent d227e1c commit c0c3c0b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

client/public/locales/en/translation.json

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
"duplicateTag": "A tag with this name already exists. Use a different name.",
193193
"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.",
194194
"importErrorCheckDocumentation": "For status Error imports, check the documentation to ensure your file is structured correctly.",
195+
"unsupportedFileType": "Unsupported file type. Only Excel, ODS, and CSV files are allowed.",
195196
"insecureTracker": "Insecure mode deactivates certificate verification. Use insecure mode for instances that have self-signed certificates.",
196197
"inheritedReviewTooltip": "This application is inheriting a review from an archetype.",
197198
"inheritedReviewTooltip_plural": "This application is inheriting reviews from {{count}} archetypes.",

client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const ImportApplicationsForm: React.FC<ImportApplicationsFormProps> = ({
112112
<FormHelperText>
113113
<HelperText>
114114
<HelperTextItem variant="error">
115-
You should select a CSV/EXEL/ODS file.
115+
{t("message.unsupportedFileType")}
116116
</HelperTextItem>
117117
</HelperText>
118118
</FormHelperText>

0 commit comments

Comments
 (0)