Initial commit
This commit is contained in:
19
web/utils/language.ts
Normal file
19
web/utils/language.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
type Item = {
|
||||
value: number | string
|
||||
name: string
|
||||
}
|
||||
export const languages: Item[] = [
|
||||
{
|
||||
value: 'en-US',
|
||||
name: 'English(United States)',
|
||||
},
|
||||
{
|
||||
value: 'zh-Hans',
|
||||
name: '简体中文',
|
||||
},
|
||||
]
|
||||
|
||||
export const languageMaps = {
|
||||
'en': 'en-US',
|
||||
'zh-Hans': 'zh-Hans',
|
||||
}
|
Reference in New Issue
Block a user