feat(i18n): 将前端用户可见中文硬编码改为四语言
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
dce915ea30
commit
ac7b53a523
105 files changed
+2928
-647
No files matched your search
@@ -1,5 +1,12 @@
|
||||
/**
|
||||
* config.ts
|
||||
* 用途:前端应用级开关与默认配置(登录模式、工作台模块、管理模块可见性)。
|
||||
* 依赖:无运行时依赖;应用标题通过 common.app.title i18n key 解析。
|
||||
* 逻辑:main.ts / router guards 使用 i18n.t(config.appTitleKey) 设置 document.title。
|
||||
*/
|
||||
export const config = {
|
||||
appTitle: '和信AI智能工作台',
|
||||
/** Browser title base name — resolve via i18n `t(config.appTitleKey)`. */
|
||||
appTitleKey: 'common.app.title',
|
||||
auth: {
|
||||
// Login mode switch:
|
||||
// - 'casdoor': submit username/password to backend Casdoor password-login API.
|
||||
|
||||
Reference in new issue
Block a user