diff options
-rw-r--r-- | modern/src/settings/CalendarPage.js | 5 | ||||
-rw-r--r-- | modern/src/settings/DevicePage.js | 5 | ||||
-rw-r--r-- | web/l10n/en.json | 7 |
3 files changed, 2 insertions, 15 deletions
diff --git a/modern/src/settings/CalendarPage.js b/modern/src/settings/CalendarPage.js index d9cd895a..81273b6b 100644 --- a/modern/src/settings/CalendarPage.js +++ b/modern/src/settings/CalendarPage.js @@ -70,10 +70,7 @@ const CalendarPage = () => { filesLimit={1} onChange={handleFiles} alertSnackbarProps={components.MuiSnackbar.defaultProps} - getFileLimitExceedMessage={(filesLimit) => `${t('sharedMaxFileLimit')} ${t('sharedOnly')} ${filesLimit} ${t('sharedAllowed')}`} - getFileAddedMessage={(fileName) => `${t('sharedFile')} ${fileName} ${t('sharedSuccessfullyAdded')}`} - getFileRemovedMessage={(fileName) => `${t('sharedFile')} ${fileName} ${t('sharedRemoved')}`} - getDropRejectMessage={(file) => `${t('sharedFile')} ${file.name} ${t('sharedDropRejectFile')} ${file.size} ${t('sharedMegabytes')}`} + showAlerts={false} /> </AccordionDetails> </Accordion> diff --git a/modern/src/settings/DevicePage.js b/modern/src/settings/DevicePage.js index f3330040..7f33d1f8 100644 --- a/modern/src/settings/DevicePage.js +++ b/modern/src/settings/DevicePage.js @@ -155,10 +155,7 @@ const DevicePage = () => { filesLimit={1} onChange={handleFiles} alertSnackbarProps={components.MuiSnackbar.defaultProps} - getFileLimitExceedMessage={(filesLimit) => `${t('sharedMaxFileLimit')} ${t('sharedOnly')} ${filesLimit} ${t('sharedAllowed')}`} - getFileAddedMessage={(fileName) => `${t('sharedFile')} ${fileName} ${t('sharedSuccessfullyAdded')}`} - getFileRemovedMessage={(fileName) => `${t('sharedFile')} ${fileName} ${t('sharedRemoved')}`} - getDropRejectMessage={(file) => `${t('sharedFile')} ${file.name} ${t('sharedDropRejectFile')} ${file.size} ${t('sharedMegabytes')}`} + showAlerts={false} /> </AccordionDetails> </Accordion> diff --git a/web/l10n/en.json b/web/l10n/en.json index 163b0a05..2549a081 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -94,13 +94,6 @@ "sharedImport": "Import", "sharedColumns": "Columns", "sharedDropzoneText": "Drag and drop a file here or click", - "sharedSuccessfullyAdded": "successfully added", - "sharedRemoved": "removed", - "sharedMaxFileLimit": "Maximum allowed number of files exceeded.", - "sharedOnly": "Only", - "sharedAllowed": "allowed", - "sharedDropRejectFile": "was rejected. File type not supported. File is too big. Size limit is", - "sharedMegabytes": "megabytes", "attributeSpeedLimit": "Speed Limit", "attributePolylineDistance": "Polyline Distance", "attributeReportIgnoreOdometer": "Report: Ignore Odometer", |