mirror of
https://github.com/iamxvbaba/gramsrv.git
synced 2026-11-21 06:56:47 +03:00
b551a239f5
Translate all natural-language comments, log/diagnostic messages, SQL comments and config/doc prose from Chinese (and Russian) to English across the codebase (~840 files). Rebased on upstream main; upstream's newly added files are translated too. Locale resources and functional non-English data are left intact: language packs, admin/grammystore i18n bundles, localized docs, the officialBrandRE regex, seeded Russian premium-bot text, user-facing Russian bot strings and asserted Unicode test fixtures. A new internal/translation guard test fails if CJK/Cyrillic reappears in source outside that allowlist. No code, identifiers, struct tags or behavior changed (verified with an AST-level comment/string audit). go build ./..., go vet ./... and the guard pass.
7 lines
351 B
SQL
7 lines
351 B
SQL
-- pre_checkout_query is not tied to a message: the bot is asked before a payment
|
|
-- exists, so the update has neither a peer nor a message_id. It cannot be stored in
|
|
-- message columns; a separate payload is needed -- just as callback_query has its
|
|
-- own columns.
|
|
ALTER TABLE bot_api_updates
|
|
ADD COLUMN IF NOT EXISTS pre_checkout_payload jsonb;
|