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(#999): add tips for tag no description
haitao(lj)dbc5c753aef3
diff --git a/ui/src/i18n/locales/en.json b/ui/src/i18n/locales/en.jsonindex 399fb297..8eb63d44 100644--- a/ui/src/i18n/locales/en.json+++ b/ui/src/i18n/locales/en.json@@ -332,6 +332,7 @@"button_following": "Following","tag_label": "questions","search_placeholder": "Filter by tag name",+ "no_description": "The tag has no description","more": "More"},"ask": {diff --git a/ui/src/pages/Tags/Detail/index.tsx b/ui/src/pages/Tags/Detail/index.tsxindex 51d4ab7e..4a6e14b4 100644--- a/ui/src/pages/Tags/Detail/index.tsx+++ b/ui/src/pages/Tags/Detail/index.tsx@@ -70,7 +70,7 @@ const Questions: FC = () => {</h3><p className="text-break">- {tagInfo.excerpt}+ {tagInfo.excerpt || t('no_description')}<Link to={`/tags/${curTagName}/info`}> [{t('more')}]</Link></p>