-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move languages info to constants file
- Loading branch information
Showing
2 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/** | ||
* @type {Record<string, { name: string, shortName: string }>} | ||
*/ | ||
const languages = { | ||
yue: { | ||
name: '廣東話', | ||
shortName: '粵', | ||
}, | ||
eng: { | ||
name: '英文', | ||
shortName: '英', | ||
}, | ||
zho: { | ||
name: '中文', | ||
shortName: '中', | ||
}, | ||
jpn: { | ||
name: '日文', | ||
shortName: '日', | ||
}, | ||
kor: { | ||
name: '韓文', | ||
shortName: '韓', | ||
}, | ||
vie: { | ||
name: '越南文', | ||
shortName: '越', | ||
}, | ||
lzh: { | ||
name: '文言文', | ||
shortName: '文', | ||
}, | ||
por: { | ||
name: '葡萄牙文', | ||
shortName: '葡', | ||
}, | ||
deu: { | ||
name: '德文', | ||
shortName: '德', | ||
}, | ||
fra: { | ||
name: '法文', | ||
shortName: '法', | ||
}, | ||
mnc: { | ||
name: '滿文', | ||
shortName: '滿', | ||
}, | ||
lat: { | ||
name: '拉丁文', | ||
shortName: '拉', | ||
}, | ||
tib: { | ||
name: '藏文', | ||
shortName: '藏', | ||
}, | ||
量詞: { | ||
name: '量詞', | ||
shortName: '量詞', | ||
}, | ||
}; | ||
|
||
export { languages }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters