main
Last change
on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 7 weeks ago |
add customer
|
-
Property mode
set to
100644
|
File size:
768 bytes
|
Line | |
---|
1 | 'use client';
|
---|
2 |
|
---|
3 | import merge from 'lodash/merge';
|
---|
4 | import { enUS as enUSAdapter } from 'date-fns/locale';
|
---|
5 | // core
|
---|
6 | import { enUS as enUSCore } from '@mui/material/locale';
|
---|
7 | // date-pickers
|
---|
8 | import { enUS as enUSDate } from '@mui/x-date-pickers/locales';
|
---|
9 |
|
---|
10 | // PLEASE REMOVE `LOCAL STORAGE` WHEN YOU CHANGE SETTINGS.
|
---|
11 | // ----------------------------------------------------------------------
|
---|
12 |
|
---|
13 | export const allLangs = [
|
---|
14 | {
|
---|
15 | label: 'English',
|
---|
16 | value: 'en',
|
---|
17 | systemValue: merge(enUSDate, enUSCore),
|
---|
18 | adapterLocale: enUSAdapter,
|
---|
19 | icon: 'flagpack:gb-nir',
|
---|
20 | },
|
---|
21 | ];
|
---|
22 |
|
---|
23 | export const defaultLang = allLangs[0]; // English
|
---|
24 |
|
---|
25 | // GET MORE COUNTRY FLAGS
|
---|
26 | // https://icon-sets.iconify.design/flagpack/
|
---|
27 | // https://www.dropbox.com/sh/nec1vwswr9lqbh9/AAB9ufC8iccxvtWi3rzZvndLa?dl=0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.