diff options
author | Eike Ziller <eike.ziller@qt.io> | 2023-02-14 16:14:08 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2023-02-15 12:45:48 +0000 |
commit | 379bf65e966f257175bb37122d333623d830d91e (patch) | |
tree | 21ec50117296672c6e8b9f94601c67a99156d4a3 /src/plugins/cmakeprojectmanager/fileapireader.cpp | |
parent | b2815c39b1508c2b50d382d76416725c4662dc5b (diff) | |
download | qt-creator-379bf65e966f257175bb37122d333623d830d91e.tar.gz |
Some fixes in translated strings
- doesn't make sense to translate "%1"
- showPreprocessedFile: "reason" contains full stop, put at the end
- add missing closing >
- remove whitespace at the end of translated string
- added missing quotes and full stops
- Remove some control text from tr
Change-Id: I5537c3d12d038e25e2209af1198129fbf959b43c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/fileapireader.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/fileapireader.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/cmakeprojectmanager/fileapireader.cpp b/src/plugins/cmakeprojectmanager/fileapireader.cpp index 7bbe0aa5f7..c6ee73d6ab 100644 --- a/src/plugins/cmakeprojectmanager/fileapireader.cpp +++ b/src/plugins/cmakeprojectmanager/fileapireader.cpp @@ -285,8 +285,8 @@ void FileApiReader::makeBackupConfiguration(bool store) replyPrev.removeRecursively(); QTC_CHECK(!replyPrev.exists()); if (!reply.renameFile(replyPrev)) - Core::MessageManager::writeFlashing(Tr::tr("Failed to rename %1 to %2.") - .arg(reply.toString(), replyPrev.toString())); + Core::MessageManager::writeFlashing(Tr::tr("Failed to rename \"%1\" to \"%2\".") + .arg(reply.toString(), replyPrev.toString())); } FilePath cmakeCacheTxt = m_parameters.buildDirectory.pathAppended("CMakeCache.txt"); @@ -296,9 +296,9 @@ void FileApiReader::makeBackupConfiguration(bool store) if (cmakeCacheTxt.exists()) if (!FileUtils::copyIfDifferent(cmakeCacheTxt, cmakeCacheTxtPrev)) - Core::MessageManager::writeFlashing(Tr::tr("Failed to copy %1 to %2.") - .arg(cmakeCacheTxt.toString(), cmakeCacheTxtPrev.toString())); - + Core::MessageManager::writeFlashing( + Tr::tr("Failed to copy \"%1\" to \"%2\".") + .arg(cmakeCacheTxt.toString(), cmakeCacheTxtPrev.toString())); } void FileApiReader::writeConfigurationIntoBuildDirectory(const QStringList &configurationArguments) |