Tr: Fix some source texts

Change-Id: I06458b177af2691a362368faed2b6bea3883a2f5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Jarek Kobus
2023-10-16 19:56:53 +02:00
parent aee3d93237
commit 5cb40870b1
5 changed files with 8 additions and 7 deletions

View File

@@ -333,8 +333,9 @@ FilePaths VcsManager::promptToDelete(IVersionControl *vc, const FilePaths &fileP
return fp.toUserOutput();
}).join("</li><li>") + "</li></ul>";
const QString title = Tr::tr("Version Control");
const QString msg = Tr::tr("Remove the following files from the version control system (%2)? "
"%1Note: This might remove the local file.").arg(fileListForUi, vc->displayName());
const QString msg = Tr::tr("Remove the following files from the version control system (%1)?")
.arg(vc->displayName())
+ fileListForUi + Tr::tr("Note: This might remove the local file.");
const QMessageBox::StandardButton button =
QMessageBox::question(ICore::dialogParent(), title, msg, QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
if (button != QMessageBox::Yes)