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: add form text for install private

shuai41f7b1b9cd3a
diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index c28b0352..fabaaf3e 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -1262,6 +1262,7 @@ ui:
login_required:
label: Private
switch: Login required
+ text: Only logged in users can access this community.
admin_name:
label: Name
msg: Name cannot be empty.
diff --git a/ui/src/pages/Install/components/FourthStep/index.tsx b/ui/src/pages/Install/components/FourthStep/index.tsx
index 8e6e2b0e..c8d0eb2c 100644
--- a/ui/src/pages/Install/components/FourthStep/index.tsx
+++ b/ui/src/pages/Install/components/FourthStep/index.tsx
@@ -210,6 +210,7 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => {
});
}}
/>
+ <Form.Text>{t('login_required.text')}</Form.Text>
</Form.Group>
<h5>{t('admin_account')}</h5>