Allow to restore deleted items in webui

This commit is contained in:
eikek
2021-08-14 16:46:04 +02:00
parent f999662905
commit 828e5cf703
8 changed files with 105 additions and 7 deletions

View File

@ -46,6 +46,7 @@ type alias Texts =
, sourceTab : String
, searchInItemSource : String
, direction : Direction -> String
, trashcan : String
}
@ -77,6 +78,7 @@ gb =
, sourceTab = "Source"
, searchInItemSource = "Search in item source"
, direction = Messages.Data.Direction.gb
, trashcan = "Trash"
}
@ -108,4 +110,5 @@ de =
, sourceTab = "Quelle"
, searchInItemSource = "Suche in Dokumentquelle"
, direction = Messages.Data.Direction.de
, trashcan = "Papierkorb"
}

View File

@ -30,9 +30,11 @@ type alias Texts =
, powerSearchPlaceholder : String
, reallyReprocessQuestion : String
, reallyDeleteQuestion : String
, reallyRestoreQuestion : String
, editSelectedItems : Int -> String
, reprocessSelectedItems : Int -> String
, deleteSelectedItems : Int -> String
, undeleteSelectedItems : Int -> String
, selectAllVisible : String
, selectNone : String
, resetSearchForm : String
@ -54,9 +56,11 @@ gb =
, powerSearchPlaceholder = "Search query "
, reallyReprocessQuestion = "Really reprocess all selected items? Metadata of unconfirmed items may change."
, reallyDeleteQuestion = "Really delete all selected items?"
, reallyRestoreQuestion = "Really restore all selected items?"
, editSelectedItems = \n -> "Edit " ++ String.fromInt n ++ " selected items"
, reprocessSelectedItems = \n -> "Reprocess " ++ String.fromInt n ++ " selected items"
, deleteSelectedItems = \n -> "Delete " ++ String.fromInt n ++ " selected items"
, undeleteSelectedItems = \n -> "Restore " ++ String.fromInt n ++ " selected items"
, selectAllVisible = "Select all visible"
, selectNone = "Select none"
, resetSearchForm = "Reset search form"
@ -78,9 +82,11 @@ de =
, powerSearchPlaceholder = "Suchanfrage"
, reallyReprocessQuestion = "Wirklich die gewählten Dokumente neu verarbeiten? Die Metadaten von nicht bestätigten Dokumenten können sich dabei ändern."
, reallyDeleteQuestion = "Wirklich alle gewählten Dokumente löschen?"
, reallyRestoreQuestion = "Wirklich alle gewählten Dokumente wiederherstellen?"
, editSelectedItems = \n -> "Ändere " ++ String.fromInt n ++ " gewählte Dokumente"
, reprocessSelectedItems = \n -> "Erneute Verarbeitung von " ++ String.fromInt n ++ " gewählten Dokumenten"
, deleteSelectedItems = \n -> "Lösche " ++ String.fromInt n ++ " gewählte Dokumente"
, undeleteSelectedItems = \n -> "Stelle " ++ String.fromInt n ++ " gewählte Dokumente wieder her"
, selectAllVisible = "Wähle alle Dokumente in der Liste"
, selectNone = "Wähle alle Dokumente ab"
, resetSearchForm = "Suchformular zurücksetzen"