From 5bd63f83e3c4ec507e33a2d5ddb8972a96fdf627 Mon Sep 17 00:00:00 2001 From: CaiCandong <50507092+CaiCandong@users.noreply.github.com> Date: Mon, 21 Aug 2023 21:11:07 +0800 Subject: [PATCH] Improve translation of milestone filters (#26569) https://github.com/go-gitea/gitea/issues/26567#issue-1855312074 > The terms `closest` and `furthest` don't describe the actual sorting behavior as these two are semantically relative to the current date. > Could we switch to `earliest` and `latest` instead? close #26567 --------- Co-authored-by: yp05327 <576951401@qq.com> Co-authored-by: Giteabot --- options/locale/locale_en-US.ini | 4 ++-- templates/repo/issue/milestones.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 2733f7df4df60..4ba7608aaa348 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1820,8 +1820,8 @@ milestones.edit_success = Milestone "%s" has been updated. milestones.deletion = Delete Milestone milestones.deletion_desc = Deleting a milestone removes it from all related issues. Continue? milestones.deletion_success = The milestone has been deleted. -milestones.filter_sort.closest_due_date = Closest due date -milestones.filter_sort.furthest_due_date = Furthest due date +milestones.filter_sort.earliest_due_data = Earliest due date +milestones.filter_sort.latest_due_date = Latest due date milestones.filter_sort.least_complete = Least complete milestones.filter_sort.most_complete = Most complete milestones.filter_sort.most_issues = Most issues diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl index b887a555aad9c..f714d774349eb 100644 --- a/templates/repo/issue/milestones.tmpl +++ b/templates/repo/issue/milestones.tmpl @@ -42,8 +42,8 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}}