accounts-frontend/packages/app/i18n/index.ts

27 lines
543 B
TypeScript
Raw Normal View History

2020-06-04 22:40:39 +05:30
/**
* This is a stub file for locales index. When you execute `yarn i18n:pull`,
* the index.js file will be generated and webpack will load it first.
*/
export interface Locale {
code: string;
name: string;
englishName: string;
progress: number;
isReleased: boolean;
}
2020-06-04 23:33:24 +05:30
export type LocalesList = Record<string, Locale>;
const langs: LocalesList = {
2020-06-04 22:40:39 +05:30
en: {
code: 'en',
name: 'English',
englishName: 'English',
progress: 100,
isReleased: true,
},
};
export default langs;