diff --git a/src/widget/form/addfriendform.cpp b/src/widget/form/addfriendform.cpp index a1cd21c67..7bb796e33 100644 --- a/src/widget/form/addfriendform.cpp +++ b/src/widget/form/addfriendform.cpp @@ -149,14 +149,20 @@ void AddFriendForm::onIdChanged(const QString &id) bool isValidId = tId.isEmpty() || ToxId::isToxId(tId) || tId.contains(dnsIdExpression); QString toxIdText(tr("Tox ID", "Tox ID of the person you're sending a friend request to")); - QString toxIdComment(tr("it must have length of 76 hexadecimal characters or similar name@domain.com", "Tox ID format description")); + QString toxIdComment(tr("either 76 hexadecimal characters or name@domain.com", "Tox ID format description")); if(isValidId) { - toxIdLabel.setText(toxIdText + QStringLiteral(" (") + toxIdComment + QStringLiteral(")")); + toxIdLabel.setText(toxIdText + + QStringLiteral(" (") + + toxIdComment + + QStringLiteral(")")); } else { - toxIdLabel.setText(toxIdText + QStringLiteral(" (") + toxIdComment + QStringLiteral(")")); + toxIdLabel.setText(toxIdText + + QStringLiteral(" (") + + toxIdComment + + QStringLiteral(")")); } toxId.setStyleSheet(isValidId ? QStringLiteral("") : QStringLiteral("QLineEdit { background-color: #FFC1C1; }"));