13 lines
303 B
TypeScript
13 lines
303 B
TypeScript
import localeZhCN from './langs/zh-cn';
|
|
import localeEnUS from './langs/en-us';
|
|
|
|
const fullZhCN = { ...localeZhCN, ...zhCN };
|
|
const fullEnUS = { ...localeEnUS, ...enUS };
|
|
|
|
const locales: Record<App.I18n.LangType, App.I18n.Schema> = {
|
|
'zh-CN': fullZhCN,
|
|
'en-US': fullEnUS
|
|
};
|
|
|
|
export default locales;
|