diff --git a/src/components/widgets/Error404.astro b/src/components/widgets/Error404.astro index b77ceda..c068f87 100644 --- a/src/components/widgets/Error404.astro +++ b/src/components/widgets/Error404.astro @@ -2,23 +2,21 @@ import { getHomePermalink } from '~/utils/permalinks'; --- -
-
+
+
-

- Error - 404 +

+ Error + 404

-

Sorry, we couldn't find this page.

-

- But dont worry, you can find plenty of other things on our homepage. +

抱歉,我们找不到这个页面。

+

+ 别担心,您可以在我们的首页找到更多精彩内容。

- Back to homepage + 返回首页
diff --git a/src/i18n/languages.ts b/src/i18n/languages.ts index fda3df9..81f23b7 100644 --- a/src/i18n/languages.ts +++ b/src/i18n/languages.ts @@ -140,6 +140,12 @@ export const ui = { 'common.all': '全部', 'common.scrollToTop': '返回顶部', + // 404 页面 + 'error404.title': '404', + 'error404.message': '抱歉,我们找不到这个页面。', + 'error404.description': '别担心,您可以在我们的首页找到更多精彩内容。', + 'error404.backHome': '返回首页', + // 表单 'form.name': '姓名', 'form.email': '邮箱', @@ -869,6 +875,12 @@ export const ui = { 'common.all': 'All', 'common.scrollToTop': 'Back to Top', + // 404 Page + 'error404.title': '404', + 'error404.message': "Sorry, we couldn't find this page.", + 'error404.description': "But don't worry, you can find plenty of other things on our homepage.", + 'error404.backHome': 'Back to Homepage', + // Form 'form.name': 'Name', 'form.email': 'Email',