This commit is contained in:
Nicolas Werner 2022-04-01 01:09:45 +02:00
parent 6f8babc80b
commit 4e5e5d55eb
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -675,14 +675,11 @@ ChatPage::knockRoom(const QString &room,
reason = QInputDialog::getText( reason = QInputDialog::getText(
nullptr, nullptr,
tr("Knock on room"), tr("Knock on room"),
// clang-format off
failedJoin failedJoin
? tr( ? tr("You failed to join %1. You can try to knock, so that others can invite you in. Do you want to do so?\nYou may optionally provide a reason for others to accept your knock:").arg(room)
"You failed to join %1. You can try to knock, so that others can invite you in. Do you " : tr("Do you really want to knock on %1? You may optionally provide a reason for others to accept your knock:").arg(room),
"want to do so?\nYou may optionally provide a reason for others to accept your knock:") // clang-format on
.arg(room)
: tr("Do you really want to knock on %1? You may optionally provide a reason for others to "
"accept your knock:")
.arg(room),
QLineEdit::Normal, QLineEdit::Normal,
reason, reason,
&confirmed); &confirmed);