- Reorganize project structure with new electron and shared directories - Add comprehensive i18n support with Chinese, English, and Japanese locales - Update build configurations and TypeScript paths for new structure - Add various UI components including chat interface and task management - Include Windows release binaries and localization files - Update dependencies and fix import paths throughout the codebase
23 lines
542 B
TypeScript
23 lines
542 B
TypeScript
export const SUPPORTED_LANGUAGE_CODES = ['en', 'zh', 'ja'] as const;
|
|
export type LanguageCode = (typeof SUPPORTED_LANGUAGE_CODES)[number];
|
|
|
|
export const SUPPORTED_LANGUAGES = [
|
|
{ code: 'en', label: 'English' },
|
|
{ code: 'zh', label: '中文' },
|
|
{ code: 'ja', label: '日本語' },
|
|
] as const;
|
|
|
|
// 命名空间定义
|
|
export const NAMESPACES = [
|
|
'common',
|
|
'conversation',
|
|
'setting',
|
|
'menu',
|
|
'login',
|
|
'dashboard',
|
|
'task',
|
|
'rate',
|
|
'knowledge',
|
|
'component',
|
|
] as const;
|
|
export type Namespace = (typeof NAMESPACES)[number]; |