--PackageMetadata
This commit is contained in:
parent
1ba57eb84c
commit
03b775fe0c
@ -741,10 +741,10 @@ void DataEnginePrivate::setupScriptSupport()
|
||||
<< ", main script is" << package->filePath("mainscript");
|
||||
*/
|
||||
|
||||
QString translationsPath = package->filePath("translations");
|
||||
const QString translationsPath = package->filePath("translations");
|
||||
if (!translationsPath.isEmpty()) {
|
||||
KGlobal::dirs()->addResourceDir("locale", translationsPath);
|
||||
KGlobal::locale()->insertCatalog(package->metadata().pluginName());
|
||||
KGlobal::locale()->insertCatalog(dataEngineDescription.pluginName());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user