[nautilus] Improve the alert text when trashing a remove file
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Improve the alert text when trashing a remove file
- Date: Tue, 14 Aug 2012 14:31:14 +0000 (UTC)
commit efbf42c9568f72805eb9b9f4d9761c4e4df5a5b6
Author: William Jon McCann <jmccann redhat com>
Date: Mon Aug 13 23:54:48 2012 -0400
Improve the alert text when trashing a remove file
https://bugzilla.gnome.org/show_bug.cgi?id=657461
libnautilus-private/nautilus-file-operations.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-operations.c b/libnautilus-private/nautilus-file-operations.c
index 58e787f..a7f415e 100644
--- a/libnautilus-private/nautilus-file-operations.c
+++ b/libnautilus-private/nautilus-file-operations.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]