fix: Apply suggestions from code review (string changes)

Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2023-03-31 18:25:29 -07:00 committed by GitHub
parent 0c986ba4d0
commit 4df4b43900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1341,10 +1341,10 @@ void MainWindow::on_actionDeleteInstance_triggered()
if (!linkedInstances.empty()) { if (!linkedInstances.empty()) {
response = CustomMessageBox::selectable( response = CustomMessageBox::selectable(
this, tr("There are linked instances"), this, tr("There are linked instances"),
tr("The folowing Instance(s) might reference files in this instance:\n\n" tr("The folowing instance(s) might reference files in this instance:\n\n"
"%1\n\n" "%1\n\n"
"Deleting it could break the other instance(s), \n\n" "Deleting it could break the other instance(s), \n\n"
"Are you sure?").arg(linkedInstances.join("\n")), "Do you wish to proceed?").arg(linkedInstances.join("\n")),
QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No, QMessageBox::No QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No, QMessageBox::No
)->exec(); )->exec();
if (response != QMessageBox::Yes) if (response != QMessageBox::Yes)