aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/settings/CalendarPage.js1
-rw-r--r--modern/src/settings/DevicePage.js1
-rw-r--r--web/l10n/en.json3
3 files changed, 4 insertions, 1 deletions
diff --git a/modern/src/settings/CalendarPage.js b/modern/src/settings/CalendarPage.js
index 896a77c4..cd71e9aa 100644
--- a/modern/src/settings/CalendarPage.js
+++ b/modern/src/settings/CalendarPage.js
@@ -66,6 +66,7 @@ const CalendarPage = () => {
label={t('sharedName')}
/>
<DropzoneArea
+ dropzoneText={t('dropzoneText')}
filesLimit={1}
onChange={handleFiles}
alertSnackbarProps={components.MuiSnackbar.defaultProps}
diff --git a/modern/src/settings/DevicePage.js b/modern/src/settings/DevicePage.js
index d0d5dd5e..6998288c 100644
--- a/modern/src/settings/DevicePage.js
+++ b/modern/src/settings/DevicePage.js
@@ -150,6 +150,7 @@ const DevicePage = () => {
</AccordionSummary>
<AccordionDetails className={classes.details}>
<DropzoneArea
+ dropzoneText={t('dropzoneText')}
acceptedFiles={['image/*']}
filesLimit={1}
onChange={handleFiles}
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 615d2a86..7433b99c 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -517,5 +517,6 @@
"categoryVan": "Van",
"categoryScooter": "Scooter",
"maintenanceStart": "Start",
- "maintenancePeriod": "Period"
+ "maintenancePeriod": "Period",
+ "dropzoneText": "Drag and drop a file here or click"
}