comment not accurate afaict

This commit is contained in:
Aaron Seigo 2011-05-06 12:02:46 +02:00
parent 6112778ca1
commit 8a41ab7051
4 changed files with 0 additions and 8 deletions

View File

@ -465,8 +465,6 @@ void AbstractRunnerPrivate::setupScriptSupport()
QString translationsPath = package->filePath("translations"); QString translationsPath = package->filePath("translations");
if (!translationsPath.isEmpty()) { if (!translationsPath.isEmpty()) {
//FIXME: we should _probably_ use a KComponentData to segregate the applets
// from each other; but I want to get the basics working first :)
KGlobal::dirs()->addResourceDir("locale", translationsPath); KGlobal::dirs()->addResourceDir("locale", translationsPath);
KGlobal::locale()->insertCatalog(package->metadata().pluginName()); KGlobal::locale()->insertCatalog(package->metadata().pluginName());
} }

View File

@ -2686,8 +2686,6 @@ void AppletPrivate::setupScriptSupport()
QString translationsPath = package->filePath("translations"); QString translationsPath = package->filePath("translations");
if (!translationsPath.isEmpty()) { if (!translationsPath.isEmpty()) {
//FIXME: we should _probably_ use a KComponentData to segregate the applets
// from each other; but I want to get the basics working first :)
KGlobal::dirs()->addResourceDir("locale", translationsPath); KGlobal::dirs()->addResourceDir("locale", translationsPath);
KGlobal::locale()->insertCatalog(package->metadata().pluginName()); KGlobal::locale()->insertCatalog(package->metadata().pluginName());
} }

View File

@ -743,8 +743,6 @@ void DataEnginePrivate::setupScriptSupport()
QString translationsPath = package->filePath("translations"); QString translationsPath = package->filePath("translations");
if (!translationsPath.isEmpty()) { if (!translationsPath.isEmpty()) {
//FIXME: we should _probably_ use a KComponentData to segregate the applets
// from each other; but I want to get the basics working first :)
KGlobal::dirs()->addResourceDir("locale", translationsPath); KGlobal::dirs()->addResourceDir("locale", translationsPath);
KGlobal::locale()->insertCatalog(package->metadata().pluginName()); KGlobal::locale()->insertCatalog(package->metadata().pluginName());
} }

View File

@ -537,8 +537,6 @@ void WallpaperPrivate::setupScriptSupport()
QString translationsPath = package->filePath("translations"); QString translationsPath = package->filePath("translations");
if (!translationsPath.isEmpty()) { if (!translationsPath.isEmpty()) {
//FIXME: we should _probably_ use a KComponentData to segregate the applets
// from each other; but I want to get the basics working first :)
KGlobal::dirs()->addResourceDir("locale", translationsPath); KGlobal::dirs()->addResourceDir("locale", translationsPath);
KGlobal::locale()->insertCatalog(package->metadata().pluginName()); KGlobal::locale()->insertCatalog(package->metadata().pluginName());
} }