Bug 491024 - Nonsensical collapsed state messages
Summary: Nonsensical collapsed state messages
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-30 12:55 UTC by Tobias Fella
Modified: 2024-09-13 17:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
state events (10.27 KB, image/png)
2024-07-30 12:55 UTC, Tobias Fella
Details

Note You need to log in before you can comment on or make changes to this bug.
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