docs: fix typos in code comments (#39968)

- `models/asymkey/error.go`: `IsErrGPGKeyIDAlreadyUsed` doc named the
wrong type (`ErrKeyNameAlreadyUsed` → `ErrGPGKeyIDAlreadyUsed`)
- `modules/lfs/http_client.go`: `batchs` → `batches`
- `routers/web/repo/milestone.go`: `edting` → `editing` (x2), `for
change` → `for changing`

Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>
This commit is contained in:
Léon Simmons authored and GitHub committed 2026-10-23 22:41:08 +00:00
1 parent a2da5cd7b5
commit efd69ab1ff
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -135,7 +135,7 @@ func NewMilestonePost(ctx *context.Context) {
ctx.Redirect(ctx.Repo.RepoLink + "/milestones")
}
// EditMilestone render edting milestone page
// EditMilestone render editing milestone page
func EditMilestone(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.milestones.edit")
ctx.Data["PageIsMilestones"] = true
@@ -158,7 +158,7 @@ func EditMilestone(ctx *context.Context) {
ctx.HTML(http.StatusOK, tplMilestoneNew)
}
// EditMilestonePost response for edting milestone
// EditMilestonePost response for editing milestone
func EditMilestonePost(ctx *context.Context) {
form := web.GetForm[*forms.CreateMilestoneForm](ctx)
ctx.Data["Title"] = ctx.Tr("repo.milestones.edit")
@@ -198,7 +198,7 @@ func EditMilestonePost(ctx *context.Context) {
ctx.Redirect(ctx.Repo.RepoLink + "/milestones")
}
// ChangeMilestoneStatus response for change a milestone's status
// ChangeMilestoneStatus response for changing a milestone's status
func ChangeMilestoneStatus(ctx *context.Context) {
var toClose bool
switch ctx.PathParam("action") {