diff --git a/i18n/zh/code.json b/i18n/zh/code.json index f55d0febb..a73065a45 100644 --- a/i18n/zh/code.json +++ b/i18n/zh/code.json @@ -5,6 +5,12 @@ "View All": { "message": "查看全部" }, + "Return Home": { + "message": "返回首页" + }, + "View Documentation": { + "message": "查看文档" + }, "Last updated on": { "message": "上次更新于" }, diff --git a/src/theme/NotFound/Content/index.js b/src/theme/NotFound/Content/index.js index 3b2eb5209..89f25c1e7 100644 --- a/src/theme/NotFound/Content/index.js +++ b/src/theme/NotFound/Content/index.js @@ -1,6 +1,7 @@ import React from "react"; import Link from "@docusaurus/Link"; -import styles from "./styles.module.css"; // we will create this next +import Translate from "@docusaurus/Translate"; +import styles from "./styles.module.css"; export default function NotFoundContent({ className }) { return ( @@ -8,9 +9,21 @@ export default function NotFoundContent({ className }) {
- The requested resource could not be located on this server.
+
- Chinese documentation is currently unavailable. -
-
- Please refer to our{" "}
-
- English documentation
- {" "}
- for comprehensive project information.
+