fix(#999): add tips for tag no description

This commit is contained in:
haitao(lj) 2022-10-10 16:45:46 +08:00 committed by mingcheng
parent 324fe55d31
commit dbc5c753ae
2 changed files with 2 additions and 1 deletions

View File

@ -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": {

View File

@ -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>