You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
Gusted d55a0b7238
Refactor `i18n` to `locale` (#20153)
* Refactor `i18n` to `locale`

- Currently we're using the `i18n` variable naming for the `locale`
struct. This contains locale's specific information and cannot be used
for general i18n purpose, therefore refactoring it to `locale` makes
more sense.
- Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200

* Update routers/install/install.go
2 years ago
..
agit Add more linters to improve code readability (#19989) 2 years ago
asymkey Move issues related files into models/issues (#19931) 2 years ago
attachment Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
auth Add more linters to improve code readability (#19989) 2 years ago
automerge Add more linters to improve code readability (#19989) 2 years ago
comments Move issues related files into models/issues (#19931) 2 years ago
context Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
cron Make better use of i18n (#20096) 2 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Move issues related files into models/issues (#19931) 2 years ago
gitdiff Add more linters to improve code readability (#19989) 2 years ago
issue Add more linters to improve code readability (#19989) 2 years ago
lfs Move some code into models/git (#19879) 2 years ago
mailer Refactor `i18n` to `locale` (#20153) 2 years ago
migrations Add more linters to improve code readability (#19989) 2 years ago
mirror Always try to fetch repo for mirrors (#19975) 2 years ago
org Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
packages Package registry changes (#19305) 2 years ago
pull Add more linters to improve code readability (#19989) 2 years ago
release fix permission check for delete tag (#19985) 2 years ago
repository Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
task Add more linters to improve code readability (#19989) 2 years ago
user Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
webhook Add more linters to improve code readability (#19989) 2 years ago
wiki Move some helper files out of models (#19355) 2 years ago