diff --git a/i18n/de/cosmic_files.ftl b/i18n/de/cosmic_files.ftl index e9b9d734..c32e8fe5 100644 --- a/i18n/de/cosmic_files.ftl +++ b/i18n/de/cosmic_files.ftl @@ -150,6 +150,7 @@ new-file = Neue Datei new-folder = Neuer Ordner open-in-terminal = Im Terminal öffnen move-to-trash = In den Papierkorb verschieben +permanently-delete = Dauerhaft löschen... restore-from-trash = Aus dem Papierkorb wiederherstellen remove-from-sidebar = Von der Seitenleiste entfernen sort-by-name = Nach Name sortieren diff --git a/i18n/en/cosmic_files.ftl b/i18n/en/cosmic_files.ftl index c51d273f..d767bbb2 100644 --- a/i18n/en/cosmic_files.ftl +++ b/i18n/en/cosmic_files.ftl @@ -152,6 +152,7 @@ new-file = New file... new-folder = New folder... open-in-terminal = Open in terminal move-to-trash = Move to trash +permanently-delete = Delete permanently... restore-from-trash = Restore from trash remove-from-sidebar = Remove from sidebar sort-by-name = Sort by name diff --git a/src/menu.rs b/src/menu.rs index b0aa3fc7..2b698e21 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -121,6 +121,8 @@ pub fn context_menu<'a>( children.push(menu_item(fl!("add-to-sidebar"), Action::AddToSidebar).into()); children.push(container(horizontal_rule(1)).padding([0, 8]).into()); children.push(menu_item(fl!("move-to-trash"), Action::MoveToTrash).into()); + children + .push(menu_item(fl!("permanently-delete"), Action::PermanentlyDelete).into()); } else { //TODO: need better designs for menu with no selection //TODO: have things like properties but they apply to the folder?