diff options
author | Eder Diego de Sousa <me@diego.dev.br> | 2022-07-20 11:56:15 -0300 |
---|---|---|
committer | Eder Diego de Sousa <me@diego.dev.br> | 2022-07-20 11:56:15 -0300 |
commit | ce6d3443f224da9099ea7289a1f56a81442bd9f7 (patch) | |
tree | 156439abef26fafd82252376dc215e02ace3d481 | |
parent | 9e7ca99218cb7176d27a7a2271294e976d885ccd (diff) | |
download | trackermap-web-ce6d3443f224da9099ea7289a1f56a81442bd9f7.tar.gz trackermap-web-ce6d3443f224da9099ea7289a1f56a81442bd9f7.tar.bz2 trackermap-web-ce6d3443f224da9099ea7289a1f56a81442bd9f7.zip |
Localizing DropzoneArea
-rw-r--r-- | modern/src/settings/CalendarPage.js | 1 | ||||
-rw-r--r-- | modern/src/settings/DevicePage.js | 1 | ||||
-rw-r--r-- | web/l10n/en.json | 3 |
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" } |