diff --git a/gui/Workspace.cpp b/gui/Workspace.cpp --- a/gui/Workspace.cpp +++ b/gui/Workspace.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include #include "WorkSheet.h" @@ -290,8 +291,19 @@ WorkSheet *currentWorksheet = currentWorkSheet(); if(!currentWorksheet) return; - - KMessageBox::information(this, i18n("To propose the current custom tab as a new System Monitor tab, email
%2
to john.tapsell@kde.org
", currentWorksheet->fullFileName().section('/',0,-2), currentWorksheet->fullFileName()), i18n("Upload custom System Monitor tab"), QString(), KMessageBox::AllowLink); + KNSCore::Engine engine; + engine.init(QStringLiteral("ksysguard.knsrc")); + Q_ASSERT(engine.categories().size() == 1); + KMessageBox::information(this, + xi18nc("@info", + "You can publish your custom tab on the KDE Store in the %2 category." + "%3", + QStringLiteral("https://store.kde.org"), + engine.categories().at(0), + currentWorksheet->fullFileName()), + i18n("Upload custom System Monitor tab"), + QString(), + KMessageBox::AllowLink); } void Workspace::getHotNewWorksheet() {