summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2013-12-08 21:46:19 (GMT)
committerKevin Smith <git@kismith.co.uk>2013-12-08 21:46:19 (GMT)
commit8cf453060fb5d7b494947cb627a4ca31ba8c937c (patch)
tree34789fe144d77f534eb2f82b6d06b3177e7f5302 /Swift/QtUI
parent71dfdf25df27af0744e5d5ad2251397fa2bf48e5 (diff)
downloadswift-8cf453060fb5d7b494947cb627a4ca31ba8c937c.zip
swift-8cf453060fb5d7b494947cb627a4ca31ba8c937c.tar.bz2
Wordsmithing of previous patch
Change-Id: I9b56a13e3fa01bb5780b4293b5fe51b72e218032
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/Roster/QtRosterWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/Roster/QtRosterWidget.cpp b/Swift/QtUI/Roster/QtRosterWidget.cpp
index b9bc751..1436c7c 100644
--- a/Swift/QtUI/Roster/QtRosterWidget.cpp
+++ b/Swift/QtUI/Roster/QtRosterWidget.cpp
@@ -101,8 +101,8 @@ void QtRosterWidget::contextMenuEvent(QContextMenuEvent* event) {
}
else if (unblockContact && result == unblockContact) {
if (contact->blockState() == ContactRosterItem::IsDomainBlocked) {
- QMessageBox messageBox(QMessageBox::Question, tr("Swift"), tr("You've blocked everyone on the %1 domain, including %2.\nYou can't just unblock %2. Do you want to unblock the complete %1 domain?.").arg(P2QSTRING(contact->getJID().getDomain()), P2QSTRING(contact->getJID().toString())), QMessageBox::NoButton, this);
- QPushButton *unblockDomainButton = messageBox.addButton(tr("Unblock %1 domain").arg(P2QSTRING(contact->getJID().getDomain())), QMessageBox::AcceptRole);
+ QMessageBox messageBox(QMessageBox::Question, tr("Swift"), tr("%2 is currently blocked because of a block on all users of the %1 service.\n %2 cannot be unblocked individually; do you want to unblock all %1 users?").arg(P2QSTRING(contact->getJID().getDomain()), P2QSTRING(contact->getJID().toString())), QMessageBox::NoButton, this);
+ QPushButton* unblockDomainButton = messageBox.addButton(tr("Unblock %1 domain").arg(P2QSTRING(contact->getJID().getDomain())), QMessageBox::AcceptRole);
messageBox.addButton(QMessageBox::Abort);
messageBox.exec();