aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androidsdkmanager.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2023-10-16 10:43:39 +0200
committerEike Ziller <[email protected]>2023-10-18 09:33:25 +0000
commite6ecfa051751dc6b9975c487afe49d062930c3e5 (patch)
treeea1c85a3397490b1730c301948b9793c39dd2576 /src/plugins/android/androidsdkmanager.cpp
parent5336fd83a004c1fe5265b9f9ba87320c031d2040 (diff)
Tr: Move some line endings at beginning and end out of tr
Change-Id: Ibb0aba4d6e58bfe4684a818a894876c1f8f7df15 Reviewed-by: <[email protected]> Reviewed-by: Jarek Kobus <[email protected]>
Diffstat (limited to 'src/plugins/android/androidsdkmanager.cpp')
-rw-r--r--src/plugins/android/androidsdkmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/android/androidsdkmanager.cpp b/src/plugins/android/androidsdkmanager.cpp
index ca0be7770c4..b0da90123e8 100644
--- a/src/plugins/android/androidsdkmanager.cpp
+++ b/src/plugins/android/androidsdkmanager.cpp
@@ -438,7 +438,7 @@ void AndroidSdkManagerPrivate::updateInstalled(SdkCmdPromise &promise)
if (result.stdError.isEmpty() && !result.success)
result.stdError = Tr::tr("Failed.");
- result.stdOutput = Tr::tr("Done\n\n");
+ result.stdOutput = Tr::tr("Done") + "\n\n";
promise.addResult(result);
promise.setProgressValue(100);
}
@@ -468,8 +468,8 @@ void AndroidSdkManagerPrivate::update(SdkCmdPromise &fi, const QStringList &inst
currentProgress += progressQuota;
fi.setProgressValue(currentProgress);
if (result.stdError.isEmpty() && !result.success)
- result.stdError = Tr::tr("AndroidSdkManager", "Failed");
- result.stdOutput = Tr::tr("AndroidSdkManager", "Done\n\n");
+ result.stdError = Tr::tr("Failed");
+ result.stdOutput = Tr::tr("Done") + "\n\n";
fi.addResult(result);
return fi.isCanceled();
};
@@ -569,7 +569,7 @@ void AndroidSdkManagerPrivate::getPendingLicense(SdkCmdPromise &fi)
m_licenseTextCache.clear();
result.success = licenseCommand.exitStatus() == QProcess::NormalExit;
if (!result.success)
- result.stdError = Tr::tr("License command failed.\n\n");
+ result.stdError = Tr::tr("License command failed.") + "\n\n";
fi.addResult(result);
fi.setProgressValue(100);
}