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.
This commit is contained in:
parent
ac78048b58
commit
0288eb7742
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user