From 9e4d0ddc9bd8c8712f9390a5e33704f5c1c822a7 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Wed, 4 Aug 2021 23:01:08 +0200 Subject: [PATCH] Fix i18n argument --- src/messageeventmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messageeventmodel.cpp b/src/messageeventmodel.cpp index ba99acdde..ba46142cb 100644 --- a/src/messageeventmodel.cpp +++ b/src/messageeventmodel.cpp @@ -438,7 +438,7 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const if (evt.isRedacted()) { auto reason = evt.redactedBecause()->reason(); return (reason.isEmpty()) ? i18n("[This message was deleted]") - : i18n("[This message was deleted: %1]").arg(evt.redactedBecause()->reason()); + : i18n("[This message was deleted: %1]", evt.redactedBecause()->reason()); } return m_currentRoom->eventToString(evt, Qt::RichText);