feat: Add base project structure with API and web components

This commit is contained in:
Ke Sun
2025-12-02 20:28:01 +08:00
parent f3de6d6cc9
commit c1adc62ec6
817 changed files with 111226 additions and 106 deletions

1230
web/src/i18n/en.ts Normal file

File diff suppressed because it is too large Load Diff

20
web/src/i18n/index.ts Normal file
View File

@@ -0,0 +1,20 @@
import i18n from 'i18next'
import { initReactI18next } from 'react-i18next'
import { en } from './en'
import { zh } from './zh'
i18n
.use(initReactI18next)
.init({
resources: {
en,
zh,
},
lng: 'en',
fallbackLng: 'en',
interpolation: {
escapeValue: false,
},
})
export default i18n

1337
web/src/i18n/zh.ts Normal file

File diff suppressed because it is too large Load Diff