gitea/routers/web/user/setting
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308)
Remove two unmaintained vendor packages `i18n` and `paginater`. Changes:
* Rewrite `i18n` package with a more clear fallback mechanism. Fix an unstable `Tr` behavior, add more tests.
* Refactor the legacy `Paginater` to `Paginator`, test cases are kept unchanged.

Trivial enhancement (no breaking for end users):
* Use the first locale in LANGS setting option as the default, add a log to prevent from surprising users.
2022-04-03 17:46:48 +08:00
..
security Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
account_test.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
account.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
adopt.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
applications.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
keys.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
oauth2.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
profile.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2022-04-03 17:46:48 +08:00