Rephrase a British English wording for the base string
"X has put Y out of the room" is a British English style sentence. Which is fine, but I'm using en_US, not en_UK. Re-phrase this to sound a bit more American (which is the linguistic style we use for the base strings), and then count on the en_UK translators bringing back the old phrasing for en_UK.
This commit is contained in:
@@ -389,9 +389,9 @@ QString EventHandler::getBody(const NeoChatRoom *room, const Quotient::RoomEvent
|
|||||||
return i18n("left the room");
|
return i18n("left the room");
|
||||||
}
|
}
|
||||||
if (const auto &reason = e.contentJson()["reason"_L1].toString().toHtmlEscaped(); !reason.isEmpty()) {
|
if (const auto &reason = e.contentJson()["reason"_L1].toString().toHtmlEscaped(); !reason.isEmpty()) {
|
||||||
return i18n("has put %1 out of the room: %2", subjectName, reason);
|
return i18n("has removed %1 from the room: %2", subjectName, reason);
|
||||||
}
|
}
|
||||||
return i18n("has put %1 out of the room", subjectName);
|
return i18n("has removed %1 from the room", subjectName);
|
||||||
case Membership::Ban:
|
case Membership::Ban:
|
||||||
if (e.senderId() != e.userId()) {
|
if (e.senderId() != e.userId()) {
|
||||||
if (e.reason().isEmpty()) {
|
if (e.reason().isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user