2 Commits
Author SHA1 Message Date
lotherk f46a914c73 dtchat: add the message catalog and the German UI (T10.4)
i18n.c opens catopen("dtchat", NL_CAT_LOCALE) and dc_text(id, fallback) reads set 1; the program calls dc_i18n_init after setlocale. The visible labels of the main window, the account editor, the request/peer/file/pair dialogs and the local status texts use ui_text.h ids; dtchat.msg (English) has 75 entries and programs/localized/de_DE.UTF-8/msg/dtchat.msg the German copy (ASCII transliteration, core font). test_i18n builds both catalogs with gencat and checks File/Datei, Send/Senden and the fallback; the German run under Xvfb shows Datei/Bearbeiten/Ansicht/Konversation/Hilfe, In der Naehe and Senden (screenshot build/mcde-shots/dtchat-t104-de.png) and the smoke stays green. Dynamic formatted statuses are partly still English. The in-tree build is pending: a foreign release chain holds the lock (pid 141722).
2026-11-17 07:06:55 +00:00
lotherk 2e8d2b7e9b dtchat: add the Nearby section and peer details (T5.8, first part)
The roster now starts with the local peers from DcPeers (presence mark, blocked note), selecting one shows identity, fingerprint, address and state in the transcript, and a double-click opens the peer dialog with the Blocked toggle (applied at once via dc_peer_set_blocked). The demo model drops its old Nearby account in favour of two synthetic peers; --smoke-test selects alice-id, checks the fingerprint in the transcript and opens/closes the dialog. Standalone Motif build and both Xvfb smokes PASS; screenshot build/mcde-shots/dtchat-t58.png. The file send/receive part of T5.8 is still open. make mcde-host still blocked by pid 2126511 (sourcesets, 31 min).
2026-11-16 20:50:23 +00:00