fix bug
This commit is contained in:
@@ -64,7 +64,7 @@ const SiteInformation = () => {
|
||||
<NoMarginHelperText>{t("settings.customFooterHTMLDes")}</NoMarginHelperText>
|
||||
</FormControl>
|
||||
</SettingForm>
|
||||
<SettingForm title={t("settings.announcementEnabled")} lgWidth={5}>
|
||||
<SettingForm title={t("settings.announcementEnabled", "启用公告")} lgWidth={5}>
|
||||
<FormControl fullWidth>
|
||||
<Switch
|
||||
checked={isTrueVal(values.announcement_enabled)}
|
||||
@@ -74,10 +74,12 @@ const SiteInformation = () => {
|
||||
})
|
||||
}
|
||||
/>
|
||||
<NoMarginHelperText>{t("settings.announcementEnabledDes")}</NoMarginHelperText>
|
||||
<NoMarginHelperText>
|
||||
{t("settings.announcementEnabledDes", "启用后,用户登录时会看到公告弹窗")}
|
||||
</NoMarginHelperText>
|
||||
</FormControl>
|
||||
</SettingForm>
|
||||
<SettingForm title={t("settings.announcement")} lgWidth={5}>
|
||||
<SettingForm title={t("settings.announcement", "公告内容")} lgWidth={5}>
|
||||
<FormControl fullWidth>
|
||||
<DenseFilledTextField
|
||||
fullWidth
|
||||
@@ -87,7 +89,7 @@ const SiteInformation = () => {
|
||||
onChange={(e) => setSettings({ announcement: e.target.value })}
|
||||
disabled={false}
|
||||
/>
|
||||
<NoMarginHelperText>{t("settings.announcementDes")}</NoMarginHelperText>
|
||||
<NoMarginHelperText>{t("settings.announcementDes", "设置用户登录后看到的公告内容")}</NoMarginHelperText>
|
||||
</FormControl>
|
||||
</SettingForm>
|
||||
<SettingForm title={t("settings.tosUrl")} lgWidth={5}>
|
||||
|
||||
Reference in New Issue
Block a user