From 5b83dd2430f394e97c744d5bbda335816828d790 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 15 May 2024 08:56:07 +0200 Subject: [PATCH] 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 0e30918955eae566246b1bbd8deaef9f67ebaf07 Change-Id: I4f240d1e0e45f12ee3a7e88dd11a0b539557ab4e Reviewed-by: Marcus Tillmanns Reviewed-by: Leena Miettinen Reviewed-by: --- src/plugins/cmakeprojectmanager/fileapiparser.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/cmakeprojectmanager/fileapiparser.cpp b/src/plugins/cmakeprojectmanager/fileapiparser.cpp index f72bcd5a689..d404d124db8 100644 --- a/src/plugins/cmakeprojectmanager/fileapiparser.cpp +++ b/src/plugins/cmakeprojectmanager/fileapiparser.cpp @@ -874,10 +874,11 @@ FileApiData FileApiParser::parseData(QPromise> & 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; }