From 9fce6a940f6cb45c1f008af582fdb665315a20fe Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 17 Jul 2008 18:25:50 +0000 Subject: [PATCH] one less string freeze todo svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833969 --- applet.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/applet.cpp b/applet.cpp index f25db4f49..bf3f98cda 100644 --- a/applet.cpp +++ b/applet.cpp @@ -952,9 +952,8 @@ void Applet::setGlobalShortcut(const KShortcut &shortcut) { if (!d->activationAction) { d->activationAction = new KAction(this); - //TODO: add better text when we aren't in a string freeze - d->activationAction->setText(name()); - d->activationAction->setObjectName(QString("Activate %1 Widget").arg(name())); // NO I18N + d->activationAction->setText(i18n("Activate %1 Widget").arg(name())); + d->activationAction->setObjectName(QString("activate widget %1").arg(name())); // NO I18N connect(d->activationAction, SIGNAL(triggered()), this, SIGNAL(activate())); connect(this, SIGNAL(activate()), this, SLOT(setFocus()));