-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from beclab/feat/multi-language
feat: support multi-language
- Loading branch information
Showing
6 changed files
with
289 additions
and
82 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
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
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 |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import enUS from './en-US'; | ||
import zhCN from './zh-CN'; | ||
|
||
export default { | ||
'en-US': enUS | ||
'en-US': enUS, | ||
'zh-CN': zhCN | ||
}; | ||
|
||
export const defaultLanguage = 'en-US'; | ||
|
||
export const supportLanguages = [ | ||
{ value: 'en-US', label: 'English', enable: true }, | ||
{ value: 'zh-CN', label: '简体中文', enable: true } | ||
]; |
Oops, something went wrong.