Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: fix translation error

shuai7773a5bc46ac
diff --git a/i18n/zh_CN.yaml b/i18n/zh_CN.yaml
index 0e344c3e..83555b48 100644
--- a/i18n/zh_CN.yaml
+++ b/i18n/zh_CN.yaml
@@ -1153,7 +1153,7 @@ ui:
resend: 重新发送
deactivate: 取消激活
active: 激活
- suspend: 已封禁
+ suspend: 封禁
unsuspend: 解禁
close: 关闭
reopen: 重新打开
diff --git a/ui/src/pages/Admin/Dashboard/index.tsx b/ui/src/pages/Admin/Dashboard/index.tsx
index 0af6868c..3740531e 100644
--- a/ui/src/pages/Admin/Dashboard/index.tsx
+++ b/ui/src/pages/Admin/Dashboard/index.tsx
@@ -21,7 +21,6 @@ import { FC } from 'react';
import { Row, Col } from 'react-bootstrap';
import { useTranslation } from 'react-i18next';
-import { siteInfoStore } from '@/stores';
import { useDashBoard } from '@/services';
import {
@@ -33,7 +32,6 @@ import {
const Dashboard: FC = () => {
const { t } = useTranslation('translation', { keyPrefix: 'admin.dashboard' });
- const { name: siteName } = siteInfoStore((_) => _.siteInfo);
const { data } = useDashBoard();
if (!data) {