diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c index c7aae58a..9485b4ed 100644 --- a/thunar/thunar-file.c +++ b/thunar/thunar-file.c @@ -1071,6 +1071,8 @@ thunar_file_info_reload (ThunarFile *file, { if (strcmp (display_name, "/") == 0) file->display_name = g_strdup (_("File System")); + else if (strcmp (display_name, "Trash") == 0) + file->display_name = g_strdup (_("Trash")); else file->display_name = g_strdup (display_name); } diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c index d365d20f..50e3a094 100644 --- a/thunar/thunar-gio-extensions.c +++ b/thunar/thunar-gio-extensions.c @@ -237,6 +237,11 @@ thunar_g_file_get_display_name (GFile *file) display_name = g_strdup (_("File System")); g_free (base_name); } + else if (strcmp (base_name, "Trash") == 0) + { + display_name = g_strdup (_("Trash")); + g_free (base_name); + } else if (g_utf8_validate (base_name, -1, NULL)) { display_name = base_name; diff --git a/thunar/thunar-shortcuts-model.c b/thunar/thunar-shortcuts-model.c index ef2a5d26..bc845b18 100644 --- a/thunar/thunar-shortcuts-model.c +++ b/thunar/thunar-shortcuts-model.c @@ -1036,6 +1036,7 @@ thunar_shortcuts_model_shortcut_places (ThunarShortcutsModel *model) { shortcut = g_slice_new0 (ThunarShortcut); shortcut->group = THUNAR_SHORTCUT_GROUP_PLACES_TRASH; + shortcut->name = g_strdup (_("Trash")); shortcut->file = file; shortcut->hidden = thunar_shortcuts_model_get_hidden (model, shortcut); thunar_shortcuts_model_add_shortcut (model, shortcut);