@@ -68,13 +68,13 @@ int main(int argc, char **argv)
}
}
}else{
ts<<i18n("You attempted to pass a file path, but this could not be resolved to a theme, and we will have to abort, due to having no theme to set")<<endl;
ts<<i18n("You attempted to pass a file path, but this could not be resolved to a theme, and we will have to abort, due to having no theme to set")<<Qt::endl;
exitCode=-1;
}
}
if(settings->theme()==requestedTheme){
ts<<i18n("The requested theme \"%1\" is already set as the window decoration theme.",requestedTheme)<<endl;
ts<<i18n("The requested theme \"%1\" is already set as the window decoration theme.",requestedTheme)<<Qt::endl;
// not an error condition, just nothing happens
}elseif(themeResolved){
intindex{-1};
...
...
@@ -97,18 +97,18 @@ int main(int argc, char **argv)
QStringLiteral("reloadConfig"));
QDBusConnection::sessionBus().send(message);
ts<<i18n("Successfully applied the cursor theme %1 to your current Plasma session",
ts<<i18n("Failed to save your theme settings - the reason is unknown, but this is an unrecoverable error. You may find that simply trying again will work.");
exitCode=-1;
}
}else{
ts<<i18n("Could not find theme \"%1\". The theme should be one of the following options: %2",requestedTheme,availableThemes.join(QStringLiteral(", ")))<<endl;
ts<<i18n("Could not find theme \"%1\". The theme should be one of the following options: %2",requestedTheme,availableThemes.join(QStringLiteral(", ")))<<Qt::endl;