forked from qt-creator/qt-creator
CMake: Fix translatable string
Translatable strings should not start with a space, but always adding a
fixed string to an existing string is not a good thing to do in any case.
Languages/translators might have different opinions on this. There is no
good way to do this without breaking the original string, so just do it.
Amends 0e30918955
Change-Id: I4f240d1e0e45f12ee3a7e88dd11a0b539557ab4e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -874,10 +874,11 @@ FileApiData FileApiParser::parseData(QPromise<std::shared_ptr<FileApiQtcData>> &
|
||||
errorMessage);
|
||||
|
||||
if (codeModels.size() == 0) {
|
||||
errorMessage = Tr::tr("CMake project configuration failed. No CMake configuration for "
|
||||
"build type \"%1\" found.")
|
||||
//: General Messages refers to the output view
|
||||
errorMessage = Tr::tr(
|
||||
"CMake project configuration failed. No CMake configuration for "
|
||||
"build type \"%1\" found. Check General Messages for more information.")
|
||||
.arg(cmakeBuildType);
|
||||
errorMessage += Tr::tr(" Check General messages for more information.");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user