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: optimize the copy
shuai1871e2e580c6
diff --git a/i18n/en_US.yaml b/i18n/en_US.yamlindex 9587de24..da34fcb1 100644--- a/i18n/en_US.yaml+++ b/i18n/en_US.yaml@@ -828,7 +828,7 @@ ui:tag_wiki: tag wikicreate_tag: Create Tagedit_tag: Edit Tag- ask_a_question: Add Question+ ask_a_question: Create Questionedit_question: Edit Questionedit_answer: Edit Answersearch: Search@@ -1139,10 +1139,10 @@ ui:more: Morewiki: Wikiask:- title: Add Question+ title: Create Questionedit_title: Edit Questiondefault_reason: Edit question- default_first_reason: Add question+ default_first_reason: Create questionsimilar_questions: Similar questionsform:fields:@@ -1150,7 +1150,7 @@ ui:label: Revisiontitle:label: Title- placeholder: Be specific and imagine you're asking a question to another person+ placeholder: What's your topic? Be specific.msg:empty: Title cannot be empty.range: Title up to 150 characters@@ -1179,7 +1179,7 @@ ui:add_btn: Add tagcreate_btn: Create new tagsearch_tag: Search tag- hint: "Describe what your question is about, at least one tag is required."+ hint: "Describe what your content is about, at least one tag is required."no_result: No tags matchedtag_required_text: Required tag (at least one)header:@@ -1393,12 +1393,12 @@ ui:review: Your revision will show after review.sent_success: Sent successfullyrelated_question:- title: Related Questions+ title: Relatedanswers: answerslinked_question:- title: Linked Questions- description: Questions linked to- no_linked_question: No questions linked from this question.+ title: Linked+ description: Posts linked to+ no_linked_question: No contents linked from this content.invite_to_answer:title: Invite Peopledesc: Invite people you think can answer.@@ -1598,6 +1598,7 @@ ui:all_questions: All Questionsx_questions: "{{ count }} Questions"x_answers: "{{ count }} answers"+ x_posts: "{{ count }} Posts"questions: Questionsanswers: Answersnewest: Newestdiff --git a/i18n/zh_CN.yaml b/i18n/zh_CN.yamlindex fdc0958f..f1365b53 100644--- a/i18n/zh_CN.yaml+++ b/i18n/zh_CN.yaml@@ -817,7 +817,7 @@ ui:tag_wiki: 标签维基create_tag: 创建标签edit_tag: 编辑标签- ask_a_question: 提问题+ ask_a_question: 创建问题edit_question: 编辑问题edit_answer: 编辑回答search: 搜索@@ -1122,10 +1122,10 @@ ui:more: 更多wiki: 维基ask:- title: 新增问题+ title: 创建问题edit_title: 编辑问题default_reason: 编辑问题- default_first_reason: 新增问题+ default_first_reason: 创建问题similar_questions: 相似问题form:fields:@@ -1133,7 +1133,7 @@ ui:label: 修订版本title:label: 标题- placeholder: 请详细描述你的问题,想象你在问一个人+ placeholder: 你的主题是什么?请具体说明。msg:empty: 标题不能为空。range: 标题最多 150 个字符@@ -1161,7 +1161,7 @@ ui:add_btn: 添加标签create_btn: 创建新标签search_tag: 搜索标签- hint: "描述您的问题是关于什么,至少需要一个标签。"+ hint: "描述您的内容是关于什么,至少需要一个标签。"no_result: 没有匹配的标签tag_required_text: 必选标签(至少一个)header:@@ -1367,12 +1367,12 @@ ui:review: 您的修订将在审阅通过后显示。sent_success: 发送成功related_question:- title: 相关问题+ title: 相似answers: 个回答linked_question:- title: 关联的问题- description: 问题关联到- no_linked_question: 这个问题没有相关联的问题。+ title: 关联+ description: 帖子关联到+ no_linked_question: 没有与之关联的贴子。invite_to_answer:title: 受邀人desc: 邀请你认为可能知道答案的人。@@ -1564,6 +1564,7 @@ ui:all_questions: 全部问题x_questions: "{{ count }} 个问题"x_answers: "{{ count }} 个回答"+ x_posts: "{{ count }} 个帖子"questions: 问题answers: 回答newest: 最新diff --git a/ui/src/components/QuestionList/index.tsx b/ui/src/components/QuestionList/index.tsxindex 06e8fe9e..3d770dbe 100644--- a/ui/src/components/QuestionList/index.tsx+++ b/ui/src/components/QuestionList/index.tsx@@ -103,7 +103,9 @@ const QuestionList: FC<Props> = ({<h5 className="fs-5 text-nowrap mb-3 mb-md-0">{source === 'questions'? t('all_questions')- : t('x_questions', { count })}+ : source === 'linked'+ ? t('x_posts', { count })+ : t('x_questions', { count })}</h5><div className="d-flex flex-wrap"><QueryGroup