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: i18n key fix

shuai8415e120dfb2
diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index 9b1530c7..6daca3b7 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -297,8 +297,8 @@ ui:
upgrade: Answer Upgrade
maintenance: Website Maintenance
users: Users
- 404: HTTP Error 404
- 50X: HTTP Error 500
+ http_404: HTTP Error 404
+ http_50X: HTTP Error 500
notifications:
title: Notifications
inbox: Inbox
diff --git a/ui/src/pages/404/index.jsx b/ui/src/pages/404/index.jsx
index c4adcbe7..933972d4 100644
--- a/ui/src/pages/404/index.jsx
+++ b/ui/src/pages/404/index.jsx
@@ -19,7 +19,7 @@ const Index = () => {
}, []);
usePageTags({
- title: t('404', { keyPrefix: 'page_title' }),
+ title: t('http_404', { keyPrefix: 'page_title' }),
});
return (
<Container
diff --git a/ui/src/pages/50X/index.jsx b/ui/src/pages/50X/index.jsx
index 9ca0285e..33a8a693 100644
--- a/ui/src/pages/50X/index.jsx
+++ b/ui/src/pages/50X/index.jsx
@@ -19,7 +19,7 @@ const Index = () => {
}, []);
usePageTags({
- title: t('50X', { keyPrefix: 'page_title' }),
+ title: t('http_50X', { keyPrefix: 'page_title' }),
});
return (
<Container