mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-24 11:02:42 +00:00
Before, the `GiteaLocaleNumber.js` was just written as a a drop-in replacement for old `js-pretty-number`. Actually, we can use Golang's `text` package to format. This PR partially completes the TODOs in `GiteaLocaleNumber.js`: > if we have complete backend locale support (eg: Golang "x/text" package), we can drop this component. > tooltip: only 2 usages of this, we can replace it with Golang's "x/text/number" package in the future. This PR also helps #24131 Screenshots: <details>   </details> |
||
|---|---|---|
| .. | ||
| ambiguous | ||
| invisible | ||
| ambiguous.go | ||
| ambiguous_gen.go | ||
| ambiguous_gen_test.go | ||
| breakwriter.go | ||
| breakwriter_test.go | ||
| charset.go | ||
| charset_test.go | ||
| escape.go | ||
| escape_status.go | ||
| escape_stream.go | ||
| escape_test.go | ||
| htmlstream.go | ||
| invisible_gen.go | ||