Skip to content

Fix typos in code comments: doesnt, dont, wont#36890

Merged
lunny merged 3 commits intogo-gitea:mainfrom
crawfordxx:fix/comment-typos
Mar 13, 2026
Merged

Fix typos in code comments: doesnt, dont, wont#36890
lunny merged 3 commits intogo-gitea:mainfrom
crawfordxx:fix/comment-typos

Conversation

@crawfordxx
Copy link
Copy Markdown
Contributor

@crawfordxx crawfordxx commented Mar 12, 2026

Fix missing apostrophes in contractions across multiple source files.

Changes:

  • doesnt -> doesn't in routers/api/v1/repo/git_ref.go (2 occurrences)
  • dont -> don't in models/activities/notification_list.go, modules/indexer/code/bleve/token/path/path.go, routers/api/v1/repo/release.go, services/migrations/gitea_downloader.go, services/repository/contributors_graph.go
  • wont -> won't in routers/api/v1/repo/issue_subscription.go, models/issues/label_test.go

Ref: #35015 (good first issues - improve English)

Fix missing apostrophes in contractions across multiple source files:
- "doesnt" -> "doesn't" in git_ref.go
- "dont" -> "don't" in notification_list.go, path.go, release.go,
  gitea_downloader.go, contributors_graph.go
- "wont" -> "won't" in issue_subscription.go, label_test.go
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 12, 2026
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code labels Mar 12, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Mar 13, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 13, 2026
@lunny lunny merged commit 877f091 into go-gitea:main Mar 13, 2026
26 checks passed
@GiteaBot GiteaBot added this to the 1.26.0 milestone Mar 13, 2026
zjjhot added a commit to zjjhot/gitea that referenced this pull request Mar 18, 2026
* giteaofficial/main:
  [skip ci] Updated translations via Crowdin
  Update Nix flake (go-gitea#36902)
  Migrate fomantic `search` and `modal` CSS to first-party modules (go-gitea#36869)
  Feature: Add per-runner “Disable/Pause” (go-gitea#36776)
  Enable native dark mode for swagger-ui (go-gitea#36899)
  Front port changelog for 1.25.5 (go-gitea#36892)
  Fix typos in code comments: doesnt, dont, wont (go-gitea#36890)
  Vendor relative-time-element as local web component (go-gitea#36853)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants