docspell/modules/webapp/src/main/elm/Messages/UiSettingsFormComp.elm
2021-04-04 22:07:37 +02:00

78 lines
3.0 KiB
Elm

module Messages.UiSettingsFormComp exposing (..)
import Data.Color exposing (Color)
import Data.Fields exposing (Field)
import Messages.ColorData
import Messages.FieldsData
type alias Texts =
{ general : String
, showSideMenuByDefault : String
, uiLanguage : String
, itemSearch : String
, maxResultsPerPageInfo : Int -> String
, showBasicSearchStatsByDefault : String
, enablePowerSearch : String
, itemCards : String
, maxNoteSizeInfo : Int -> String
, sizeOfItemPreview : String
, cardTitlePattern : String
, togglePatternHelpText : String
, cardSubtitlePattern : String
, searchMenu : String
, searchMenuTagCountInfo : String
, searchMenuCatCountInfo : String
, searchMenuFolderCountInfo : String
, itemDetail : String
, browserNativePdfView : String
, keyboardShortcutLabel : String
, tagCategoryColors : String
, colorLabel : Color -> String
, chooseTagColorLabel : String
, tagColorDescription : String
, fields : String
, fieldsInfo : String
, fieldLabel : Field -> String
}
gb : Texts
gb =
{ general = "General"
, showSideMenuByDefault = "Show side menu by default"
, uiLanguage = "UI Language"
, itemSearch = "Item Search"
, maxResultsPerPageInfo =
\max ->
"Maximum results in one page when searching items. At most "
++ String.fromInt max
++ "."
, showBasicSearchStatsByDefault = "Show basic search statistics by default"
, enablePowerSearch = "Enable power-user search bar"
, itemCards = "Item Cards"
, maxNoteSizeInfo =
\max ->
"Maximum size of the item notes to display in card view. Between 0 - "
++ String.fromInt max
++ "."
, sizeOfItemPreview = "Size of item preview"
, cardTitlePattern = "Card Title Pattern"
, togglePatternHelpText = "Toggle pattern help text"
, cardSubtitlePattern = "Card Subtitle Pattern"
, searchMenu = "Search Menu"
, searchMenuTagCountInfo = "How many tags to display in search menu at once. Others can be expanded. Use 0 to always show all."
, searchMenuCatCountInfo = "How many categories to display in search menu at once. Others can be expanded. Use 0 to always show all."
, searchMenuFolderCountInfo = "How many folders to display in search menu at once. Other folders can be expanded. Use 0 to always show all."
, itemDetail = "Item Detail"
, browserNativePdfView = "Browser-native PDF preview"
, keyboardShortcutLabel = "Use keyboard shortcuts for navigation and confirm/unconfirm with open edit menu."
, tagCategoryColors = "Tag Category Colors"
, colorLabel = Messages.ColorData.gb
, chooseTagColorLabel = "Choose color for tag categories"
, tagColorDescription = "Tags can be represented differently based on their category."
, fields = "Fields"
, fieldsInfo = "Choose which fields to display in search and edit menus."
, fieldLabel = Messages.FieldsData.gb
}