mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-21 08:01:41 +00:00
* feat(frontend): add English and Traditional Chinese locales * fix(frontend): capitalize the English login key label * fix(frontend): capitalize standalone English labels * feat(frontend): add reactive localization and refine admin layouts Replace DOM text translation with domain-based Vue I18n resources for English, Simplified Chinese, and Traditional Chinese. Localize shared controls, notifications, charts, and key usage while refining table alignment, menus, and compact labels. Expose semantic usage-window and trend-metric identifiers from the API. Pin the UI and workbench dependencies to published feature commits and preserve the original font defaults. Co-authored-by: Codex <noreply@openai.com> --------- Co-authored-by: Jimbb <14995924+jimbb@users.noreply.github.com> Co-authored-by: Zyy <zyycn@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
25 lines
556 B
TypeScript
25 lines
556 B
TypeScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import { i18n } from './i18n'
|
|
|
|
import { authPlugin } from './plugins/auth'
|
|
import { router } from './router'
|
|
import { pinia } from './stores'
|
|
import { useThemeStore } from './stores/modules/theme'
|
|
import '@fontsource-variable/inter'
|
|
import '@fontsource-variable/jetbrains-mono'
|
|
import '@codex-proxy/ui/styles.css'
|
|
|
|
import './styles/index.css'
|
|
|
|
const app = createApp(App)
|
|
|
|
app.use(pinia)
|
|
app.use(i18n)
|
|
|
|
useThemeStore(pinia).initializeTheme()
|
|
|
|
app.use(router)
|
|
app.use(authPlugin)
|
|
app.mount('#app')
|