Grammar fixes
This commit is contained in:
@@ -134,16 +134,16 @@ class SpectralRoom : public Room {
|
|||||||
QString text{};
|
QString text{};
|
||||||
if (e.isRename()) {
|
if (e.isRename()) {
|
||||||
if (e.displayName().isEmpty())
|
if (e.displayName().isEmpty())
|
||||||
text = tr("cleared the display name");
|
text = tr("cleared their display name");
|
||||||
else
|
else
|
||||||
text = tr("changed the display name to %1")
|
text = tr("changed their display name to %1")
|
||||||
.arg(e.displayName().toHtmlEscaped());
|
.arg(e.displayName().toHtmlEscaped());
|
||||||
}
|
}
|
||||||
if (e.isAvatarUpdate()) {
|
if (e.isAvatarUpdate()) {
|
||||||
if (!text.isEmpty())
|
if (!text.isEmpty())
|
||||||
text += " and ";
|
text += " and ";
|
||||||
if (e.avatarUrl().isEmpty())
|
if (e.avatarUrl().isEmpty())
|
||||||
text += tr("cleared the avatar");
|
text += tr("cleared their avatar");
|
||||||
else if (e.prevContent()->avatarUrl.isEmpty())
|
else if (e.prevContent()->avatarUrl.isEmpty())
|
||||||
text += tr("set an avatar");
|
text += tr("set an avatar");
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user