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: welcome title

shuaid6081452668c
diff --git a/ui/src/pages/Questions/index.tsx b/ui/src/pages/Questions/index.tsx
index eec92f7b..e688ed91 100644
--- a/ui/src/pages/Questions/index.tsx
+++ b/ui/src/pages/Questions/index.tsx
@@ -11,6 +11,7 @@ import { siteInfoStore, loggedUserInfoStore } from '@/stores';
const Questions: FC = () => {
const { t } = useTranslation('translation', { keyPrefix: 'question' });
+ const { t: t2 } = useTranslation('translation');
const { user: loggedUser } = loggedUserInfoStore((_) => _);
const isIndexPage = useMatch('/');
let pageTitle = t('questions', { keyPrefix: 'page_title' });
@@ -33,8 +34,7 @@ const Questions: FC = () => {
<div className="card mb-4">
<div className="card-body">
<h5 className="card-title">
- {t('page_title', {
- keyPrefix: 'login',
+ {t2('website_welcome', {
site_name: siteInfo.name,
})}
</h5>