Commit efbf42c9 authored by William Jon McCann's avatar William Jon McCann

Improve the alert text when trashing a remove file

https://bugzilla.gnome.org/show_bug.cgi?id=657461
parent 92ba6ad2
......@@ -1804,11 +1804,14 @@ trash_files (CommonJob *job, GList *files, int *files_skipped)
goto skip;
}
primary = f (_("Cannot move file to trash, do you want to delete immediately?"));
secondary = f (_("The file \"%B\" cannot be moved to the trash."), file);
/* Translators: %B is a file name */
primary = f (_("\"%B\" can't be put in the trash. Do you want to delete it immediately?"), file);
details = NULL;
secondary = NULL;
if (!IS_IO_ERROR (error, NOT_SUPPORTED)) {
details = error->message;
} else if (!g_file_is_native (file)) {
secondary = f (_("This remote location does not support sending items to the trash."));
}
response = run_question (job,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment