feat(web-panel): multi-locale i18n with selector + browser autodetect

- Add 6 locales (en-US source + ru-RU, de-DE, fr-FR, es-ES, zh-CN)
  matching the patcher's WPF UI; full .po catalogs incl. plural forms.
- Language selector in the left settings drawer; persist choice and
  auto-detect from navigator language on first load.
- Load .po directly via @lingui/vite-plugin (drop the compile step);
  gitignore generated catalog .js as build artifacts.
This commit is contained in:
kitbyte
2026-06-15 00:26:41 +03:00
parent 8c6d87671c
commit 4ce47dc6d2
14 changed files with 1831 additions and 21 deletions
+4
View File
@@ -0,0 +1,4 @@
# The web panel is the bundled frontend shipped inside the C# patcher.
# Mark it as vendored so GitHub Linguist keeps it out of the repository's
# language statistics — the project is a C# app, not a TypeScript one.
web-panel/** linguist-vendored