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.
Follow #21429 & #22861 Use `<gitea-locale-number>` instead of backend `PrettyNumber`. All old `PrettyNumber` related functions are removed. A lot of code could be simplified. And some functions haven't been used for long time (dead code), so they are also removed by the way (eg: `SplitStringAtRuneN`, `Dedent`) This PR only tries to improve the `PrettyNumber` rendering problem, it doesn't touch the "plural" problem. Screenshot: ![image](https://user-images.githubusercontent.com/2114189/229290804-1f63db65-1e34-4a54-84ba-e00b44331b17.png) ![image](https://user-images.githubusercontent.com/2114189/229290911-c88dea00-b11d-48dd-accb-9f52edd73ce4.png) |
1 year ago | |
---|---|---|
.. | ||
filebuffer | 2 years ago | |
error.go | 2 years ago | |
file_unix.go | 2 years ago | |
file_unix_test.go | 2 years ago | |
file_windows.go | 2 years ago | |
io.go | 1 year ago | |
keypair.go | 1 year ago | |
keypair_test.go | 1 year ago | |
legacy.go | 2 years ago | |
legacy_test.go | 2 years ago | |
pack.go | 2 years ago | |
pack_test.go | 2 years ago | |
paginate.go | 2 years ago | |
paginate_test.go | 2 years ago | |
path.go | 1 year ago | |
path_test.go | 1 year ago | |
remove.go | 2 years ago | |
sanitize.go | 2 years ago | |
sanitize_test.go | 2 years ago | |
sec_to_time.go | 2 years ago | |
sec_to_time_test.go | 2 years ago | |
shellquote.go | 2 years ago | |
shellquote_test.go | 2 years ago | |
slice.go | 2 years ago | |
slice_test.go | 2 years ago | |
string.go | 2 years ago | |
string_test.go | 2 years ago | |
timer.go | 2 years ago | |
truncate.go | 1 year ago | |
truncate_test.go | 1 year ago | |
url.go | 2 years ago | |
util.go | 1 year ago | |
util_test.go | 1 year ago |