mirror of
https://github.com/mue/mue.git
synced 2026-07-16 13:34:03 +02:00
feat(Language): add locale formatting option and update translations
This commit is contained in:
@@ -4,7 +4,7 @@ import { useT, useTranslation } from 'contexts/TranslationContext';
|
||||
import { MdOutlineOpenInNew, MdSearch, MdComputer } from 'react-icons/md';
|
||||
import { TextField, InputAdornment } from '@mui/material';
|
||||
|
||||
import { Radio } from 'components/Form/Settings';
|
||||
import { Radio, Checkbox } from 'components/Form/Settings';
|
||||
|
||||
import languages from '@/i18n/languages.json';
|
||||
|
||||
@@ -100,6 +100,13 @@ const LanguageOptions = () => {
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style={{ marginBottom: '16px' }}>
|
||||
<Checkbox
|
||||
name="localeFormatting"
|
||||
text={t('modals.main.settings.sections.language.locale_formatting')}
|
||||
category="other"
|
||||
/>
|
||||
</div>
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 16 }}>
|
||||
<TextField
|
||||
placeholder={t('modals.main.settings.sections.language.search')}
|
||||
|
||||
Reference in New Issue
Block a user