Browse Source

chore: cleanup

AnsonZnl 3 years ago
parent
commit
e7654991a9
1 changed files with 3 additions and 7 deletions
  1. 3 7
      src/components/SelectLang/index.jsx

+ 3 - 7
src/components/SelectLang/index.jsx

@@ -4,19 +4,15 @@ import { Icon, Menu, Dropdown } from 'ant-design-vue'
 import { i18nRender } from '@/locales'
 import i18nMixin from '@/store/i18n-mixin'
 
-const locales = ['zh-CN', 'zh-TW', 'en-US', 'pt-BR']
+const locales = ['zh-CN', 'en-US']
 const languageLabels = {
   'zh-CN': '简体中文',
-  'zh-TW': '繁体中文',
-  'en-US': 'English',
-  'pt-BR': 'Português'
+  'en-US': 'English'
 }
 // eslint-disable-next-line
 const languageIcons = {
   'zh-CN': '🇨🇳',
-  'zh-TW': '🇭🇰',
-  'en-US': '🇺🇸',
-  'pt-BR': '🇧🇷'
+  'en-US': '🇺🇸'
 }
 
 const SelectLang = {