0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00
logto/packages/phrases-ui/src/index.ts

25 lines
536 B
TypeScript
Raw Normal View History

import { NormalizeKeyPaths } from '@silverhand/essentials';
import en from './locales/en';
import fr from './locales/fr';
import koKR from './locales/ko-kr';
2022-09-02 00:23:54 +01:00
import ptPT from './locales/pt-pt';
import trTR from './locales/tr-tr';
import zhCN from './locales/zh-cn';
2022-09-23 15:44:45 +08:00
import { Resource, Translation } from './types';
2022-09-23 15:44:45 +08:00
export * from './types';
2022-09-23 15:44:45 +08:00
export type I18nKey = NormalizeKeyPaths<Translation>;
const resource: Resource = {
en,
fr,
2022-09-02 00:23:54 +01:00
'pt-PT': ptPT,
'zh-CN': zhCN,
'ko-KR': koKR,
'tr-TR': trTR,
};
export default resource;