Skip to content

Commit 9b44671

Browse files
committed
fix(local-unit): udpate file name in import modal
1 parent 7cb6d04 commit 9b44671

File tree

2 files changed

+5
-5
lines changed
  • app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyLocalUnits/LocalUnitImportModal

2 files changed

+5
-5
lines changed

app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyLocalUnits/LocalUnitImportModal/i18n.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"namespace": "localUnitImportModal",
33
"strings": {
44
"modalHeading": "Import Local Units for {countryName}",
5-
"modalDescription": "Please select a local unit type and upload the CSV file",
5+
"modalDescription": "Please select a local unit type and upload the xlsx file",
66
"modalImportPendingDescription": "Your file is currently being processed. You can close this modal and check the result from the upload history",
77
"closeButtonLabel": "Close",
88
"localUnitTypeInputLabel": "Local unit type",
9-
"uploadFileSectionTitle": "Upload CSV file",
10-
"uploadFileSectionDescription": "Please make sure to select a supported file format (csv) with size less than 10MB",
9+
"uploadFileSectionTitle": "Upload xlsx file",
10+
"uploadFileSectionDescription": "Please make sure to select a supported file format (xlsx) with size less than 10MB",
1111
"selectFileButtonLabel": "Select a file",
1212
"cancelUploadButtonLabel": "Cancel",
1313
"startUploadButtonLabel": "Upload",
14-
"contentStructureDescription": "The contents in the CSV should follow the structure provided in {templateLink}.",
14+
"contentStructureDescription": "The contents in the xlsx should follow the structure provided in {templateLink}.",
1515
"templateLinkLabel": "this template",
1616
"noPermissionBothDescription": "You don't have permission and this unit is not externally managed.",
1717
"noPermissionErrorDescription": "You do not have the permission to upload local unit data",

app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyLocalUnits/LocalUnitImportModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function LocalUnitBulkUploadModal(props: Props) {
258258
{isNotDefined(bulkUploadFile) && (
259259
<RawFileInput
260260
name="file"
261-
accept=".csv"
261+
accept=".xlsx"
262262
onChange={setBulkUploadFile}
263263
variant="secondary"
264264
disabled={

0 commit comments

Comments
 (0)