forgejo/docs/content/doc/advanced
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
..
adding-legal-pages.en-us.md
clone-filter.en-us.md
cmd-embedded.en-us.md
config-cheat-sheet.en-us.md Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2022-04-03 17:46:48 +08:00
config-cheat-sheet.zh-cn.md Support ignore all santize for external renderer (#18984) 2022-03-06 16:41:54 +08:00
customizing-gitea.en-us.md Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2022-04-03 17:46:48 +08:00
customizing-gitea.zh-cn.md
environment-variables.en-us.md
environment-variables.zh-cn.md
external-renderers.en-us.md Add example to render html files (#18736) 2022-02-14 21:56:17 +08:00
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md Refactor Router Logger (#17308) 2022-01-20 19:41:25 +08:00
mail-templates-us.md
make.fr-fr.md
make.zh-cn.md
protected-tags.en-us.md
repo-indexer.en-us.md
repo-mirror.en-us.md
search-engines-indexation.en-us.md
signing.en-us.md
third-party-tools.zh-cn.md