summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-10-04 09:01:45 +0000
committerGitHub <noreply@github.com>2021-10-04 09:01:45 +0000
commitd567eb185d09e59c969eb8956322bc13b1491a30 (patch)
tree38e9e4a105d960a7b3491d543db1825d59545f88 /src
parentTranslated using Weblate (Indonesian) (diff)
parentFix some strings and translation stuff (diff)
downloadnheko-d567eb185d09e59c969eb8956322bc13b1491a30.tar.xz
Merge pull request #739 from LorenDB/stringFixes
Fix some strings and translation stuff
Diffstat (limited to 'src')
-rw-r--r--src/notifications/Manager.cpp10
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 &not } 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); } }