Fix plasmapkg2 -t package for translated systems
We're comparing all package type arguments against translated and untranslated strings. For the simple "package" type packages, this was actually forgotten, so the english version would not work on non-English systems. CHANGELOG:Fix plasmapkg2 for translated systems Reviewed-by: notmart
This commit is contained in:
parent
1794d3c43f
commit
47206f89b1
@ -195,8 +195,8 @@ void PlasmaPkg::runMain()
|
||||
d->servicePrefix = "plasma-applet-";
|
||||
d->pluginTypes << "Plasma/Applet";
|
||||
d->pluginTypes << "Plasma/Containment";
|
||||
} else if (type.compare(i18nc("package type", "package"), Qt::CaseInsensitive) == 0 /*||
|
||||
type.compare("theme", Qt::CaseInsensitive) == 0*/) {
|
||||
} else if (type.compare(i18nc("package type", "package"), Qt::CaseInsensitive) == 0 ||
|
||||
type.compare("package", Qt::CaseInsensitive) == 0) {
|
||||
d->packageRoot = PLASMA_RELATIVE_DATA_INSTALL_DIR "/packages/";
|
||||
d->servicePrefix = "plasma-package-";
|
||||
d->pluginTypes << "Plasma/Generic";
|
||||
|
Loading…
Reference in New Issue
Block a user