mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 02:49:32 +00:00
102 lines
4.1 KiB
Elm
102 lines
4.1 KiB
Elm
{-
|
|
Copyright 2020 Docspell Contributors
|
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
-}
|
|
|
|
|
|
module Messages.Page.Home exposing
|
|
( Texts
|
|
, de
|
|
, gb
|
|
)
|
|
|
|
import Messages.Basics
|
|
import Messages.Comp.ItemCardList
|
|
import Messages.Comp.ItemMerge
|
|
import Messages.Comp.SearchStatsView
|
|
import Messages.Page.HomeSideMenu
|
|
|
|
|
|
type alias Texts =
|
|
{ basics : Messages.Basics.Texts
|
|
, itemCardList : Messages.Comp.ItemCardList.Texts
|
|
, searchStatsView : Messages.Comp.SearchStatsView.Texts
|
|
, sideMenu : Messages.Page.HomeSideMenu.Texts
|
|
, itemMerge : Messages.Comp.ItemMerge.Texts
|
|
, contentSearch : String
|
|
, searchInNames : String
|
|
, selectModeTitle : String
|
|
, fullHeightPreviewTitle : String
|
|
, fullWidthPreviewTitle : String
|
|
, 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
|
|
, exitSelectMode : String
|
|
, mergeItemsTitle : Int -> String
|
|
}
|
|
|
|
|
|
gb : Texts
|
|
gb =
|
|
{ basics = Messages.Basics.gb
|
|
, itemCardList = Messages.Comp.ItemCardList.gb
|
|
, searchStatsView = Messages.Comp.SearchStatsView.gb
|
|
, sideMenu = Messages.Page.HomeSideMenu.gb
|
|
, itemMerge = Messages.Comp.ItemMerge.gb
|
|
, contentSearch = "Content search…"
|
|
, searchInNames = "Search in names…"
|
|
, selectModeTitle = "Select Mode"
|
|
, fullHeightPreviewTitle = "Full height preview"
|
|
, fullWidthPreviewTitle = "Full width preview"
|
|
, 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"
|
|
, exitSelectMode = "Exit Select Mode"
|
|
, mergeItemsTitle = \n -> "Merge " ++ String.fromInt n ++ " selected items"
|
|
}
|
|
|
|
|
|
de : Texts
|
|
de =
|
|
{ basics = Messages.Basics.de
|
|
, itemCardList = Messages.Comp.ItemCardList.de
|
|
, searchStatsView = Messages.Comp.SearchStatsView.de
|
|
, sideMenu = Messages.Page.HomeSideMenu.de
|
|
, itemMerge = Messages.Comp.ItemMerge.de
|
|
, contentSearch = "Volltextsuche…"
|
|
, searchInNames = "Suche in Namen…"
|
|
, selectModeTitle = "Auswahlmodus"
|
|
, fullHeightPreviewTitle = "Vorschau in voller Höhe"
|
|
, fullWidthPreviewTitle = "Vorschau in voller Breite"
|
|
, 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"
|
|
, exitSelectMode = "Auswahlmodus verlassen"
|
|
, mergeItemsTitle = \n -> String.fromInt n ++ " gewählte Dokumente zusammenführen"
|
|
}
|