mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Reorganize messages to reflect page structure
This commit is contained in:
67
modules/webapp/src/main/elm/Messages/Comp/SourceForm.elm
Normal file
67
modules/webapp/src/main/elm/Messages/Comp/SourceForm.elm
Normal file
@ -0,0 +1,67 @@
|
||||
module Messages.Comp.SourceForm exposing (..)
|
||||
|
||||
import Data.Language exposing (Language)
|
||||
import Messages.Basics
|
||||
import Messages.Data.Language
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, name : String
|
||||
, description : String
|
||||
, enabled : String
|
||||
, priority : String
|
||||
, priorityInfo : String
|
||||
, metadata : String
|
||||
, metadataInfoText : String
|
||||
, folder : String
|
||||
, folderInfo : String
|
||||
, folderForbiddenText : String
|
||||
, tagsInfo : String
|
||||
, fileFilter : String
|
||||
, fileFilterInfo : String
|
||||
, language : String
|
||||
, languageInfo : String
|
||||
, languageLabel : Language -> String
|
||||
, selectPlaceholder : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, name = "Name"
|
||||
, description = "Description"
|
||||
, enabled = "Enabled"
|
||||
, priority = "Priority"
|
||||
, priorityInfo = "The priority used by the scheduler when processing uploaded files."
|
||||
, metadata = "Metadata"
|
||||
, metadataInfoText =
|
||||
"Metadata specified here is automatically attached to each item uploaded "
|
||||
++ "through this source, unless it is overriden in the upload request meta data. "
|
||||
++ "Tags from the request are added to those defined here."
|
||||
, folder = "Folder"
|
||||
, folderInfo = "Choose a folder to automatically put items into."
|
||||
, folderForbiddenText =
|
||||
"""
|
||||
You are **not a member** of this folder. Items created through this
|
||||
link will be **hidden** from any search results. Use a folder where
|
||||
you are a member of to make items visible. This message will
|
||||
disappear then.
|
||||
"""
|
||||
, tagsInfo = "Choose tags that should be applied to items."
|
||||
, fileFilter = "File Filter"
|
||||
, fileFilterInfo = """
|
||||
|
||||
Specify a file glob to filter files when uploading archives
|
||||
(e.g. for email and zip). For example, to only extract pdf files:
|
||||
`*.pdf`. Globs can be combined via OR, like this: `*.pdf|mail.html`.
|
||||
|
||||
"""
|
||||
, language = "Language"
|
||||
, languageInfo =
|
||||
"Used for text extraction and analysis. The collective's "
|
||||
++ "default language is used if not specified here."
|
||||
, languageLabel = Messages.Data.Language.gb
|
||||
, selectPlaceholder = "Select…"
|
||||
}
|
Reference in New Issue
Block a user