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 BUG: 466201, BUG: 491024
This commit is contained in:
@@ -450,7 +450,7 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const
|
||||
}
|
||||
|
||||
if (role == GenericDisplayRole) {
|
||||
return EventHandler::genericBody(&evt);
|
||||
return EventHandler::genericBody(m_currentRoom, &evt);
|
||||
}
|
||||
|
||||
if (role == DelegateTypeRole) {
|
||||
|
||||
Reference in New Issue
Block a user