From 57b5cd68a63ac168e68e8296a67153429e66e04b Mon Sep 17 00:00:00 2001 From: Sayan Bhattacharjee Date: Fri, 17 Feb 2023 18:54:29 +0530 Subject: window: fix incorrect string when moving files to trash When moving multiple files to trash, the toast currently says: "%d files deleted". However, "deleted" implies permanent loss of data. But, in this case, we are just moving files to the trash. This commit corrects the string to show the actual action: "%d files moved to trash". Also correct Translators comments to make it consistent with the action. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2830 --- src/nautilus-window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nautilus-window.c b/src/nautilus-window.c index 0033dcf5d..fabd70b0b 100644 --- a/src/nautilus-window.c +++ b/src/nautilus-window.c @@ -1184,15 +1184,15 @@ toast_undo_deleted_get_label (NautilusFileUndoInfo *undo_info) if (length == 1) { file_label = g_file_get_basename (files->data); - /* Translators: only one item has been deleted and %s is its name. */ + /* Translators: only one item has been moved to trash and %s is its name. */ label = g_markup_printf_escaped (_("ā€œ%sā€ moved to trash"), file_label); g_free (file_label); } else { - /* Translators: one or more items might have been deleted, and %d + /* Translators: one or more items might have been moved to trash, and %d * is the count. */ - label = g_markup_printf_escaped (ngettext ("%d file deleted", "%d files deleted", length), length); + label = g_markup_printf_escaped (ngettext ("%d file moved to trash", "%d files moved to trash", length), length); } return label; -- cgit v1.2.1