From 3fc465ba5ea521cdb72972d12418b09dfb51a51c Mon Sep 17 00:00:00 2001 From: zeripath Date: Thu, 28 Oct 2021 08:05:00 +0100 Subject: [PATCH] Fix mispelling of starred as stared (#17465) There was a recent spelling mistake added to the locale file where stared was used instead of starred. This PR changes this to starred. Signed-off-by: Andrew Thornton Co-authored-by: wxiaoguang --- options/locale/locale_en-US.ini | 2 +- routers/web/feed/convert.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 309ff99c43..c1762799eb 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2786,7 +2786,7 @@ publish_release = `released "%[4]s" at %[4]s for %[3]s#%[2]s` review_dismissed_reason = Reason: create_branch = created branch %[3]s in %[4]s -stared_repo = stared %[2]s +starred_repo = starred %[2]s watched_repo = started watching %[2]s [tool] diff --git a/routers/web/feed/convert.go b/routers/web/feed/convert.go index 8fd8a6c6b7..dfb03785a6 100644 --- a/routers/web/feed/convert.go +++ b/routers/web/feed/convert.go @@ -83,7 +83,7 @@ func feedActionsToFeedItems(ctx *context.Context, actions []*models.Action) (ite case models.ActionPullReviewDismissed: title += ctx.Tr("action.review_dismissed", act.GetRepoLink(), act.GetIssueInfos()[0], act.ShortRepoPath(), act.GetIssueInfos()[1]) case models.ActionStarRepo: - title += ctx.Tr("action.stared_repo", act.GetRepoLink(), act.GetRepoPath()) + title += ctx.Tr("action.starred_repo", act.GetRepoLink(), act.GetRepoPath()) link = &feeds.Link{Href: act.GetRepoLink()} case models.ActionWatchRepo: title += ctx.Tr("action.watched_repo", act.GetRepoLink(), act.GetRepoPath())