]> git.sesse.net Git - kdenlive/blobdiff - src/documentchecker.cpp
Correctly use plural in i18n calls, add warning message when user wants to change...
[kdenlive] / src / documentchecker.cpp
index ef8e5bb54a590d95c2370ea5343730cf1cc6fbac..96af5e687d751ab33915dcfea4366fa3109a3a4c 100644 (file)
@@ -347,7 +347,7 @@ void DocumentChecker::checkStatus()
 
 void DocumentChecker::slotDeleteSelected()
 {
-    if (KMessageBox::warningContinueCancel(this, i18n("This will remove the selected clips from this project"), i18n("Remove clips")) == KMessageBox::Cancel) return;
+    if (KMessageBox::warningContinueCancel(this, i18np("This will remove the selected clip from this project", "This will remove the selected clips from this project", treeWidget->selectedItems().count()), i18n("Remove clips")) == KMessageBox::Cancel) return;
     int ix = 0;
     QStringList deletedIds;
     QTreeWidgetItem *child = treeWidget->topLevelItem(ix);