Commit 096f29e7 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Debug output needn't be translated.

GIT_SILENT
parent 24d4b124
Pipeline #138205 passed with stage
in 5 minutes and 40 seconds
......@@ -29,7 +29,7 @@ int main(int argc, char **argv)
IconsSettings settings;
if (settings.theme() == themeName) {
// In KNS this will be displayed as a warning in the UI
qCWarning(PLASMA_CHANGEICONS_DEBUG).noquote() << i18n("Icon theme is already used");
qCWarning(PLASMA_CHANGEICONS_DEBUG).noquote() << "Icon theme is already used";
} else {
settings.setTheme(themeName);
settings.save();
......
......@@ -328,7 +328,7 @@ void UserApplyJob::start()
QTemporaryFile file;
if (!file.open()) {
setErrorText(i18n("Failed to resize image: opening temp file failed"));
qCWarning(KCMUSERS) << i18n("Failed to resize image: opening temp file failed");
qCWarning(KCMUSERS) << "Failed to resize image: opening temp file failed";
KJob::setError(static_cast<int>(Error::UserFacing));
emitResult();
return;
......@@ -336,7 +336,7 @@ void UserApplyJob::start()
if (!scaled.save(&file, "png")) {
setErrorText(i18n("Failed to resize image: writing to temp file failed"));
qCWarning(KCMUSERS) << i18n("Failed to resize image: writing to temp file failed");
qCWarning(KCMUSERS) << "Failed to resize image: writing to temp file failed";
KJob::setError(static_cast<int>(Error::UserFacing));
emitResult();
return;
......
......@@ -58,7 +58,7 @@ void QalculateEngine::updateExchangeRates()
void QalculateEngine::updateResult(KJob *job)
{
if (job->error()) {
qDebug() << i18n("The exchange rates could not be updated. The following error has been reported: %1", job->errorString());
qDebug() << "The exchange rates could not be updated. The following error has been reported:" << job->errorString();
} else {
// the exchange rates have been successfully updated, now load them
CALCULATOR->loadExchangeRates();
......
......@@ -557,7 +557,7 @@ bool ScriptEngine::V1::loadTemplate(const QString &layout)
QFile file(scriptFile);
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
qCWarning(PLASMASHELL) << i18n("Unable to load script file: %1", path);
qCWarning(PLASMASHELL) << "Unable to load script file:" << path;
return false;
}
......
......@@ -1498,7 +1498,7 @@ void ShellCorona::executeSetupPlasmoidScript(Plasma::Containment *containment, P
QFile file(scriptFile);
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
qCWarning(PLASMASHELL) << i18n("Unable to load script file: %1", scriptFile);
qCWarning(PLASMASHELL) << "Unable to load script file: %1" << scriptFile;
Please register or sign in to reply
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment