Skip to content
Snippets Groups Projects
Unverified Commit d567eb18 authored by Nicolas Werner's avatar Nicolas Werner Committed by GitHub
Browse files

Merge pull request #739 from LorenDB/stringFixes

Fix some strings and translation stuff
parents c43c2bd4 a6c3e356
No related branches found
No related tags found
No related merge requests found
Pipeline #1853 failed
......@@ -29,7 +29,7 @@ Item {
anchors.rightMargin: 10
anchors.bottom: parent.bottom
color: Nheko.theme.red
text: qsTr("You will be pinging the whole room")
text: qsTr("You are about to notify the whole room")
textFormat: Text.PlainText
}
......
......@@ -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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment