Tr: Move some line endings at beginning and end out of tr

Change-Id: Ibb0aba4d6e58bfe4684a818a894876c1f8f7df15
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Eike Ziller
2023-10-16 10:43:39 +02:00
parent 5336fd83a0
commit e6ecfa0517
10 changed files with 110 additions and 220 deletions

View File

@@ -290,9 +290,10 @@ void AndroidSdkManagerWidget::installEssentials()
void AndroidSdkManagerWidget::beginLicenseCheck()
{
m_formatter->appendMessage(Tr::tr("Checking pending licenses...\n"), NormalMessageFormat);
m_formatter->appendMessage(Tr::tr("Checking pending licenses...") + "\n", NormalMessageFormat);
m_formatter->appendMessage(Tr::tr("The installation of Android SDK packages may fail if the "
"respective licenses are not accepted.\n"),
"respective licenses are not accepted.")
+ "\n",
LogMessageFormat);
addPackageFuture(m_sdkManager->checkPendingLicenses());
}
@@ -302,7 +303,7 @@ void AndroidSdkManagerWidget::onApplyButton(const QString &extraMessage)
QTC_ASSERT(m_currentView == PackageListing, return);
if (m_sdkManager->isBusy()) {
m_formatter->appendMessage(Tr::tr("\nSDK Manager is busy."), StdErrFormat);
m_formatter->appendMessage("\n" + Tr::tr("SDK Manager is busy."), StdErrFormat);
return;
}
@@ -356,7 +357,7 @@ void AndroidSdkManagerWidget::onApplyButton(const QString &extraMessage)
void AndroidSdkManagerWidget::onUpdatePackages()
{
if (m_sdkManager->isBusy()) {
m_formatter->appendMessage(Tr::tr("\nSDK Manager is busy."), StdErrFormat);
m_formatter->appendMessage("\n" + Tr::tr("SDK Manager is busy."), StdErrFormat);
return;
}
switchView(Operations);