// 语言配置数据
export const langList = {
  en: { name: 'ENGLISH', flag: '/src/assets/images/lang_EN.jpg' },
  cn: { name: '中文简体', flag: '/src/assets/images/lang_CN.jpg' },
  zhHant: { name: '中文繁体', flag: '/src/assets/images/lang_CN.jpg' },
  vn: { name: 'Tiếng Việt', flag: '/src/assets/images/lang_VN.jpg' },
  de: { name: 'Deutsch', flag: '/src/assets/images/lang_DE.jpg' },
  es: { name: 'Español', flag: '/src/assets/images/lang_ES.jpg' },
  id: { name: 'Indonesian', flag: '/src/assets/images/lang_Indonesian.jpg' },
  ms: { name: 'Melayu', flag: '/src/assets/images/lang_MS.jpg' },
  th: { name: 'ภาษาไทย', flag: '/src/assets/images/lang_TH.jpg' },
  ar: { name: 'العربية', flag: '/src/assets/images/lang_AR.jpg' },
  ko: { name: '한국어', flag: '/src/assets/images/lang_ko.png' },
  pt: { name: 'Português', flag: '/src/assets/images/lang_PT.png' },
  fa: { name: 'زبان پارسی', flag: '/src/assets/images/lang_FA.png' },
  tr: { name: 'Türkçe', flag: '/src/assets/images/lang_TR.png' },
}

// 语言选项数组（用于v-for）
export const languageOptions = Object.entries(langList).map(([code, lang]) => ({
  code,
  name: lang.name,
  flag: lang.flag,
}))
