1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 06:44:48 +01:00
gitea/modules/context
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
..
access_log.go
api_org.go
api_test.go
api.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
auth.go Respond with a 401 on git push when password isn't changed yet (#20026) 2022-06-19 20:23:00 +01:00
captcha.go
context.go Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
csrf.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 2022-04-08 13:21:05 +08:00
form.go
org.go Only show accessible teams in dashboard dropdown list (#19642) 2022-05-07 17:49:43 +02:00
package.go Fix org package owner permissions (#19742) 2022-05-19 17:56:45 +02:00
pagination.go Remove tab/TabName usage where it's not needed (#19973) 2022-06-15 23:05:32 +08:00
permission.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
private.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
repo.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
response.go
utils.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
xsrf_test.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 2022-04-08 13:21:05 +08:00
xsrf.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 2022-04-08 13:21:05 +08:00