aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorEder Diego de Sousa <me@diego.dev.br>2022-07-20 11:56:15 -0300
committerEder Diego de Sousa <me@diego.dev.br>2022-07-20 11:56:15 -0300
commitce6d3443f224da9099ea7289a1f56a81442bd9f7 (patch)
tree156439abef26fafd82252376dc215e02ace3d481 /modern
parent9e7ca99218cb7176d27a7a2271294e976d885ccd (diff)
downloadtrackermap-web-ce6d3443f224da9099ea7289a1f56a81442bd9f7.tar.gz
trackermap-web-ce6d3443f224da9099ea7289a1f56a81442bd9f7.tar.bz2
trackermap-web-ce6d3443f224da9099ea7289a1f56a81442bd9f7.zip
Localizing DropzoneArea
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/CalendarPage.js1
-rw-r--r--modern/src/settings/DevicePage.js1
2 files changed, 2 insertions, 0 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}