summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSayan Bhattacharjee <bsayan8086@gmail.com>2023-02-17 18:54:29 +0530
committerCorey Berla <corey@berla.me>2023-04-24 22:40:41 +0000
commit57b5cd68a63ac168e68e8296a67153429e66e04b (patch)
tree24e92c5ef709ad386f18f2623e5e58f8595a039a
parentce4fbafde7a4e3f1fe66903524dcb19528d72124 (diff)
downloadnautilus-57b5cd68a63ac168e68e8296a67153429e66e04b.tar.gz
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
-rw-r--r--src/nautilus-window.c6
1 files 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;