mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
feat: Optimize i18n keys and remove unused keys, supporting static files in I18nT (#2092)
* feat: packages web i18n * delete file * feat:i18n add i18nT * handle keys * delete unusedKeys * fix build * update dev.md
This commit is contained in:
3
packages/web/i18n/utils.ts
Normal file
3
packages/web/i18n/utils.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { I18nKeyFunction } from '../types/i18next';
|
||||
|
||||
export const i18nT: I18nKeyFunction = (key) => key;
|
Reference in New Issue
Block a user