Phase 7: languages
- Complete Spanish (neutral Latin American, Paraguay friendly, no inverted marks) and Dutch catalogs, including the Mini App and owner texts - Command menus per language in three scopes (private, group members, group admins); per-chat menus follow a user's /language and a group's /grouplang, from chat and from the Mini App - Bot name, description and short description per language, sent only when the catalog text changes (TELEGRAM_SET_PROFILE) - Dates from the catalog, numbers, sizes and durations per locale - Pseudo-locale en-XA generated from English (I18N_PSEUDO), owners only - Catalog checks: completeness, placeholders, tags, commands, plurals, Telegram length limits, untranslated text, unused and missing IDs - CI workflow; make i18n-check; docs/TRANSLATING.md - Test fix: the queued-download helper could match another chat's status Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4f11f939a0
commit
f1f9c6156c
@@ -40,6 +40,10 @@ and in groups. Written in Go on top of yt-dlp.
|
||||
buy a pass or credits with a QR invoice that notices the payment, resend
|
||||
from history, manage groups (settings, wallet, spending rules, usage by
|
||||
member) and personal preferences. It is embedded in the core binary.
|
||||
- English, Spanish and Dutch throughout: messages, buttons, command menus,
|
||||
the bot's profile texts and the Mini App, with numbers, sizes and dates
|
||||
in the language's own format. Each user's Telegram language is
|
||||
followed, and `/language` overrides it; `/grouplang` sets a group's.
|
||||
- Friendly, translated error messages. Raw tool output stays in the logs.
|
||||
|
||||
## Quick start with docker compose
|
||||
@@ -185,6 +189,7 @@ make test # tests only
|
||||
make e2e # real yt-dlp against a public test file, needs network
|
||||
make test-postgres PG_DSN=postgres://... # the same suite on Postgres
|
||||
make acceptance # kill a worker mid-job, watch the other finish
|
||||
make i18n-check # translation completeness and consistency only
|
||||
make miniapp # rebuild the Mini App front end after changing web/miniapp
|
||||
make miniapp-e2e # click through the Mini App in headless Chromium
|
||||
```
|
||||
@@ -202,6 +207,7 @@ change it. A test fails when `dist` is older than its sources.
|
||||
- [docs/OPERATIONS.md](docs/OPERATIONS.md): deploying and running it.
|
||||
- [docs/WORKERS.md](docs/WORKERS.md): adding download workers, tags, drain.
|
||||
- [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md): how the pieces fit.
|
||||
- [docs/TRANSLATING.md](docs/TRANSLATING.md): editing a catalog, adding a language.
|
||||
- [docs/ASSUMPTIONS.md](docs/ASSUMPTIONS.md): decisions and verified facts.
|
||||
|
||||
## Layout
|
||||
|
||||
Reference in New Issue
Block a user