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.
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.
2 years ago
..
setting Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
avatar.go Move user related model into models/user (#17781) 3 years ago
home.go Move organization related structs into sub package (#18518) 2 years ago
home_test.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
notification.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
package.go Fix container download counter (#19287) 2 years ago
profile.go Fix global packages enabled avaiable (#19276) 2 years ago
task.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago