Skip to content

Commit e765499

Browse files
AnsonZnlsendya
authored andcommitted
chore: cleanup
1 parent 6f43b17 commit e765499

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/components/SelectLang/index.jsx

+3-7
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,15 @@ import { Icon, Menu, Dropdown } from 'ant-design-vue'
44
import { i18nRender } from '@/locales'
55
import i18nMixin from '@/store/i18n-mixin'
66

7-
const locales = ['zh-CN', 'zh-TW', 'en-US', 'pt-BR']
7+
const locales = ['zh-CN', 'en-US']
88
const languageLabels = {
99
'zh-CN': '简体中文',
10-
'zh-TW': '繁体中文',
11-
'en-US': 'English',
12-
'pt-BR': 'Português'
10+
'en-US': 'English'
1311
}
1412
// eslint-disable-next-line
1513
const languageIcons = {
1614
'zh-CN': '🇨🇳',
17-
'zh-TW': '🇭🇰',
18-
'en-US': '🇺🇸',
19-
'pt-BR': '🇧🇷'
15+
'en-US': '🇺🇸'
2016
}
2117

2218
const SelectLang = {

0 commit comments

Comments
 (0)