diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-09-30 21:24:28 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-10-01 12:29:54 -0400 |
commit | a6c3e3562cdb1519326cf6237d0aa4beaaebbbae (patch) | |
tree | 33593fa13c5fc0b722f3198adad3549670927f4c /src | |
parent | Translated using Weblate (Dutch) (diff) | |
download | nheko-a6c3e3562cdb1519326cf6237d0aa4beaaebbbae.tar.xz |
Fix some strings and translation stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/notifications/Manager.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/notifications/Manager.cpp b/src/notifications/Manager.cpp index f24a48ff..5d51c6c8 100644 --- a/src/notifications/Manager.cpp +++ b/src/notifications/Manager.cpp @@ -23,18 +23,12 @@ NotificationsManager::getMessageTemplate(const mtx::responses::Notification ¬ } if (mtx::accessors::msg_type(notification.event) == mtx::events::MessageType::Emote) { - return tr("* %1 %2", - "Format an emote message in a notification, %1 is the sender, %2 the " - "message") - .arg(sender); + return QString("* %1 %2").arg(sender); } else if (utils::isReply(notification.event)) { return tr("%1 replied: %2", "Format a reply in a notification. %1 is the sender, %2 the message") .arg(sender); } else { - return tr("%1: %2", - "Format a normal message in a notification. %1 is the sender, %2 the " - "message") - .arg(sender); + return QString("%1: %2").arg(sender); } } |