mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 01:48:28 +00:00
中文支持,设置defaultLocale = 'zh-cn' 后,一切按照正常的业务逻辑运行。但是代码逻辑尚未理清。
This commit is contained in:
parent
53493d5c56
commit
90a54781ef
@ -21,7 +21,7 @@ for (const [path, loader] of Object.entries(locFiles)) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const defaultLocale = 'en';
|
const defaultLocale = 'zh-cn';
|
||||||
const languages: Record<string, string> = _languages;
|
const languages: Record<string, string> = _languages;
|
||||||
|
|
||||||
const config: Config<{
|
const config: Config<{
|
||||||
|
Loading…
Reference in New Issue
Block a user