From 0288eb774216e0e2925dcb31e2c1ddc6e190f35e Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Sat, 2 Feb 2013 12:15:30 -0500 Subject: [PATCH] Reword an alert prompt to be less detailed, but more correct. Resolves #6654. To note, AFAICT, this code block should never be executed. However, I did feel comfortable removing it, in case the location of Trash is relocated in the future. --- src/kits/tracker/FSUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp index b5821180d2..f001b29e0b 100644 --- a/src/kits/tracker/FSUtils.cpp +++ b/src/kits/tracker/FSUtils.cpp @@ -1915,8 +1915,8 @@ MoveEntryToTrash(BEntry* entry, BPoint* loc, Undo &undo) if (dir == trash_dir || dir.Contains(&trashEntry)) { BAlert* alert = new BAlert("", - B_TRANSLATE("You cannot put the Trash, home or Desktop " - "directory into the trash."), + B_TRANSLATE("You cannot put the selected item(s) " + "into the trash."), B_TRANSLATE("OK"), 0, 0, B_WIDTH_AS_USUAL, B_WARNING_ALERT); alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);