From 2e5e0b5e1292b76acf1b78492b0187e8a94b4d13 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Fri, 23 Jun 2023 14:07:05 +0200 Subject: [PATCH] Fix misleading message (#10944) * Fix misleading message Some servers do not provide activities at all. In that case, the label should not read "have activities enabled", because that implies that they could be provided, but are disabled. Which is misleading. Fixes: #10814 * Update src/gui/activitywidget.cpp Co-authored-by: Hannah von Reth --------- Co-authored-by: Hannah von Reth --- src/gui/activitywidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp index 4e6d4fdb55c..80cdb0d2dc9 100644 --- a/src/gui/activitywidget.cpp +++ b/src/gui/activitywidget.cpp @@ -155,7 +155,7 @@ void ActivityWidget::showLabels() t.clear(); QSetIterator i(_accountsWithoutActivities); while (i.hasNext()) { - t.append(tr("
Account %1 does not have activities enabled.").arg(i.next())); + t.append(tr("
%1 does not provide activities.").arg(i.next())); } _ui->_bottomLabel->setTextFormat(Qt::RichText); _ui->_bottomLabel->setText(t);