mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 23:55:36 +00:00
I18n Translations (#2267)
* rebase * i18n-1 * add error info i18n * fix * fix * refactor: 删除error.json * delete useI18n
This commit is contained in:
@@ -13,6 +13,7 @@ import { clearToken, setToken } from '@/web/support/user/auth';
|
||||
import Script from 'next/script';
|
||||
import Loading from '@fastgpt/web/components/common/MyLoading';
|
||||
import { useMount } from 'ahooks';
|
||||
import { t } from 'i18next';
|
||||
|
||||
const RegisterForm = dynamic(() => import('./components/RegisterForm'));
|
||||
const ForgetPasswordForm = dynamic(() => import('./components/ForgetPasswordForm'));
|
||||
@@ -115,7 +116,7 @@ const Login = () => {
|
||||
textAlign={'center'}
|
||||
onClick={onOpen}
|
||||
>
|
||||
无法登录,点击联系
|
||||
{t('common:support.user.login.can_not_login')}
|
||||
</Box>
|
||||
)}
|
||||
</Flex>
|
||||
|
Reference in New Issue
Block a user