[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/tools/plasmapkg
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2008-05-31 20:42:37
Message-ID: 1212266557.663866.16067.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 814980 by aacid:
Accept both the translated and untranslated version, else scripts/advancedUsers won't be happy
Hope this is ok for you Aaron.
CCMAIL: aseigo@kde.org
M +5 -5 main.cpp
--- trunk/KDE/kdebase/workspace/plasma/tools/plasmapkg/main.cpp #814979:814980
@@ -89,17 +89,17 @@
QString servicePrefix;
Plasma::PackageStructure *installer = new Plasma::PackageStructure();
- if (type == i18n("plasmoid")) {
+ if (type == i18n("plasmoid") || type == "plasmoid") {
packageRoot = "plasma/plasmoids/";
servicePrefix = "plasma-applet-";
- } else if (type == i18n("theme")) {
+ } else if (type == i18n("theme") || type == "theme") {
packageRoot = "desktoptheme/";
- } else if (type == i18n("wallpaper")) {
+ } else if (type == i18n("wallpaper") || type == "wallpaper") {
packageRoot = "wallpapers/";
- } else if (type == i18n("dataengine")) {
+ } else if (type == i18n("dataengine") || type == "dataengine") {
packageRoot = "plasma/dataengines/";
servicePrefix = "plasma-dataengine-";
- } else if (type == i18n("runner")) {
+ } else if (type == i18n("runner") || type == "runner") {
packageRoot = "plasma/runners/";
servicePrefix = "plasma-abstractrunner-";
} else {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic