Files
Telegram-iOS/submodules
isaacisaacClaude Opus 4.8
35711ec6ad Localize rich-text message preview labels; split audio into voice/music
Thread PresentationStrings through RichText/InstantPageBlock/InstantPage
previewText(), replacing the hardcoded //TODO:localize placeholders
("Photo", "Fx", "Table", "Map", ...) with localized keys and reusing the
existing Message.Photo/Video/Location strings. Add RichTextPreview.Formula
("[formula]"), RichTextPreview.Table ("[table]"), and RichTextPreview.Music
("Music").

The .audio block previously rendered the wrong label (Message.Audio is
"Voice Message"). Thread InstantPage.media down so the block can resolve
media[id] as TelegramMediaFile and split: isVoice -> "Voice Message",
otherwise -> "Music", mirroring MessageContentKind's voice/music handling.

Update both previewText() call sites (MessageContentKind, ChatListItemStrings)
to pass strings, and complete the InstantPageListItem migration that was
left on the old signature.

Also remove the dead streaming-status ("Thinking...") rendering block from
ChatMessageTextBubbleContentNode (guarded by an always-false `!"".isEmpty`)
along with the now-orphaned streamingTextFrame layout machinery it fed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 00:18:24 +02:00
..
2026-05-31 17:35:32 +02:00
2026-05-28 16:50:05 +02:00
2026-03-10 00:38:36 +01:00
2026-05-28 16:50:05 +02:00
2026-06-04 01:44:36 +02:00
2026-02-06 17:14:35 +04:00
2026-06-02 13:31:23 +02:00
2026-05-28 16:50:05 +02:00
2026-05-31 17:35:32 +02:00
2025-12-26 20:29:30 +08:00
2025-12-27 16:34:51 +08:00
2025-12-20 03:02:08 +08:00
2026-03-24 16:47:36 +08:00
2026-04-17 09:06:14 +02:00
2026-02-15 22:50:18 +04:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-01-02 23:11:51 +08:00
2026-03-06 13:20:49 +01:00
2026-04-17 11:06:56 +02:00
2026-05-31 17:35:32 +02:00
2026-04-24 03:16:14 +02:00
2026-04-21 22:04:47 +04:00
2026-04-03 15:50:39 +08:00
2026-04-16 01:18:22 +02:00
2026-04-16 01:18:22 +02:00
2026-03-13 11:04:33 +01:00
2026-05-28 16:50:05 +02:00
2026-03-22 16:41:22 +01:00
2026-02-27 14:34:18 +04:00
2026-06-02 10:48:17 +02:00
2025-12-26 20:29:30 +08:00
2026-05-31 17:35:32 +02:00
2026-05-31 17:35:32 +02:00
2025-12-27 16:34:51 +08:00
2026-05-28 16:50:05 +02:00
2026-05-31 17:35:32 +02:00
2026-04-22 23:03:51 +02:00
2026-06-02 13:31:23 +02:00
2026-05-28 16:50:05 +02:00
2026-05-28 16:50:05 +02:00
2026-06-04 01:44:36 +02:00
2026-06-04 01:44:36 +02:00
2026-04-30 12:15:57 +04:00
2026-05-28 16:50:05 +02:00
2026-06-04 19:49:04 +02:00
2026-04-07 16:47:08 +02:00
2026-04-18 08:41:08 +02:00
2025-12-26 20:29:30 +08:00
2026-06-04 19:49:04 +02:00
2026-04-23 01:48:48 +02:00
2026-01-05 15:14:19 +04:00
Fix
2026-04-26 02:46:44 +04:00
2026-04-22 23:03:51 +02:00
2026-05-28 16:50:05 +02:00
2026-04-24 23:19:15 +04:00
2026-03-18 00:27:13 +01:00
2026-06-04 16:37:07 +02:00
2026-04-03 22:15:42 +08:00
2026-05-05 14:57:06 +02:00
2026-01-25 22:17:49 +04:00
WIP
2026-05-20 00:34:25 +08:00
2026-05-31 17:35:32 +02:00
2026-03-06 18:13:48 +01:00
Fix
2026-04-27 01:39:39 +02:00
2026-01-14 22:58:31 +04:00
2026-05-28 16:50:05 +02:00
2025-12-09 01:28:37 +04:00
2026-01-27 21:04:08 +08:00
2026-05-28 16:50:05 +02:00
2026-03-30 20:44:10 +08:00
2026-06-04 19:49:04 +02:00