mirror of
https://github.com/iamxvbaba/gramsrv.git
synced 2026-11-19 05:16:55 +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.
10 lines
689 B
SQL
10 lines
689 B
SQL
-- Message effect: messages.sendMessage/sendMedia's effect:flags2.2?long, an
|
|
-- animation effect exclusive to 1-1 private chats (🎉/👍 etc., played on both the
|
|
-- sender's and receiver's side). All official clients only show the effect picker
|
|
-- in private chats and never render it for groups/channels, so only the two
|
|
-- private-chat tables are mirrored (shared body + per-owner inbox) and no column
|
|
-- is added to channel_messages. Mirrors the scalar-column style of
|
|
-- via_bot_id / grouped_id (bigint, 0 means no effect).
|
|
ALTER TABLE public.private_messages ADD COLUMN effect bigint DEFAULT 0 NOT NULL;
|
|
ALTER TABLE public.message_boxes ADD COLUMN effect bigint DEFAULT 0 NOT NULL;
|