From 632da9911e7132d4efc8d593824f9865e22e1280 Mon Sep 17 00:00:00 2001 From: shuai Date: Tue, 4 Apr 2023 18:10:02 +0800 Subject: [PATCH 1/2] fix: search list order btns --- ui/src/pages/Search/components/SearchHead/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/pages/Search/components/SearchHead/index.tsx b/ui/src/pages/Search/components/SearchHead/index.tsx index b80d0e33..9902603a 100644 --- a/ui/src/pages/Search/components/SearchHead/index.tsx +++ b/ui/src/pages/Search/components/SearchHead/index.tsx @@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next'; import { QueryGroup } from '@/components'; -const sortBtns = ['active', 'relevance', 'newest', 'score']; +const sortBtns = ['active', 'newest', 'relevance', 'score']; interface Props { count: number; From 4c7c6e9aefc86c8fd2788082e7dccdc2fc3d03da Mon Sep 17 00:00:00 2001 From: shuai Date: Thu, 6 Apr 2023 17:11:50 +0800 Subject: [PATCH 2/2] fix: unclear semantics of the text #304 --- i18n/en_US.yaml | 4 ++-- i18n/zh_CN.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml index 480e8a9c..5800297a 100644 --- a/i18n/en_US.yaml +++ b/i18n/en_US.yaml @@ -1435,8 +1435,8 @@ ui: no_data: "We couldn't find anything." users: title: Users - users_with_the_most_reputation: Users with the highest reputation scores - users_with_the_most_vote: Users who voted the most + users_with_the_most_reputation: Users with the highest reputation scores this week + users_with_the_most_vote: Users who voted the most this week staffs: Our community staff reputation: reputation votes: votes diff --git a/i18n/zh_CN.yaml b/i18n/zh_CN.yaml index deaf4cc8..4d603300 100644 --- a/i18n/zh_CN.yaml +++ b/i18n/zh_CN.yaml @@ -1363,8 +1363,8 @@ ui: no_data: "空空如也" users: title: 用户 - users_with_the_most_reputation: 信誉积分最高的用户 - users_with_the_most_vote: 投票最多的用户 + users_with_the_most_reputation: 本周信誉积分最高的用户 + users_with_the_most_vote: 本周投票最多的用户 staffs: 我们的社区工作人员 reputation: 声望值 votes: 投票