Bug 491024

Summary: Nonsensical collapsed state messages
Product: [Applications] NeoChat Reporter: Tobias Fella <fella>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: state events

Description Tobias Fella 2024-07-30 12:55:43 UTC
Created attachment 172123 [details]
state events

see attachment
Comment 1 James Graham 2024-09-13 17:11:54 UTC
Git commit 67dfc7b32e4d8747b1e5e419cbdf0b8f7951f34d by James Graham.
Committed on 13/09/2024 at 17:11.
Pushed by nvrwhere into branch 'master'.

Fix Eventhandler strings for translation

Change the generic representations of events in event handler to always have a full string to aid translation.

The aggregated list is then converted to be a simple list of single event generic descriptions to avoid string puzzles.

Fixes network/neochat#638
Related: bug 466201

M  +11   -6    autotests/eventhandlertest.cpp
M  +105  -60   src/eventhandler.cpp
M  +1    -1    src/eventhandler.h
M  +1    -1    src/models/messageeventmodel.cpp
M  +7    -44   src/models/messagefiltermodel.cpp
M  +3    -4    src/timeline/StateDelegate.qml

https://invent.kde.org/network/neochat/-/commit/67dfc7b32e4d8747b1e5e419cbdf0b8f7951f34d