import { mergeLocaleModules } from './merge-locales';
import localeSettings from './en-US/settings';

const componentLocales = mergeLocaleModules(
  import.meta.glob('@/components/**/locale/en-US.ts', { eager: true }),
);
const viewLocales = mergeLocaleModules(
  import.meta.glob('@/views/**/locale/en-US.ts', { eager: true }),
);

export default {
  'menu.dashboard': 'Dashboard',
  'menu.server.dashboard': 'Dashboard-Server',
  'menu.server.workplace': 'Workplace-Server',
  'menu.server.monitor': 'Monitor-Server',
  'menu.list': 'List',
  'menu.result': 'Result',
  'menu.exception': 'Exception',
  'menu.form': 'Form',
  'menu.profile': 'Profile',
  'menu.visualization': 'Data Visualization',
  'menu.user': 'User Center',
  'menu.arcoWebsite': 'Arco Design',
  'menu.faq': 'FAQ',
  'navbar.docs': 'Docs',
  'navbar.action.locale': 'Switch to English',
  ...localeSettings,
  ...componentLocales,
  ...viewLocales,
};
