gitea/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
2022-06-27 15:58:46 -05:00
..
agit Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
asymkey Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
attachment Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
auth Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
automerge Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
comments Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
context Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
cron Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
externalaccount Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
forms Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
gitdiff Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
issue Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
lfs Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
mailer Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
migrations Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
mirror Always try to fetch repo for mirrors (#19975) 2022-06-15 23:58:44 +08:00
org Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
packages Package registry changes (#19305) 2022-04-06 03:32:09 +02:00
pull Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
release fix permission check for delete tag (#19985) 2022-06-16 22:03:03 +02:00
repository Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
task Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
user Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
webhook Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
wiki Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00