Commit Graph

4 Commits (274523baf43ce588e18c2f557d1b82afefbe8dd4)

Author SHA1 Message Date
Gusted d55a0b7238
Refactor `i18n` to `locale` ()
* 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
wxiaoguang e0273bad72
Fix i18n for Link Account button, re-format tmpl ()
Mai-Lapyst 4698a1ec47
Adding button to link accounts from user settings ()
* Adding button to link accounts from user settings

* Only display button to link user accounts when at least one OAuth2 provider is active
Lunny Xiao de8e3948a5
Refactor auth package ()