import type { DropMenu } from '../components/Dropdown';
import type { LocaleSetting, LocaleType } from '/#/config';

export const LOCALE: { [key: string]: LocaleType } = {
  ZH_CN: 'zh_CN',
  JA: 'ja',
  // EN_US: 'en',
};

export const localeSetting: LocaleSetting = {
  showPicker: true,
  // Locale
  locale: LOCALE.JA,
  // Default locale
  fallback: LOCALE.JA,
  // available Locales
  availableLocales: [LOCALE.JA, LOCALE.ZH_CN],
};

// locale list
export const localeList: DropMenu[] = [
  {
    text: '日本語',
    event: LOCALE.JA,
  },
  {
    text: '简体中文',
    event: LOCALE.ZH_CN,
  },
  // {
  //   text: 'English',
  //   event: LOCALE.EN_US,
  // },
];
