From kde-commits Tue Aug 31 23:51:36 2010 From: =?utf-8?q?Aaron=20J=2E=20Seigo?= Date: Tue, 31 Aug 2010 23:51:36 +0000 To: kde-commits Subject: KDE/kdebase/workspace/plasma/desktop/shell Message-Id: <20100831235136.1E11BAC857 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=128329848320202 SVN commit 1170454 by aseigo: include the plugin name for easier use in scripts M +2 -1 interactiveconsole.cpp --- trunk/KDE/kdebase/workspace/plasma/desktop/shell/interactiveconsole.cpp #1170453:1170454 @@ -312,7 +312,8 @@ Plasma::Package package(path, templateStructure); const QString scriptFile = package.filePath("mainscript"); if (!scriptFile.isEmpty()) { - QAction *action = m_snippetsMenu->addAction(info.name()); + QAction *action = m_snippetsMenu->addAction(i18nc("A script template name and the internal plugin name for use in the user's scripts", + "%1 (%2)", info.name(), info.pluginName())); action->setData(scriptFile); } }