import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';
import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'solar:book-2-bold',
      order: 1001,
      title: $t('page.language.title'),
    },
    name: 'Translate',
    path: '/translate',
    children: [  
      {
        name: 'Language',
        path: '/language',
        component: () => import('#/views/language/index.vue'),
        meta: {
          affixTab: true,
          icon: 'lets-icons:order',
          title: $t('page.language.translationList'),
        },
      }
      
    ],
  },
];

export default routes;
