diff --git a/interface/.typesafe-i18n.json b/interface/.typesafe-i18n.json index ec8b6b5b6..a44dbec16 100644 --- a/interface/.typesafe-i18n.json +++ b/interface/.typesafe-i18n.json @@ -1,5 +1,5 @@ { - "adapter": "react", - "baseLocale": "pl", - "$schema": "https://unpkg.com/typesafe-i18n@5.20.0/schema/typesafe-i18n.json" -} \ No newline at end of file + "adapter": "react", + "baseLocale": "pl", + "$schema": "https://unpkg.com/typesafe-i18n@5.20.0/schema/typesafe-i18n.json" +} diff --git a/interface/src/framework/ap/APSettingsForm.tsx b/interface/src/framework/ap/APSettingsForm.tsx index ba5c116a2..6c8dcae2c 100644 --- a/interface/src/framework/ap/APSettingsForm.tsx +++ b/interface/src/framework/ap/APSettingsForm.tsx @@ -3,7 +3,7 @@ import { ValidateFieldsError } from 'async-validator'; import { range } from 'lodash'; import { Button, Checkbox, MenuItem } from '@mui/material'; -import SaveIcon from '@mui/icons-material/Save'; +import WarningIcon from '@mui/icons-material/Warning'; import CancelIcon from '@mui/icons-material/Cancel'; import { createAPSettingsValidator, validate } from '../../validators'; @@ -178,10 +178,10 @@ const APSettingsForm: FC = () => { {LL.CANCEL()} @@ -1229,11 +1229,11 @@ const DashboardData: FC = () => { {LL.CANCEL()} diff --git a/interface/src/project/SettingsApplication.tsx b/interface/src/project/SettingsApplication.tsx index 28e10aa38..435bd9c6d 100644 --- a/interface/src/project/SettingsApplication.tsx +++ b/interface/src/project/SettingsApplication.tsx @@ -5,7 +5,7 @@ import { useSnackbar } from 'notistack'; import { Box, Button, Checkbox, MenuItem, Grid, Typography, Divider, InputAdornment } from '@mui/material'; -import SaveIcon from '@mui/icons-material/Save'; +import WarningIcon from '@mui/icons-material/Warning'; import CancelIcon from '@mui/icons-material/Cancel'; import PowerSettingsNewIcon from '@mui/icons-material/PowerSettingsNew'; @@ -645,10 +645,10 @@ const SettingsApplication: FC = () => { {LL.CANCEL()} )} @@ -650,11 +655,11 @@ const SettingsCustomization: FC = () => { {LL.CANCEL()} diff --git a/interface/src/utils/useRest.ts b/interface/src/utils/useRest.ts index d1e95a5db..3fb73ee49 100644 --- a/interface/src/utils/useRest.ts +++ b/interface/src/utils/useRest.ts @@ -53,7 +53,7 @@ export const useRest = ({ read, update }: RestRequestOptions) => { if (response.status === 202) { setRestartNeeded(true); } else { - enqueueSnackbar(LL.SETTINGS_OF('') + ' ' + LL.SAVED(), { variant: 'success' }); + enqueueSnackbar(LL.UPDATED_OF(LL.SETTINGS_OF('')), { variant: 'success' }); } } catch (error) { const message = extractErrorMessage(error, LL.PROBLEM_UPDATING());