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.
gitea/templates
wxiaoguang 7681d582cd
Refactor locale number (#24134)
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>

![image](https://user-images.githubusercontent.com/2114189/232179420-b1b9974b-9d96-4408-b209-b80182c8b359.png)


![image](https://user-images.githubusercontent.com/2114189/232179416-14f36aa0-3f3e-4ac9-b366-7bd3a4464a11.png)

</details>
2 years ago
..
admin Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Show friendly 500 error page to users and developers (#24110) 2 years ago
code Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
custom
devtest Refactor locale number (#24134) 2 years ago
explore Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
mail Remove incorrect HTML self close tag (#23748) 2 years ago
org Fix admin team access mode value in team_unit table (#24012) 2 years ago
package Remove untranslatable `on_date` key (#24106) 2 years ago
projects Refactor locale number (#24134) 2 years ago
repo Refactor locale number (#24134) 2 years ago
shared Add monospace toggle button to textarea (#24034) 2 years ago
status Show friendly 500 error page to users and developers (#24110) 2 years ago
swagger Add activity feeds API (#23494) 2 years ago
user Refactor locale number (#24134) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago