diff --git a/public/locales/en/setting.json b/public/locales/en/setting.json index 8b2c96f5..7840e993 100644 --- a/public/locales/en/setting.json +++ b/public/locales/en/setting.json @@ -21,9 +21,7 @@ "license": "License", "about": "About", "api_doc": "API Document", - "version": "About Version", - "terms": "Terms & Privacy", - "feedback": "Feedback" + "version": "Version" }, "channel": { "leave": "Leave Channel", diff --git a/public/locales/jp/setting.json b/public/locales/jp/setting.json index 56b0991a..df2badf8 100644 --- a/public/locales/jp/setting.json +++ b/public/locales/jp/setting.json @@ -18,9 +18,7 @@ "license": "ライセンス", "about": "このアプリについて", "api_doc": "APIドキュメント", - "version": "About Version", - "terms": "プライバシーに関する説明", - "feedback": "フィードバック" + "version": "Version" }, "channel": { "leave": "チャンネルを離れる", diff --git a/public/locales/zh/setting.json b/public/locales/zh/setting.json index acd22320..58a1fbd6 100644 --- a/public/locales/zh/setting.json +++ b/public/locales/zh/setting.json @@ -20,9 +20,7 @@ "license": "证书", "about": "关于", "api_doc": "API 文档", - "version": "版本信息", - "terms": "隐私声明", - "feedback": "反馈" + "version": "版本信息" }, "channel": { "leave": "离开", diff --git a/src/common/component/Version.tsx b/src/common/component/Version.tsx index 1404c4ef..5a3f2093 100644 --- a/src/common/component/Version.tsx +++ b/src/common/component/Version.tsx @@ -8,11 +8,16 @@ const Version: FC = () => { const { data: serverVersion } = useGetServerVersionQuery(); const ts = (process.env.REACT_APP_BUILD_TIME ?? 0) as number; return ( -
-
{t("client_version")}: {process.env.VERSION}
-
{t("server_version")}: {serverVersion}
-
{t("build_time")}: {ts} ({dayjs(ts * 1000).fromNow()})
-
+ ); }; export default Version; diff --git a/src/routes/setting/navs.tsx b/src/routes/setting/navs.tsx index 4a51ccbc..db586319 100644 --- a/src/routes/setting/navs.tsx +++ b/src/routes/setting/navs.tsx @@ -83,22 +83,6 @@ const navs = [ { name: "version", component: - }, - { - name: "terms", - component:
Terms & Privacy
- }, - { - name: "feedback", - component: } ] }